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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2557552da037aededfb231abc424124468696796
4
- data.tar.gz: f6b27daafe20f163ebd8a6522cd7ace0871506e1
3
+ metadata.gz: 0755258ff7cba30456cd24938695d9a77c3adecd
4
+ data.tar.gz: e4b85c2320e76fdcbf1fb9a4fd1776abf37b6850
5
5
  SHA512:
6
- metadata.gz: 65e3f5f07fee57decf4f980f50cff794445488e04a32d1ba9e433e85c9d45d7eb2899f89b0230a6bf2e6fd7b81ad3de0429603fd04f3ba0342d63f2bd8f7415f
7
- data.tar.gz: 4cd1366e39ac30fd9c48c5e4724abb4d52a1ef66474c641689f42f95446f67a194fc5b2617660a48fe838d13023421b0f6b0d7bcbeebd60d4065173eecef1a7a
6
+ metadata.gz: 0f3016ebb8e05399a46ef049fc205e7a7e279454f065a9a4c69bb9242b0ab8365c23daea09b23d3f874026b4a27ec6a314d62940417ab9313d4fb57119747f83
7
+ data.tar.gz: 39a3377087ada41dff9b5e1072d3bdb7905b8e64e5231e82b214a37330e1f34208115ccf70385a5b84c7a72e11df053f97208427e19afe08c352ea8478b76992
@@ -211,7 +211,7 @@ module StackMaster
211
211
  end
212
212
 
213
213
  def execute_stacks_command(command, args, options)
214
- command_results = []
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
- command_results.push false
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
- command_results.push command.perform(config, stack_definition, options).success?
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
@@ -1,3 +1,3 @@
1
1
  module StackMaster
2
- VERSION = "1.13.0"
2
+ VERSION = "1.13.1"
3
3
  end
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.0
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-02-17 00:00:00.000000000 Z
12
+ date: 2019-03-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler