ufo 4.1.8 → 4.1.9
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/ufo/task.rb +6 -1
- data/lib/ufo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 027df9548ff36814edabb306f479d724bf814e97e87fe4c1dcfadd174a1c3e6d
|
|
4
|
+
data.tar.gz: 11a709c1ff86f34775cb857c460d2bd0105cb634bcdacc802374d5611056835f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 13560ecfb4063f479b9af95c097a7d16747a5f87ee2191c8393f528d385845e0751b49a390c1208e03a9b8e2b1b78917c8ab76d19e99abb4658218d8bb8e08b9
|
|
7
|
+
data.tar.gz: 5d3b9b9eedf0c63fc892bbcc826bb8b1fd325285951ab687e0f03264c5c22e739e672ab3dd27614c6d7499d3f3ad543a2cea50c8aaa99e24a5cfa24703ebc42f
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
|
5
5
|
|
|
6
|
+
## [4.1.9]
|
|
7
|
+
- print Command failed if task fails
|
|
8
|
+
|
|
6
9
|
## [4.1.8]
|
|
7
10
|
- Merge pull request #59 from everplays/58-ability-to-wait-for-one-off-task-to-finish
|
|
8
11
|
- Merge pull request #60 from tongueroo/wait-exit-code
|
data/Gemfile.lock
CHANGED
data/lib/ufo/task.rb
CHANGED
|
@@ -210,7 +210,12 @@ module Ufo
|
|
|
210
210
|
puts
|
|
211
211
|
container = ecs.describe_tasks(cluster: @cluster, tasks: [task_arn]).tasks[0].containers[0]
|
|
212
212
|
|
|
213
|
-
container.exit_code.nil?
|
|
213
|
+
if container.exit_code.nil?
|
|
214
|
+
puts "Command failed!".colorize(:red)
|
|
215
|
+
1
|
|
216
|
+
else
|
|
217
|
+
container.exit_code
|
|
218
|
+
end
|
|
214
219
|
rescue Aws::Waiters::Errors::WaiterFailed
|
|
215
220
|
puts "It took longer than #{options[:timeout]} seconds to run #{command_in_human_readable_form} (#{task_arn})"
|
|
216
221
|
exit 1
|
data/lib/ufo/version.rb
CHANGED