moonshot 2.0.0.beta4 → 2.0.0.beta5
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/lib/moonshot/tools/asg_rollout.rb +5 -4
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3bed21aa6648d36d20b9f47e6268e4e3c4bfd20d
|
|
4
|
+
data.tar.gz: f5ca370a156a28748f19616be28a024f806ccf10
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f349f6080008c8436de22f343fbf617027dcdf371882dce9b333d2e21f86422a5c05f3031205f7217f2037403b530f57af70e294daf3a49ad9858711b8d3cdb
|
|
7
|
+
data.tar.gz: 0ded82e8cffd9b798799c23f0b71fd153891b6a12b8ad0f0df5279340fcb9785c4c6e862dff7bb5526000b01fb6ea08b42519a54be1d28fd3d43994fecd1647b
|
|
@@ -130,15 +130,16 @@ module Moonshot
|
|
|
130
130
|
timeout = @config.terminate_when_timeout
|
|
131
131
|
|
|
132
132
|
loop do
|
|
133
|
-
|
|
133
|
+
if @config.terminate_when.call(he)
|
|
134
|
+
s.success "Completed TerminateWhen check for #{instance.blue}!"
|
|
135
|
+
break
|
|
136
|
+
end
|
|
134
137
|
sleep @config.terminate_when_delay
|
|
135
138
|
if Time.now.to_f - start > timeout
|
|
136
139
|
s.failure "TerminateWhen for #{instance.blue} did not complete in #{timeout} seconds!"
|
|
137
|
-
|
|
140
|
+
break
|
|
138
141
|
end
|
|
139
142
|
end
|
|
140
|
-
|
|
141
|
-
s.success "Completed TerminateWhen check for #{instance.blue}!"
|
|
142
143
|
end
|
|
143
144
|
end
|
|
144
145
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moonshot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.0.
|
|
4
|
+
version: 2.0.0.beta5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cloud Engineering <engineering@acquia.com>
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-02-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk
|
|
@@ -363,4 +363,3 @@ signing_key:
|
|
|
363
363
|
specification_version: 4
|
|
364
364
|
summary: A library and CLI tool for launching services into AWS
|
|
365
365
|
test_files: []
|
|
366
|
-
has_rdoc:
|