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.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/stack_master/commands/terminal_helper.rb +14 -1
- data/lib/stack_master/parameter_resolvers/secret.rb +7 -2
- data/lib/stack_master/version.rb +1 -1
- metadata +21 -216
- data/.gitignore +0 -18
- data/.rspec +0 -2
- data/.travis.yml +0 -12
- data/CODE_OF_CONDUCT.md +0 -73
- data/Gemfile +0 -4
- data/LICENSE.txt +0 -22
- data/Rakefile +0 -27
- data/apply_demo.gif +0 -0
- data/example/simple/Gemfile +0 -3
- data/example/simple/parameters/myapp_vpc.yml +0 -1
- data/example/simple/parameters/myapp_web.yml +0 -2
- data/example/simple/stack_master.yml +0 -13
- data/example/simple/templates/myapp_vpc.rb +0 -39
- data/example/simple/templates/myapp_web.rb +0 -16
- data/features/apply.feature +0 -392
- data/features/apply_with_compile_time_parameters.feature +0 -93
- data/features/apply_with_env_parameters.feature +0 -49
- data/features/apply_with_parameter_store_parameters.feature +0 -47
- data/features/apply_with_s3.feature +0 -106
- data/features/delete.feature +0 -29
- data/features/diff.feature +0 -179
- data/features/events.feature +0 -33
- data/features/init.feature +0 -6
- data/features/outputs.feature +0 -45
- data/features/region_aliases.feature +0 -62
- data/features/resources.feature +0 -42
- data/features/stack_defaults.feature +0 -82
- data/features/status.feature +0 -118
- data/features/step_definitions/parameter_store_steps.rb +0 -14
- data/features/step_definitions/stack_steps.rb +0 -71
- data/features/support/env.rb +0 -16
- data/features/validate.feature +0 -46
- data/logo.png +0 -0
- data/script/buildkite/bundle.sh +0 -5
- data/script/buildkite/clean.sh +0 -3
- data/script/buildkite_rspec.sh +0 -27
- data/spec/fixtures/parameters/myapp_vpc.yml +0 -1
- data/spec/fixtures/parameters/myapp_vpc_with_secrets.yml +0 -3
- data/spec/fixtures/sparkle_pack_integration/my_sparkle_pack/lib/my_sparkle_pack.rb +0 -1
- data/spec/fixtures/sparkle_pack_integration/my_sparkle_pack/lib/sparkleformation/dynamics/my_dynamic.rb +0 -5
- data/spec/fixtures/sparkle_pack_integration/templates/dynamics/local_dynamic.rb +0 -5
- data/spec/fixtures/sparkle_pack_integration/templates/template_with_dynamic.rb +0 -3
- data/spec/fixtures/sparkle_pack_integration/templates/template_with_dynamic_from_pack.rb +0 -3
- data/spec/fixtures/stack_master.yml +0 -49
- data/spec/fixtures/templates/json/valid_myapp_vpc.json +0 -53
- data/spec/fixtures/templates/myapp_vpc.json +0 -1
- data/spec/fixtures/templates/rb/cfndsl/sample.json +0 -28
- data/spec/fixtures/templates/rb/cfndsl/sample.rb +0 -16
- data/spec/fixtures/templates/yml/valid_myapp_vpc.yml +0 -35
- data/spec/fixtures/test/.gitkeep +0 -0
- data/spec/spec_helper.rb +0 -102
- data/spec/stack_master/aws_driver/s3_spec.rb +0 -130
- data/spec/stack_master/change_set_spec.rb +0 -70
- data/spec/stack_master/command_spec.rb +0 -66
- data/spec/stack_master/commands/apply_spec.rb +0 -259
- data/spec/stack_master/commands/delete_spec.rb +0 -40
- data/spec/stack_master/commands/init_spec.rb +0 -17
- data/spec/stack_master/commands/status_spec.rb +0 -44
- data/spec/stack_master/commands/validate_spec.rb +0 -27
- data/spec/stack_master/config_spec.rb +0 -153
- data/spec/stack_master/paged_response_accumulator_spec.rb +0 -39
- data/spec/stack_master/parameter_loader_spec.rb +0 -110
- data/spec/stack_master/parameter_resolver_spec.rb +0 -148
- data/spec/stack_master/parameter_resolvers/ami_finder_spec.rb +0 -68
- data/spec/stack_master/parameter_resolvers/env_spec.rb +0 -35
- data/spec/stack_master/parameter_resolvers/latest_ami_by_tags_spec.rb +0 -33
- data/spec/stack_master/parameter_resolvers/latest_ami_spec.rb +0 -46
- data/spec/stack_master/parameter_resolvers/parameter_store_spec.rb +0 -50
- data/spec/stack_master/parameter_resolvers/secret_spec.rb +0 -66
- data/spec/stack_master/parameter_resolvers/security_group_spec.rb +0 -19
- data/spec/stack_master/parameter_resolvers/security_groups_spec.rb +0 -32
- data/spec/stack_master/parameter_resolvers/sns_topic_name_spec.rb +0 -43
- data/spec/stack_master/parameter_resolvers/stack_output_spec.rb +0 -127
- data/spec/stack_master/prompter_spec.rb +0 -23
- data/spec/stack_master/resolver_array_spec.rb +0 -42
- data/spec/stack_master/security_group_finder_spec.rb +0 -49
- data/spec/stack_master/sns_topic_finder_spec.rb +0 -25
- data/spec/stack_master/sparkle_formation/compile_time/allowed_pattern_validator_spec.rb +0 -47
- data/spec/stack_master/sparkle_formation/compile_time/allowed_values_validator_spec.rb +0 -47
- data/spec/stack_master/sparkle_formation/compile_time/definitions_validator_spec.rb +0 -36
- data/spec/stack_master/sparkle_formation/compile_time/empty_validator_spec.rb +0 -47
- data/spec/stack_master/sparkle_formation/compile_time/max_length_validator_spec.rb +0 -37
- data/spec/stack_master/sparkle_formation/compile_time/max_size_validator_spec.rb +0 -27
- data/spec/stack_master/sparkle_formation/compile_time/min_length_validator_spec.rb +0 -36
- data/spec/stack_master/sparkle_formation/compile_time/min_size_validator_spec.rb +0 -28
- data/spec/stack_master/sparkle_formation/compile_time/number_validator_spec.rb +0 -41
- data/spec/stack_master/sparkle_formation/compile_time/parameters_validator_spec.rb +0 -65
- data/spec/stack_master/sparkle_formation/compile_time/state_builder_spec.rb +0 -28
- data/spec/stack_master/sparkle_formation/compile_time/string_validator_spec.rb +0 -35
- data/spec/stack_master/sparkle_formation/compile_time/value_build_spec.rb +0 -52
- data/spec/stack_master/sparkle_formation/compile_time/value_validator_factory_spec.rb +0 -40
- data/spec/stack_master/sparkle_formation/template_file_spec.rb +0 -147
- data/spec/stack_master/stack_definition_spec.rb +0 -70
- data/spec/stack_master/stack_differ_spec.rb +0 -46
- data/spec/stack_master/stack_events/fetcher_spec.rb +0 -40
- data/spec/stack_master/stack_events/presenter_spec.rb +0 -18
- data/spec/stack_master/stack_events/streamer_spec.rb +0 -47
- data/spec/stack_master/stack_spec.rb +0 -184
- data/spec/stack_master/template_compiler_spec.rb +0 -39
- data/spec/stack_master/template_compilers/cfndsl_spec.rb +0 -22
- data/spec/stack_master/template_compilers/json_spec.rb +0 -32
- data/spec/stack_master/template_compilers/sparkle_formation_spec.rb +0 -116
- data/spec/stack_master/template_compilers/yaml_spec.rb +0 -20
- data/spec/stack_master/template_utils_spec.rb +0 -21
- data/spec/stack_master/test_driver/cloud_formation_spec.rb +0 -64
- data/spec/stack_master/test_driver/s3_spec.rb +0 -17
- data/spec/stack_master/utils_spec.rb +0 -30
- data/spec/stack_master/validator_spec.rb +0 -56
- data/spec/stack_master_spec.rb +0 -81
- data/spec/support/gemfiles/Gemfile.activesupport-4.0.0 +0 -5
- data/spec/support/validator_spec.rb +0 -23
- data/stack_master.gemspec +0 -46
- data/stacktemplates/parameter_region.yml +0 -3
- data/stacktemplates/parameter_stack_name.yml +0 -3
- data/stacktemplates/stack.json.erb +0 -20
- data/stacktemplates/stack_master.yml.erb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d216bf1e417bc7697836e0230001c1749003c2283f445949c421b6d4b0563531
|
4
|
+
data.tar.gz: f6ed61cce6faf2db17bbed962468566c2595539825ff55b28c47b88010bb3085
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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") {
|
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 '
|
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
|
-
|
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)
|
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.
|
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-
|
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:
|
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:
|
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:
|
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:
|
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
data/.rspec
DELETED
data/.travis.yml
DELETED
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
|