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: de8f99bc222386ca1ac0dd81b673d3a4382de875269d5df20aa06a3099ddef36
4
- data.tar.gz: 7c6a5239dba6bef5d5e7ce46c3da8f8c6a9e6a3ba28cbfea237743bd4a65e136
3
+ metadata.gz: 9120767921d12d64d169446d7dc3a7e0329f498e80fc5c4f4afca46583ff9418
4
+ data.tar.gz: e16008accec27c375cb831856ce4fb9acce1ac2630fcdae9dfffcbc0a9a63c2f
5
5
  SHA512:
6
- metadata.gz: 4fa9db9c017993228f783134a4bf03b11327436daadfcbb3dbc518519e017115b59011658e86d29147689fe0a1c5f1ecca975e45af36ed873d373379c8e4114a
7
- data.tar.gz: f9626e0a2508da563348ab54f35a361556466fe17d0bc37866d2f7eb7d3b3a070c3769e4145b94bd48e0718062fa9f31f871c64de070bea89b902a7e3d41e3dc
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"
@@ -3,7 +3,7 @@
3
3
  # :nocov:
4
4
  module Renuo
5
5
  class Cli
6
- VERSION = "4.21.1"
6
+ VERSION = "4.21.2"
7
7
  NAME = "renuo-cli"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renuo-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.21.1
4
+ version: 4.21.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renuo AG