prima-twig 1.3.6 → 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/twig-update-ami +2 -6
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 855e520881d7a9c2faa85d4668e57d46241f8bc5e5abaa48b44e1c5a439dd2d3
4
- data.tar.gz: 349e858361798828bfbea01261168d493aa2159cd31660507d48f4ab93a1a39a
3
+ metadata.gz: a95ae976ed363de270085df7243c4eb91ed3a081a19e4e695f252ce15666bec4
4
+ data.tar.gz: de8d04ef78a19770304483698c220a28eb8336d16ef7a8a09906556629f0aee3
5
5
  SHA512:
6
- metadata.gz: 32b620bca7588fbeef39f33f3b66a9a98cc50629a2ae543f630f154f84798a317fc616cdd959bfcaf3d98f502f42650b094c45b6c3e4555bdf7f8093944a1134
7
- data.tar.gz: b3d4d70db0f9f99c8635bcb33bb745b32268c5562f2a388901c61ef1ebf0793c40c65a1ccfb274eac84585c8d59f808b2262adc9dcbcfa1dc219373af6d51246
6
+ metadata.gz: 1c2bcf8e5f627d36dbd8330342a9e4263d3a5ff193f76ef1a9ff93df4e90d0d81d484a1eb3496d14173b325619f77882607ed2b79c7f13b1426702afe38e5264
7
+ data.tar.gz: 9af61547c40b6d1b04446de8139451de9e406dc6e88e9cdb3801c6543a261722d17e00ca2dc3a3e45ba79aa6c089db3957ef3c16b604bb20bae70e03bba55a45
@@ -39,15 +39,11 @@ class TwigUpdateAmi
39
39
  end
40
40
 
41
41
  update_stack_reuse_template(stack, stack_parameters)
42
+ # update stack sequentially to avoid alb throttling
43
+ wait_for_stack_ready(stack, %w[CREATE_FAILED ROLLBACK_IN_PROGRESS ROLLBACK_FAILED DELETE_IN_PROGRESS DELETE_FAILED DELETE_COMPLETE UPDATE_ROLLBACK_FAILED UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS UPDATE_ROLLBACK_COMPLETE ROLLBACK_COMPLETE])
42
44
  end
43
45
  end
44
46
 
45
- stacks.each do |stack|
46
- next if stack.include?('qa')
47
-
48
- wait_for_stack_ready(stack, %w[CREATE_FAILED ROLLBACK_IN_PROGRESS ROLLBACK_FAILED DELETE_IN_PROGRESS DELETE_FAILED DELETE_COMPLETE UPDATE_ROLLBACK_FAILED UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS UPDATE_ROLLBACK_COMPLETE ROLLBACK_COMPLETE])
49
- end
50
-
51
47
  output 'Saving new ami in ami_state.yml'.light_green
52
48
  File.open(@state_path, 'r') do |f|
53
49
  @config = YAML.load(f.read)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prima-twig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Giachino
@@ -316,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
316
316
  - !ruby/object:Gem::Version
317
317
  version: '0'
318
318
  requirements: []
319
- rubygems_version: 3.0.1
319
+ rubygems_version: 3.0.3
320
320
  signing_key:
321
321
  specification_version: 4
322
322
  summary: The Prima twig toolbelt