stack_master 1.13.0-x64-mingw32 → 1.13.1-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stack_master/cli.rb +4 -6
- data/lib/stack_master/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0755258ff7cba30456cd24938695d9a77c3adecd
|
4
|
+
data.tar.gz: e4b85c2320e76fdcbf1fb9a4fd1776abf37b6850
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f3016ebb8e05399a46ef049fc205e7a7e279454f065a9a4c69bb9242b0ab8365c23daea09b23d3f874026b4a27ec6a314d62940417ab9313d4fb57119747f83
|
7
|
+
data.tar.gz: 39a3377087ada41dff9b5e1072d3bdb7905b8e64e5231e82b214a37330e1f34208115ccf70385a5b84c7a72e11df053f97208427e19afe08c352ea8478b76992
|
data/lib/stack_master/cli.rb
CHANGED
@@ -211,7 +211,7 @@ module StackMaster
|
|
211
211
|
end
|
212
212
|
|
213
213
|
def execute_stacks_command(command, args, options)
|
214
|
-
|
214
|
+
success = true
|
215
215
|
config = load_config(options.config)
|
216
216
|
args = [nil, nil] if args.size == 0
|
217
217
|
args.each_slice(2) do |aliased_region, stack_name|
|
@@ -220,7 +220,7 @@ module StackMaster
|
|
220
220
|
stack_definitions = config.filter(region, stack_name)
|
221
221
|
if stack_definitions.empty?
|
222
222
|
StackMaster.stdout.puts "Could not find stack definition #{stack_name} in region #{region}"
|
223
|
-
|
223
|
+
success = false
|
224
224
|
end
|
225
225
|
stack_definitions = stack_definitions.select do |stack_definition|
|
226
226
|
StackStatus.new(config, stack_definition).changed?
|
@@ -228,12 +228,10 @@ module StackMaster
|
|
228
228
|
stack_definitions.each do |stack_definition|
|
229
229
|
StackMaster.cloud_formation_driver.set_region(stack_definition.region)
|
230
230
|
StackMaster.stdout.puts "Executing #{command.command_name} on #{stack_definition.stack_name} in #{stack_definition.region}"
|
231
|
-
|
231
|
+
success = false unless command.perform(config, stack_definition, options).success?
|
232
232
|
end
|
233
233
|
end
|
234
|
-
|
235
|
-
# fail command execution if something went wrong
|
236
|
-
@kernel.exit 1 unless command_results.all?
|
234
|
+
success
|
237
235
|
end
|
238
236
|
end
|
239
237
|
end
|
data/lib/stack_master/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stack_master
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.13.
|
4
|
+
version: 1.13.1
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Steve Hodgkiss
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-03-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|