renuo-cli 4.18.0 → 4.18.1

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: 9274f5e3f76a6fc8b38f2bcfbb958dc57d3f22dcff65c8f5f2ff88ded44a7110
4
- data.tar.gz: 47cd65170765517b17b1aea2ec401122f89ce224632d209b33ca1a1abbd9075e
3
+ metadata.gz: bae3114f37cfe01f2826e83aab108fe1c9b33a29da840214d768e9f18f418a1b
4
+ data.tar.gz: 83d9d199de7af9049419c2784c226a87eb1c749727982bdb31a4c237eb65355b
5
5
  SHA512:
6
- metadata.gz: 803d0f36fc550f57927e86b094f9d7523493e03948cdf7836a526e23ddf92025369a1ef72593b7d38b6221a99401ed30a7947e681cff39404717537dbc4d02d7
7
- data.tar.gz: ca5ed8907659e2be3f0c598329a4e5b53c0a0bc9a45983418585cee254ec3d099db67c58f0f95eb1491f48cafaf0381f6cef95c7b170dccb7451f42a54ba959c
6
+ metadata.gz: da97bacdee6165fb3f3702d41229cb00609a09a5fff479213bb3d8d31a21ceeaf9460454bb57385cc7f6d60d8d61a0e427fddb3c3fbe31fb8245bddd96e18a77
7
+ data.tar.gz: 2d8a90db015c046e86e4f0f1937d45d02c69b1e9d3d6829deb8128e65114bb5055af3778a4e441f7f75f0b7b0794f1aea7a6a9663a1607b5a7d15bbcf339716a
@@ -52,7 +52,7 @@ class Renuo::Cli::Commands::CheckDeploioStatus
52
52
  command = "nctl logs build -a #{@app} -p #{@project} -l 5000 --no-labels"
53
53
  stdout, stderr, status = Open3.capture3 command
54
54
 
55
- abort "error fetching build logs: #{stderr}" unless status.success?
55
+ puts "error fetching build logs: #{stderr}" unless status.success?
56
56
  stdout
57
57
  end
58
58
 
@@ -81,20 +81,22 @@ class Renuo::Cli::Commands::CheckDeploioStatus
81
81
  end
82
82
 
83
83
  def succeeded?(status, type) # rubocop:disable Metrics/MethodLength
84
+ time = "[#{Time.now.utc.iso8601}]"
85
+
84
86
  case status
85
87
  when "available", "success"
86
- puts "#{type} succeeded"
88
+ puts "#{time} #{type} succeeded"
87
89
  true
88
90
  when "superseded"
89
- puts "release was superseded"
91
+ puts "#{time} release was superseded"
90
92
  true
91
93
  when "paused"
92
- abort "app is paused"
94
+ abort "#{time} app is paused"
93
95
  when "error", "failed", "failure"
94
96
  puts fetch_build_logs
95
- abort "#{type} failed"
97
+ abort "#{time} #{type} failed"
96
98
  else
97
- puts "#{type} status is #{status}, waiting..."
99
+ puts "#{time} #{type} status is #{status}, waiting..."
98
100
  instance_variable_set :"@#{type}", nil
99
101
  end
100
102
  end
@@ -3,7 +3,7 @@
3
3
  # :nocov:
4
4
  module Renuo
5
5
  class Cli
6
- VERSION = "4.18.0"
6
+ VERSION = "4.18.1"
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.18.0
4
+ version: 4.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renuo AG