stack_master 0.7.1 → 0.7.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c7bca8cc5ad9464ac48f4584a1d85cd14bb8e0b
|
4
|
+
data.tar.gz: c39f36d3f6455097c66a0e1284eab2c5d7402b64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf9a371a2ed906ce11a8fc77b307786ba0156fb96042d18c49a73747c52399fdfb774e0b6177df376566dec989abf32b162697675c80a14915a8db754eee368d
|
7
|
+
data.tar.gz: 740933a0d714f31265014462db257c930c65c3bfdf9e9b8dcfdf63b6379f7e362b55d2c121de2d0babd031cd8c2cffb1634a63bce426d0065b567d84f672f275
|
@@ -76,6 +76,7 @@ module StackMaster
|
|
76
76
|
end
|
77
77
|
|
78
78
|
def update_stack
|
79
|
+
upload_files
|
79
80
|
@change_set = ChangeSet.create(stack_options)
|
80
81
|
halt!(@change_set.status_reason) if @change_set.failed?
|
81
82
|
@change_set.display(StackMaster.stdout)
|
@@ -83,7 +84,6 @@ module StackMaster
|
|
83
84
|
ChangeSet.delete(@change_set.id)
|
84
85
|
halt! "Stack update aborted"
|
85
86
|
end
|
86
|
-
upload_files
|
87
87
|
execute_change_set
|
88
88
|
end
|
89
89
|
|
data/lib/stack_master/version.rb
CHANGED
@@ -79,6 +79,12 @@ RSpec.describe StackMaster::Commands::Apply do
|
|
79
79
|
metadata: { md5: Digest::MD5.hexdigest(template_body).to_s }
|
80
80
|
)
|
81
81
|
end
|
82
|
+
|
83
|
+
it 'uploads to S3 before creating a changeset' do
|
84
|
+
expect(s3).to receive(:put_object).ordered
|
85
|
+
expect(StackMaster::ChangeSet).to receive(:create).ordered
|
86
|
+
apply
|
87
|
+
end
|
82
88
|
end
|
83
89
|
|
84
90
|
context 'the changeset failed to create' do
|
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: 0.7.
|
4
|
+
version: 0.7.2
|
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: 2016-
|
12
|
+
date: 2016-08-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|