renuo-cli 4.21.1 → 4.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9120767921d12d64d169446d7dc3a7e0329f498e80fc5c4f4afca46583ff9418
|
|
4
|
+
data.tar.gz: e16008accec27c375cb831856ce4fb9acce1ac2630fcdae9dfffcbc0a9a63c2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 93c42b19caa65fb26adf806fe0079c842b6ed8661aaaa639ed5325bc4cd64d62d783363a6374db2aed5b3df50bc6769af4220b703359f75c0a38f5ef77dbc0c8
|
|
7
|
+
data.tar.gz: 3966f6f6510994401559c46b32931645d51f726d84a67a402977b5df6d9640b8e146c3208f04d54c05c3e0decee308c54da9a3c952a8ce6a068af637a2551c53
|
|
@@ -7,10 +7,11 @@ module Renuo::Cli::Commands::Ci
|
|
|
7
7
|
INTERVAL_IN_SECONDS = 5
|
|
8
8
|
|
|
9
9
|
command "ci check-deploio-status" do |c|
|
|
10
|
-
c.syntax = "renuo ci check-deploio-status"
|
|
10
|
+
c.syntax = "renuo ci check-deploio-status [options] <app-name>"
|
|
11
11
|
c.summary = "Checks the build and release status of the deployment."
|
|
12
12
|
c.description = c.summary
|
|
13
13
|
c.option "-p", "--project <name>", String, "The name of the project"
|
|
14
|
+
c.option "-g", "--git-revision <hash>", String, "The Git revision"
|
|
14
15
|
c.action { |args, options| new(args, options).run }
|
|
15
16
|
end
|
|
16
17
|
|
|
@@ -29,7 +30,7 @@ module Renuo::Cli::Commands::Ci
|
|
|
29
30
|
def initialize(args, options)
|
|
30
31
|
@app = args.first
|
|
31
32
|
@project = options.project
|
|
32
|
-
@revision = ENV.fetch("SEMAPHORE_GIT_SHA", nil)
|
|
33
|
+
@revision = options.git_revision || ENV.fetch("SEMAPHORE_GIT_SHA", nil)
|
|
33
34
|
|
|
34
35
|
abort "missing app name" unless @app
|
|
35
36
|
abort "missing project name" unless @project
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Renuo::Cli::Commands::Ci
|
|
4
4
|
class UpdateDeploioApp
|
|
5
5
|
command "ci update-deploio-app" do |c|
|
|
6
|
-
c.syntax = "renuo ci update-deploio-app"
|
|
6
|
+
c.syntax = "renuo ci update-deploio-app [options] <app-name>"
|
|
7
7
|
c.summary = "Updates a Deploio app."
|
|
8
8
|
c.description = c.summary
|
|
9
9
|
c.option "-d", "--docker", "If the app uses a Dockerfile"
|
data/lib/renuo/cli/version.rb
CHANGED