File tree Expand file tree Collapse file tree 4 files changed +27
-1
lines changed Expand file tree Collapse file tree 4 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1+ # 3.0.2
2+ - fix absence of tag raising an error in certain cases
3+
14# 3.0.1
25- ` bootstrap ` does not require a ` --tag ` option
36- ` run ` does not need require a ` --instance `
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ def initialize(name, options = {})
5555 @predeploy_commands = config . delete ( :predeploy_commands )
5656 @scale = config . delete ( :scale )
5757 @service_config = config . delete ( :service_config )
58+ @tag = config . delete ( :tag )
5859 @task_definition_config = config . delete ( :task_definition_config )
5960
6061 @env_files = Array . wrap ( config . delete ( :env_files ) || config . delete ( :env_file ) ) . map do |env_path |
Original file line number Diff line number Diff line change 11module Broadside
2- VERSION = '3.0.1 ' . freeze
2+ VERSION = '3.0.2 ' . freeze
33end
Original file line number Diff line number Diff line change 33describe Broadside ::Target do
44 include_context 'deploy configuration'
55
6+ describe '#initialize' do
7+ let ( :all_possible_options ) do
8+ {
9+ bootstrap_commands : [ ] ,
10+ cluster : 'some-cluster' ,
11+ command : %w( some command ) ,
12+ docker_image : 'lumoslabs/hello' ,
13+ env_file : '.env.test' ,
14+ predeploy_commands : [ ] ,
15+ scale : 9000 ,
16+ service_config : { } ,
17+ tag : 'latest' ,
18+ task_definition_config : { }
19+ }
20+ end
21+ let ( :target ) { described_class . new ( test_target_name , all_possible_options ) }
22+
23+ it 'should initialize without erroring using all possible options' do
24+ expect { target } . to_not raise_error
25+ end
26+ end
27+
628 shared_examples 'valid_configuration?' do |succeeds , config_hash |
729 let ( :valid_options ) { { scale : 100 } }
830 let ( :target ) { described_class . new ( test_target_name , valid_options . merge ( config_hash ) ) }
You can’t perform that action at this time.
0 commit comments