stack_master 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -0
  3. data/lib/stack_master/commands/terminal_helper.rb +14 -1
  4. data/lib/stack_master/parameter_resolvers/secret.rb +7 -2
  5. data/lib/stack_master/version.rb +1 -1
  6. metadata +21 -216
  7. data/.gitignore +0 -18
  8. data/.rspec +0 -2
  9. data/.travis.yml +0 -12
  10. data/CODE_OF_CONDUCT.md +0 -73
  11. data/Gemfile +0 -4
  12. data/LICENSE.txt +0 -22
  13. data/Rakefile +0 -27
  14. data/apply_demo.gif +0 -0
  15. data/example/simple/Gemfile +0 -3
  16. data/example/simple/parameters/myapp_vpc.yml +0 -1
  17. data/example/simple/parameters/myapp_web.yml +0 -2
  18. data/example/simple/stack_master.yml +0 -13
  19. data/example/simple/templates/myapp_vpc.rb +0 -39
  20. data/example/simple/templates/myapp_web.rb +0 -16
  21. data/features/apply.feature +0 -392
  22. data/features/apply_with_compile_time_parameters.feature +0 -93
  23. data/features/apply_with_env_parameters.feature +0 -49
  24. data/features/apply_with_parameter_store_parameters.feature +0 -47
  25. data/features/apply_with_s3.feature +0 -106
  26. data/features/delete.feature +0 -29
  27. data/features/diff.feature +0 -179
  28. data/features/events.feature +0 -33
  29. data/features/init.feature +0 -6
  30. data/features/outputs.feature +0 -45
  31. data/features/region_aliases.feature +0 -62
  32. data/features/resources.feature +0 -42
  33. data/features/stack_defaults.feature +0 -82
  34. data/features/status.feature +0 -118
  35. data/features/step_definitions/parameter_store_steps.rb +0 -14
  36. data/features/step_definitions/stack_steps.rb +0 -71
  37. data/features/support/env.rb +0 -16
  38. data/features/validate.feature +0 -46
  39. data/logo.png +0 -0
  40. data/script/buildkite/bundle.sh +0 -5
  41. data/script/buildkite/clean.sh +0 -3
  42. data/script/buildkite_rspec.sh +0 -27
  43. data/spec/fixtures/parameters/myapp_vpc.yml +0 -1
  44. data/spec/fixtures/parameters/myapp_vpc_with_secrets.yml +0 -3
  45. data/spec/fixtures/sparkle_pack_integration/my_sparkle_pack/lib/my_sparkle_pack.rb +0 -1
  46. data/spec/fixtures/sparkle_pack_integration/my_sparkle_pack/lib/sparkleformation/dynamics/my_dynamic.rb +0 -5
  47. data/spec/fixtures/sparkle_pack_integration/templates/dynamics/local_dynamic.rb +0 -5
  48. data/spec/fixtures/sparkle_pack_integration/templates/template_with_dynamic.rb +0 -3
  49. data/spec/fixtures/sparkle_pack_integration/templates/template_with_dynamic_from_pack.rb +0 -3
  50. data/spec/fixtures/stack_master.yml +0 -49
  51. data/spec/fixtures/templates/json/valid_myapp_vpc.json +0 -53
  52. data/spec/fixtures/templates/myapp_vpc.json +0 -1
  53. data/spec/fixtures/templates/rb/cfndsl/sample.json +0 -28
  54. data/spec/fixtures/templates/rb/cfndsl/sample.rb +0 -16
  55. data/spec/fixtures/templates/yml/valid_myapp_vpc.yml +0 -35
  56. data/spec/fixtures/test/.gitkeep +0 -0
  57. data/spec/spec_helper.rb +0 -102
  58. data/spec/stack_master/aws_driver/s3_spec.rb +0 -130
  59. data/spec/stack_master/change_set_spec.rb +0 -70
  60. data/spec/stack_master/command_spec.rb +0 -66
  61. data/spec/stack_master/commands/apply_spec.rb +0 -259
  62. data/spec/stack_master/commands/delete_spec.rb +0 -40
  63. data/spec/stack_master/commands/init_spec.rb +0 -17
  64. data/spec/stack_master/commands/status_spec.rb +0 -44
  65. data/spec/stack_master/commands/validate_spec.rb +0 -27
  66. data/spec/stack_master/config_spec.rb +0 -153
  67. data/spec/stack_master/paged_response_accumulator_spec.rb +0 -39
  68. data/spec/stack_master/parameter_loader_spec.rb +0 -110
  69. data/spec/stack_master/parameter_resolver_spec.rb +0 -148
  70. data/spec/stack_master/parameter_resolvers/ami_finder_spec.rb +0 -68
  71. data/spec/stack_master/parameter_resolvers/env_spec.rb +0 -35
  72. data/spec/stack_master/parameter_resolvers/latest_ami_by_tags_spec.rb +0 -33
  73. data/spec/stack_master/parameter_resolvers/latest_ami_spec.rb +0 -46
  74. data/spec/stack_master/parameter_resolvers/parameter_store_spec.rb +0 -50
  75. data/spec/stack_master/parameter_resolvers/secret_spec.rb +0 -66
  76. data/spec/stack_master/parameter_resolvers/security_group_spec.rb +0 -19
  77. data/spec/stack_master/parameter_resolvers/security_groups_spec.rb +0 -32
  78. data/spec/stack_master/parameter_resolvers/sns_topic_name_spec.rb +0 -43
  79. data/spec/stack_master/parameter_resolvers/stack_output_spec.rb +0 -127
  80. data/spec/stack_master/prompter_spec.rb +0 -23
  81. data/spec/stack_master/resolver_array_spec.rb +0 -42
  82. data/spec/stack_master/security_group_finder_spec.rb +0 -49
  83. data/spec/stack_master/sns_topic_finder_spec.rb +0 -25
  84. data/spec/stack_master/sparkle_formation/compile_time/allowed_pattern_validator_spec.rb +0 -47
  85. data/spec/stack_master/sparkle_formation/compile_time/allowed_values_validator_spec.rb +0 -47
  86. data/spec/stack_master/sparkle_formation/compile_time/definitions_validator_spec.rb +0 -36
  87. data/spec/stack_master/sparkle_formation/compile_time/empty_validator_spec.rb +0 -47
  88. data/spec/stack_master/sparkle_formation/compile_time/max_length_validator_spec.rb +0 -37
  89. data/spec/stack_master/sparkle_formation/compile_time/max_size_validator_spec.rb +0 -27
  90. data/spec/stack_master/sparkle_formation/compile_time/min_length_validator_spec.rb +0 -36
  91. data/spec/stack_master/sparkle_formation/compile_time/min_size_validator_spec.rb +0 -28
  92. data/spec/stack_master/sparkle_formation/compile_time/number_validator_spec.rb +0 -41
  93. data/spec/stack_master/sparkle_formation/compile_time/parameters_validator_spec.rb +0 -65
  94. data/spec/stack_master/sparkle_formation/compile_time/state_builder_spec.rb +0 -28
  95. data/spec/stack_master/sparkle_formation/compile_time/string_validator_spec.rb +0 -35
  96. data/spec/stack_master/sparkle_formation/compile_time/value_build_spec.rb +0 -52
  97. data/spec/stack_master/sparkle_formation/compile_time/value_validator_factory_spec.rb +0 -40
  98. data/spec/stack_master/sparkle_formation/template_file_spec.rb +0 -147
  99. data/spec/stack_master/stack_definition_spec.rb +0 -70
  100. data/spec/stack_master/stack_differ_spec.rb +0 -46
  101. data/spec/stack_master/stack_events/fetcher_spec.rb +0 -40
  102. data/spec/stack_master/stack_events/presenter_spec.rb +0 -18
  103. data/spec/stack_master/stack_events/streamer_spec.rb +0 -47
  104. data/spec/stack_master/stack_spec.rb +0 -184
  105. data/spec/stack_master/template_compiler_spec.rb +0 -39
  106. data/spec/stack_master/template_compilers/cfndsl_spec.rb +0 -22
  107. data/spec/stack_master/template_compilers/json_spec.rb +0 -32
  108. data/spec/stack_master/template_compilers/sparkle_formation_spec.rb +0 -116
  109. data/spec/stack_master/template_compilers/yaml_spec.rb +0 -20
  110. data/spec/stack_master/template_utils_spec.rb +0 -21
  111. data/spec/stack_master/test_driver/cloud_formation_spec.rb +0 -64
  112. data/spec/stack_master/test_driver/s3_spec.rb +0 -17
  113. data/spec/stack_master/utils_spec.rb +0 -30
  114. data/spec/stack_master/validator_spec.rb +0 -56
  115. data/spec/stack_master_spec.rb +0 -81
  116. data/spec/support/gemfiles/Gemfile.activesupport-4.0.0 +0 -5
  117. data/spec/support/validator_spec.rb +0 -23
  118. data/stack_master.gemspec +0 -46
  119. data/stacktemplates/parameter_region.yml +0 -3
  120. data/stacktemplates/parameter_stack_name.yml +0 -3
  121. data/stacktemplates/stack.json.erb +0 -20
  122. data/stacktemplates/stack_master.yml.erb +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4717f389bdab361b692bbd63ec811403579d15fa9eb90b1def698324dcd4c418
