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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8b4a37d01ef907f898f0287766c0dd1be73c55a35516e54adda7b1b3c5b798c9
|
|
4
|
+
data.tar.gz: 12e28effd0aaf9a7aaf52dd297a7ef6412f24514ed3940c34649ecf9b968f27b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
|
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
|
data/lib/renuo/cli/version.rb
CHANGED