renuo-cli 4.26.0 → 4.27.0

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: a823ac452e481aaafeb80aa230d417055acf874c70a08afbd6d056f80aac1db4
4
- data.tar.gz: fd9b71e0470b1ba2b482654c899b89534f413e53e37196592882294a2e5f8998
3
+ metadata.gz: 8b4a37d01ef907f898f0287766c0dd1be73c55a35516e54adda7b1b3c5b798c9
4
+ data.tar.gz: 12e28effd0aaf9a7aaf52dd297a7ef6412f24514ed3940c34649ecf9b968f27b
5
5
  SHA512:
6
- metadata.gz: 5e9a521994e153153c4c62f93cac995ac23566b7f6a6808d32dccb5429fe2d9b9e12c99c5530ac8f3fb2177c595f421b39b6d49f51ab9881d594879dad579a31
7
- data.tar.gz: baafab1e50838ff227a8afa97b294f6989e9e252afade2965d46175e47dd4bbd122e1ecde139e3a3c23abce6be7f886aa0bd1714b58be490f4b1820c33f407f0
6
+ metadata.gz: e400a1dd7cc3d3287d478bd4b52ae5964af1dca75138b680368eb5192ae3c57fda3a1924ea168b8c1ec21bd9cc7ca63b23b787d2484361e6e6dfcc9ee8f768ed
7
+ data.tar.gz: 517ba241db1d5bee9ae502e1a71847e7196447c53e84721cd2ce92e3b1452c1630d3331aae76cc5ae085f22289a67a4a35ad7f85fe48bccb8ca4368e8ee06b06
@@ -18,7 +18,8 @@ module Renuo::Cli::Commands::Ci
18
18
 
19
19
  def run
20
20
  puts "[RENUO-CLI] (1/2) Checking build status for revision #{@revision}..."
21
- succeeded = with_streamed_build_logs { poll_build }
21
+ puts "[RENUO-CLI] Waiting for build to start..."
22
+ succeeded = poll { build } && with_streamed_build_logs { poll_build }
22
23
  abort "[RENUO-CLI] build check timed out after #{TIMEOUT_IN_SECONDS} seconds" unless succeeded
23
24
 
24
25
  puts "[RENUO-CLI] (2/2) Checking release status for build #{build_name}..."
@@ -51,7 +52,7 @@ module Renuo::Cli::Commands::Ci
51
52
 
52
53
  def with_streamed_build_logs
53
54
  pid = Process.spawn(
54
- "nctl logs application #{@app} -p #{@project} --type=build -f --lines=100 --since 15m --no-labels",
55
+ "nctl logs build #{build_name} -a #{@app} -p #{@project} -f --lines=100 --no-labels",
55
56
  out: $stdout, err: $stdout
56
57
  )
57
58
  yield
@@ -119,7 +120,6 @@ module Renuo::Cli::Commands::Ci
119
120
 
120
121
  def poll_build
121
122
  poll do
122
- next puts("[RENUO-CLI] no matching build found, waiting...") unless build
123
123
  next true if succeeded?("build", build_name, build_status)
124
124
 
125
125
  @build = nil
@@ -24,6 +24,7 @@ global_job_config:
24
24
  - source .semaphore/bin/cache_restore rails
25
25
  - bundle config set deployment 'true'
26
26
  - bundle config set path 'vendor/bundle'
27
+ - bundle config set clean 'true'
27
28
  - bundle install --retry 3
28
29
 
29
30
  blocks:
@@ -3,7 +3,7 @@
3
3
  # simplecov:disable
4
4
  module Renuo
5
5
  class Cli
6
- VERSION = "4.26.0"
6
+ VERSION = "4.27.0"
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.26.0
4
+ version: 4.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renuo AG