4
- data.tar.gz: 5d453b1439f8f23a23140cfdab3a1f37b349ac2c15fba59df7338088a0a3712b
3
+ metadata.gz: d216bf1e417bc7697836e0230001c1749003c2283f445949c421b6d4b0563531
4
+ data.tar.gz: f6ed61cce6faf2db17bbed962468566c2595539825ff55b28c47b88010bb3085
5
5
  SHA512:
6
- metadata.gz: abe8716b51a8a14bdd7ce809c9a221c33c89045b82e93a1eddacd566997600300411a5679ffc6820d8dd4a832bb71b68bd4514afe493bf60c18a21899d3a8bdf
7
- data.tar.gz: f7d37b519f8867b287d454ad006b95c0a7c851eecf967e43ff3ef1b5f939f17a0a5036390b10e4fa53220e265aa61cbfb0e011b7c43415e553dab3053b16ee9f
6
+ metadata.gz: efd061aebfa9663472c30c6600cb23743c21c00a822b6c148fe450f95393adbc7ffdcb2a56d4763998dac5df8255affb82b65e0ae7e6e366501344c532598381
7
+ data.tar.gz: 1dc8add657de7383e1b104b75bea7edbf3ccb4e035cd581655192882be30e445c68955984f3bd39a01e79d26e47ecce508c8d365b5dcd5fc9379eaf89e3784fa
data/README.md CHANGED
@@ -211,6 +211,8 @@ into parameters of dependent stacks.
211
211
 
