gantree 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gantree/deploy.rb +1 -1
- data/lib/gantree/stack.rb +3 -6
- data/lib/gantree/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68b5e654deb92034e749012123a65388100a8351
|
4
|
+
data.tar.gz: fb2ba017875cf59a1b91532db6f25f972866f598
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b6a25b7f5ef4bf539eeac7260241f7d5d5f3d488b52a9c1128d03ebdf54f43bec12b4ffa4ffeb3b8893fb7f6b6d571e0bae997a0b95dd49b1f60d06b51edd02
|
7
|
+
data.tar.gz: 34932883a5a57657e9fe2b258a2c9cbe5786056cec820f115d1a5c16b2d0975aeeb0035955e5c2e48841b47bbdc371540a1394280eeb1629a0ba7d194d8488cb
|
data/lib/gantree/deploy.rb
CHANGED
@@ -230,7 +230,7 @@ module Gantree
|
|
230
230
|
def check_dir_name envs
|
231
231
|
dir_name = File.basename(Dir.getwd)
|
232
232
|
msg = "WARN: You are deploying from a repo that doesn't match #{@app}"
|
233
|
-
puts msg.yellow if envs.any? { |env| env.include?(dir_name) }
|
233
|
+
puts msg.yellow if envs.any? { |env| env.include?(dir_name) } == false
|
234
234
|
end
|
235
235
|
end
|
236
236
|
end
|
data/lib/gantree/stack.rb
CHANGED
@@ -53,7 +53,7 @@ module Gantree
|
|
53
53
|
add_role @options[:role] if @options[:role]
|
54
54
|
unless @options[:dry_run] then
|
55
55
|
upload_templates
|
56
|
-
@cfm.stacks[@options[:stack_name]].update(:template => stack_template)
|
56
|
+
@cfm.stacks[@options[:stack_name]].update(:template => stack_template)
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
@@ -185,12 +185,9 @@ module Gantree
|
|
185
185
|
role = {
|
186
186
|
"Type" => "AWS::ElasticBeanstalk::Environment",
|
187
187
|
"Properties"=> {
|
188
|
-
"ApplicationName" => "#{
|
189
|
-
"EnvironmentName" => "#{
|
188
|
+
"ApplicationName" => "#{@options[:stack_name]}",
|
189
|
+
"EnvironmentName" => "#{env}",
|
190
190
|
"Description" => "#{name} Environment",
|
191
|
-
"VersionLabel" => {
|
192
|
-
"Ref" => "ApplicationVersion"
|
193
|
-
},
|
194
191
|
"TemplateName" => {
|
195
192
|
"Ref" => "ConfigurationTemplate"
|
196
193
|
},
|
data/lib/gantree/version.rb
CHANGED