212
212
  ### Secret
213
213
 
214
+ Note: This resolver is not supported on Windows, you can instead use the [Parameter Store](#parameter-store).
215
+
214
216
  The secret parameters resolver expects a `secret_file` to be defined in the
215
217
  stack definition which is a GPG encrypted YAML file. Once decrypted and parsed,
216
218
  the value provided to the secret resolver is used to lookup the associated key
@@ -240,6 +242,7 @@ db_password:
240
242
  ```
241
243
 
242
244
  ### Parameter Store
245
+
243
246
  An alternative to the secrets store, uses the AWS SSM Parameter store to protect
244
247
  secrets. Expects a parameter of either `String` or `SecureString` type to be present in the
245
248
  same region as the stack. You can store the parameter using a command like this
@@ -1,8 +1,10 @@
1
+ require 'os'
2
+
1
3
  module StackMaster
2
4
  module Commands
3
5
  module TerminalHelper
4
6
  def window_size
5
- size = ENV.fetch("COLUMNS") { `tput cols`.chomp }
7
+ size = ENV.fetch("COLUMNS") { OS.windows? ? windows_window_size : unix_window_size }
6
8
 
7
9
  if size.nil? || size == ""
8
10
  80
@@ -10,6 +12,17 @@ module StackMaster
10
12
  size.to_i
11
13
  end
12
14
  end
15
+
16
+ def unix_window_size
17
+ `tput cols`.chomp
18
+ end
19
+
20
+ def windows_window_size
21
+ columns_regex = %r{^\s+Columns:\s+([0-9]+)$}
22
+ output = `mode con`
23
+ columns_line = output.split("\n").select { |line| line.match(columns_regex) }.last
24
+ columns_line.match(columns_regex)[1]
25
+ end
13
26
  end
14
27
  end
15
28
  end
@@ -1,11 +1,15 @@
1
- require 'dotgpg'
1
+ require 'os'
2
2
 
3
3
  module StackMaster
4
4
  module ParameterResolvers
5
5
  class Secret < Resolver
6
6
  SecretNotFound = Class.new(StandardError)
7
+ PlatformNotSupported = Class.new(StandardError)
7
8
 
8
- array_resolver
9
+ unless OS.windows?
10
+ require 'dotgpg'
11
+ array_resolver
12
+ end
9
13
 
10
14
  def initialize(config, stack_definition)
11
15
  @config = config
@@ -13,6 +17,7 @@ module StackMaster
13
17
  end
14
18
 
15
19
  def resolve(value)
20
+ raise PlatformNotSupported, "The GPG Secret Parameter Resolver does not support Windows" if OS.windows?
16
21
  secret_key = value
17
22
  raise ArgumentError, "No secret_file defined for stack definition #{@stack_definition.stack_name} in #{@stack_definition.region}" unless !@stack_definition.secret_file.nil?
18
23
  raise ArgumentError, "Could not find secret file at #{secret_file_path}" unless File.exist?(secret_file_path)
@@ -1,3 +1,3 @@
1
1
  module StackMaster
2
- VERSION = "1.5.0"
2
+ VERSION = "1.6.0"
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.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
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: 2018-05-07 00:00:00.000000000 Z
12
+ date: 2018-05-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -109,6 +109,20 @@ dependencies:
109
109
  - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
+ - !ruby/object:Gem::Dependency
113
+ name: os
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
112
126
  - !ruby/object:Gem::Dependency
113
127
  name: ruby-progressbar
114
128
  requirement: !ruby/object:Gem::Requirement
@@ -292,7 +306,7 @@ dependencies:
292
306
  - !ruby/object:Gem::Version
293
307
  version: '0'
294
308
  - !ruby/object:Gem::Dependency
295
- name: dotgpg
309
+ name: deep_merge
296
310
  requirement: !ruby/object:Gem::Requirement
297
311
  requirements:
298
312
  - - ">="
@@ -306,7 +320,7 @@ dependencies:
306
320
  - !ruby/object:Gem::Version
307
321
  version: '0'
308
322
  - !ruby/object:Gem::Dependency
309
- name: deep_merge
323
+ name: cfndsl
310
324
  requirement: !ruby/object:Gem::Requirement
311
325
  requirements:
312
326
  - - ">="
@@ -320,7 +334,7 @@ dependencies:
320
334
  - !ruby/object:Gem::Version
321
335
  version: '0'
322
336
  - !ruby/object:Gem::Dependency
323
- name: cfndsl
337
+ name: multi_json
324
338
  requirement: !ruby/object:Gem::Requirement
325
339
  requirements:
326
340
  - - ">="
@@ -334,7 +348,7 @@ dependencies:
334
348
  - !ruby/object:Gem::Version
335
349
  version: '0'
336
350
  - !ruby/object:Gem::Dependency
337
- name: multi_json
351
+ name: dotgpg
338
352
  requirement: !ruby/object:Gem::Requirement
339
353
  requirements:
340
354
  - - ">="
@@ -356,40 +370,8 @@ executables:
356
370
  extensions: []
357
371
  extra_rdoc_files: []
358
372
  files:
359
- - ".gitignore"
360
- - ".rspec"
361
- - ".travis.yml"
362
- - CODE_OF_CONDUCT.md
363
- - Gemfile
364
- - LICENSE.txt
365
373
  - README.md
366
- - Rakefile
367
- - apply_demo.gif
368
374
  - bin/stack_master
369
- - example/simple/Gemfile
370
- - example/simple/parameters/myapp_vpc.yml
371
- - example/simple/parameters/myapp_web.yml
372
- - example/simple/stack_master.yml
373
- - example/simple/templates/myapp_vpc.rb
374
- - example/simple/templates/myapp_web.rb
375
- - features/apply.feature
376
- - features/apply_with_compile_time_parameters.feature
377
- - features/apply_with_env_parameters.feature
378
- - features/apply_with_parameter_store_parameters.feature
379
- - features/apply_with_s3.feature
380
- - features/delete.feature
381
- - features/diff.feature
382
- - features/events.feature
383
- - features/init.feature
384
- - features/outputs.feature
385
- - features/region_aliases.feature
386
- - features/resources.feature
387
- - features/stack_defaults.feature
388
- - features/status.feature
389
- - features/step_definitions/parameter_store_steps.rb
390
- - features/step_definitions/stack_steps.rb
391
- - features/support/env.rb
392
- - features/validate.feature
393
375
  - lib/stack_master.rb
394
376
  - lib/stack_master/aws_driver/cloud_formation.rb
395
377
  - lib/stack_master/aws_driver/s3.rb
@@ -461,90 +443,6 @@ files:
461
443
  - lib/stack_master/utils.rb
462
444
  - lib/stack_master/validator.rb
463
445
  - lib/stack_master/version.rb
464
- - logo.png
465
- - script/buildkite/bundle.sh
466
- - script/buildkite/clean.sh
467
- - script/buildkite_rspec.sh
468
- - spec/fixtures/parameters/myapp_vpc.yml
469
- - spec/fixtures/parameters/myapp_vpc_with_secrets.yml
470
- - spec/fixtures/sparkle_pack_integration/my_sparkle_pack/lib/my_sparkle_pack.rb
471
- - spec/fixtures/sparkle_pack_integration/my_sparkle_pack/lib/sparkleformation/dynamics/my_dynamic.rb
472
- - spec/fixtures/sparkle_pack_integration/templates/dynamics/local_dynamic.rb
473
- - spec/fixtures/sparkle_pack_integration/templates/template_with_dynamic.rb
474
- - spec/fixtures/sparkle_pack_integration/templates/template_with_dynamic_from_pack.rb
475
- - spec/fixtures/stack_master.yml
476
- - spec/fixtures/templates/json/valid_myapp_vpc.json
477
- - spec/fixtures/templates/myapp_vpc.json
478
- - spec/fixtures/templates/rb/cfndsl/sample.json
479
- - spec/fixtures/templates/rb/cfndsl/sample.rb
480
- - spec/fixtures/templates/yml/valid_myapp_vpc.yml
481
- - spec/fixtures/test/.gitkeep
482
- - spec/spec_helper.rb
483
- - spec/stack_master/aws_driver/s3_spec.rb
484
- - spec/stack_master/change_set_spec.rb
485
- - spec/stack_master/command_spec.rb
486
- - spec/stack_master/commands/apply_spec.rb
487
- - spec/stack_master/commands/delete_spec.rb
488
- - spec/stack_master/commands/init_spec.rb
489
- - spec/stack_master/commands/status_spec.rb
490
- - spec/stack_master/commands/validate_spec.rb
491
- - spec/stack_master/config_spec.rb
492
- - spec/stack_master/paged_response_accumulator_spec.rb
493
- - spec/stack_master/parameter_loader_spec.rb
494
- - spec/stack_master/parameter_resolver_spec.rb
495
- - spec/stack_master/parameter_resolvers/ami_finder_spec.rb
496
- - spec/stack_master/parameter_resolvers/env_spec.rb
497
- - spec/stack_master/parameter_resolvers/latest_ami_by_tags_spec.rb
498
- - spec/stack_master/parameter_resolvers/latest_ami_spec.rb
499
- - spec/stack_master/parameter_resolvers/parameter_store_spec.rb
500
- - spec/stack_master/parameter_resolvers/secret_spec.rb
501
- - spec/stack_master/parameter_resolvers/security_group_spec.rb
502
- - spec/stack_master/parameter_resolvers/security_groups_spec.rb
503
- - spec/stack_master/parameter_resolvers/sns_topic_name_spec.rb
504
- - spec/stack_master/parameter_resolvers/stack_output_spec.rb
505
- - spec/stack_master/prompter_spec.rb
506
- - spec/stack_master/resolver_array_spec.rb
507
- - spec/stack_master/security_group_finder_spec.rb
508
- - spec/stack_master/sns_topic_finder_spec.rb
509
- - spec/stack_master/sparkle_formation/compile_time/allowed_pattern_validator_spec.rb
510
- - spec/stack_master/sparkle_formation/compile_time/allowed_values_validator_spec.rb
511
- - spec/stack_master/sparkle_formation/compile_time/definitions_validator_spec.rb
512
- - spec/stack_master/sparkle_formation/compile_time/empty_validator_spec.rb
513
- - spec/stack_master/sparkle_formation/compile_time/max_length_validator_spec.rb
514
- - spec/stack_master/sparkle_formation/compile_time/max_size_validator_spec.rb
515
- - spec/stack_master/sparkle_formation/compile_time/min_length_validator_spec.rb
516
- - spec/stack_master/sparkle_formation/compile_time/min_size_validator_spec.rb
517
- - spec/stack_master/sparkle_formation/compile_time/number_validator_spec.rb
518
- - spec/stack_master/sparkle_formation/compile_time/parameters_validator_spec.rb
519
- - spec/stack_master/sparkle_formation/compile_time/state_builder_spec.rb
520
- - spec/stack_master/sparkle_formation/compile_time/string_validator_spec.rb
521
- - spec/stack_master/sparkle_formation/compile_time/value_build_spec.rb
522
- - spec/stack_master/sparkle_formation/compile_time/value_validator_factory_spec.rb
523
- - spec/stack_master/sparkle_formation/template_file_spec.rb
524
- - spec/stack_master/stack_definition_spec.rb
525
- - spec/stack_master/stack_differ_spec.rb
526
- - spec/stack_master/stack_events/fetcher_spec.rb
527
- - spec/stack_master/stack_events/presenter_spec.rb
528
- - spec/stack_master/stack_events/streamer_spec.rb
529
- - spec/stack_master/stack_spec.rb
530
- - spec/stack_master/template_compiler_spec.rb
531
- - spec/stack_master/template_compilers/cfndsl_spec.rb
532
- - spec/stack_master/template_compilers/json_spec.rb
533
- - spec/stack_master/template_compilers/sparkle_formation_spec.rb
534
- - spec/stack_master/template_compilers/yaml_spec.rb
535
- - spec/stack_master/template_utils_spec.rb
536
- - spec/stack_master/test_driver/cloud_formation_spec.rb
537
- - spec/stack_master/test_driver/s3_spec.rb
538
- - spec/stack_master/utils_spec.rb
539
- - spec/stack_master/validator_spec.rb
540
- - spec/stack_master_spec.rb
541
- - spec/support/gemfiles/Gemfile.activesupport-4.0.0
542
- - spec/support/validator_spec.rb
543
- - stack_master.gemspec
544
- - stacktemplates/parameter_region.yml
545
- - stacktemplates/parameter_stack_name.yml
546
- - stacktemplates/stack.json.erb
547
- - stacktemplates/stack_master.yml.erb
548
446
  homepage: https://github.com/envato/stack_master
549
447
  licenses:
550
448
  - MIT
@@ -570,97 +468,4 @@ signing_key:
570
468
  specification_version: 4
571
469
  summary: StackMaster is a sure-footed way of creating, updating and keeping track
572
470
  of Amazon (AWS) CloudFormation stacks.
573
- test_files:
574
- - features/apply.feature
575
- - features/apply_with_compile_time_parameters.feature
576
- - features/apply_with_env_parameters.feature
577
- - features/apply_with_parameter_store_parameters.feature
578
- - features/apply_with_s3.feature
579
- - features/delete.feature
580
- - features/diff.feature
581
- - features/events.feature
582
- - features/init.feature
583
- - features/outputs.feature
584
- - features/region_aliases.feature
585
- - features/resources.feature
586
- - features/stack_defaults.feature
587
- - features/status.feature
588
- - features/step_definitions/parameter_store_steps.rb
589
- - features/step_definitions/stack_steps.rb
590
- - features/support/env.rb
591
- - features/validate.feature
592
- - spec/fixtures/parameters/myapp_vpc.yml
593
- - spec/fixtures/parameters/myapp_vpc_with_secrets.yml
594
- - spec/fixtures/sparkle_pack_integration/my_sparkle_pack/lib/my_sparkle_pack.rb
595
- - spec/fixtures/sparkle_pack_integration/my_sparkle_pack/lib/sparkleformation/dynamics/my_dynamic.rb
596
- - spec/fixtures/sparkle_pack_integration/templates/dynamics/local_dynamic.rb
597
- - spec/fixtures/sparkle_pack_integration/templates/template_with_dynamic.rb
598
- - spec/fixtures/sparkle_pack_integration/templates/template_with_dynamic_from_pack.rb
599
- - spec/fixtures/stack_master.yml
600
- - spec/fixtures/templates/json/valid_myapp_vpc.json
601
- - spec/fixtures/templates/myapp_vpc.json
602
- - spec/fixtures/templates/rb/cfndsl/sample.json
603
- - spec/fixtures/templates/rb/cfndsl/sample.rb
604
- - spec/fixtures/templates/yml/valid_myapp_vpc.yml
605
- - spec/fixtures/test/.gitkeep
606
- - spec/spec_helper.rb
607
- - spec/stack_master/aws_driver/s3_spec.rb
608
- - spec/stack_master/change_set_spec.rb
609
- - spec/stack_master/command_spec.rb
610
- - spec/stack_master/commands/apply_spec.rb
611
- - spec/stack_master/commands/delete_spec.rb
612
- - spec/stack_master/commands/init_spec.rb
613
- - spec/stack_master/commands/status_spec.rb
614
- - spec/stack_master/commands/validate_spec.rb
615
- - spec/stack_master/config_spec.rb
616
- - spec/stack_master/paged_response_accumulator_spec.rb
617
- - spec/stack_master/parameter_loader_spec.rb
618
- - spec/stack_master/parameter_resolver_spec.rb
619
- - spec/stack_master/parameter_resolvers/ami_finder_spec.rb
620
- - spec/stack_master/parameter_resolvers/env_spec.rb
621
- - spec/stack_master/parameter_resolvers/latest_ami_by_tags_spec.rb
622
- - spec/stack_master/parameter_resolvers/latest_ami_spec.rb
623
- - spec/stack_master/parameter_resolvers/parameter_store_spec.rb
624
- - spec/stack_master/parameter_resolvers/secret_spec.rb
625
- - spec/stack_master/parameter_resolvers/security_group_spec.rb
626
- - spec/stack_master/parameter_resolvers/security_groups_spec.rb
627
- - spec/stack_master/parameter_resolvers/sns_topic_name_spec.rb
628
- - spec/stack_master/parameter_resolvers/stack_output_spec.rb
629
- - spec/stack_master/prompter_spec.rb
630
- - spec/stack_master/resolver_array_spec.rb
631
- - spec/stack_master/security_group_finder_spec.rb
632
- - spec/stack_master/sns_topic_finder_spec.rb
633
- - spec/stack_master/sparkle_formation/compile_time/allowed_pattern_validator_spec.rb
634
- - spec/stack_master/sparkle_formation/compile_time/allowed_values_validator_spec.rb
635
- - spec/stack_master/sparkle_formation/compile_time/definitions_validator_spec.rb
636
- - spec/stack_master/sparkle_formation/compile_time/empty_validator_spec.rb
637
- - spec/stack_master/sparkle_formation/compile_time/max_length_validator_spec.rb
638
- - spec/stack_master/sparkle_formation/compile_time/max_size_validator_spec.rb
639
- - spec/stack_master/sparkle_formation/compile_time/min_length_validator_spec.rb
640
- - spec/stack_master/sparkle_formation/compile_time/min_size_validator_spec.rb
641
- - spec/stack_master/sparkle_formation/compile_time/number_validator_spec.rb
642
- - spec/stack_master/sparkle_formation/compile_time/parameters_validator_spec.rb
643
- - spec/stack_master/sparkle_formation/compile_time/state_builder_spec.rb
644
- - spec/stack_master/sparkle_formation/compile_time/string_validator_spec.rb
645
- - spec/stack_master/sparkle_formation/compile_time/value_build_spec.rb
646
- - spec/stack_master/sparkle_formation/compile_time/value_validator_factory_spec.rb
647
- - spec/stack_master/sparkle_formation/template_file_spec.rb
648
- - spec/stack_master/stack_definition_spec.rb
649
- - spec/stack_master/stack_differ_spec.rb
650
- - spec/stack_master/stack_events/fetcher_spec.rb
651
- - spec/stack_master/stack_events/presenter_spec.rb
652
- - spec/stack_master/stack_events/streamer_spec.rb
653
- - spec/stack_master/stack_spec.rb
654
- - spec/stack_master/template_compiler_spec.rb
655
- - spec/stack_master/template_compilers/cfndsl_spec.rb
656
- - spec/stack_master/template_compilers/json_spec.rb
657
- - spec/stack_master/template_compilers/sparkle_formation_spec.rb
658
- - spec/stack_master/template_compilers/yaml_spec.rb
659
- - spec/stack_master/template_utils_spec.rb
660
- - spec/stack_master/test_driver/cloud_formation_spec.rb
661
- - spec/stack_master/test_driver/s3_spec.rb
662
- - spec/stack_master/utils_spec.rb
663
- - spec/stack_master/validator_spec.rb
664
- - spec/stack_master_spec.rb
665
- - spec/support/gemfiles/Gemfile.activesupport-4.0.0
666
- - spec/support/validator_spec.rb
471
+ test_files: []
data/.gitignore DELETED
@@ -1,18 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
18
- /spec/examples.txt
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --require spec_helper
data/.travis.yml DELETED
@@ -1,12 +0,0 @@
1
- language: ruby
2
- matrix:
3
- include:
4
- - rvm: 2.1
5
- gemfile: spec/support/gemfiles/Gemfile.activesupport-4.0.0
6
- - rvm: 2.2
7
- - rvm: 2.3
8
- - rvm: 2.4
9
- - rvm: 2.5
10
- sudo: false
11
- script:
12
- - bundle exec rake spec features
data/CODE_OF_CONDUCT.md DELETED
@@ -1,73 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to making participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- education, socio-economic status, nationality, personal appearance, race,
10
- religion, or sexual identity and orientation.
11
-
12
- ## Our Standards
13
-
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
16
-
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
22
-
23
- Examples of unacceptable behavior by participants include:
24
-
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
33
-
34
- ## Our Responsibilities
35
-
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
39
-
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
54
-
55
- ## Enforcement
56
-
57
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at stackmaster@googlegroups.com. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
63
-
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
67
-
68
- ## Attribution
69
-
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72
-
73
- [homepage]: https://www.contributor-covenant.org