ufo 4.5.0 → 4.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/ufo/docker/compiler.rb +4 -1
- data/lib/ufo/stack.rb +1 -1
- data/lib/ufo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0335efc845bd3f23fc9851fb33f31439f7f04b397f6de895e546b90c24dabf3
|
4
|
+
data.tar.gz: a13a5024fca96eb1afd71b7b3df363f07512679376fde0832a1ebbf5cdac2e99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb0634493a066baf53424c325e36fd95ebbfb658a2c803c3d0600bf82276e920f034573fd7df782ea0fd421e6ce16e15358fc3f0fef384add71ddb5d104e541f
|
7
|
+
data.tar.gz: 5750580ea1d63fced5068223a318702e05b2fdb839019deb447b503400902c32edefa654fc8d6ee22f05f2ceb7659f3f414d029e0efe08983a12c4848fd85df5
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [4.5.1]
|
7
|
+
- handle UPDATE_IN_PROGRESS stack validation error also
|
8
|
+
- update comment at top of generated Dockerfile
|
9
|
+
|
6
10
|
## [4.5.0]
|
7
11
|
- #78 append_ufo_env to stack name, new default
|
8
12
|
- #79 service_cluster map setting
|
data/lib/ufo/docker/compiler.rb
CHANGED
@@ -13,7 +13,10 @@ class Ufo::Docker
|
|
13
13
|
vars = YAML.load_file(path)[Ufo.env] if File.exist?(path)
|
14
14
|
vars ||= {}
|
15
15
|
result = RenderMePretty.result(@erb_file, vars)
|
16
|
-
comment
|
16
|
+
comment =<<~EOL.chop # remove the trailing newline
|
17
|
+
# Note this file was generated from #{File.basename(@erb_file)} as a part of running ufo ship"
|
18
|
+
# To update the FROM statement with the latest base docker image run: ufo docker base
|
19
|
+
EOL
|
17
20
|
result = "#{comment}\n#{result}"
|
18
21
|
IO.write(@dockerfile, result)
|
19
22
|
end
|
data/lib/ufo/stack.rb
CHANGED
@@ -184,7 +184,7 @@ module Ufo
|
|
184
184
|
# Stack:arn:aws:cloudformation:... is in ROLLBACK_COMPLETE state and can not be updated.
|
185
185
|
def handle_stack_error(e)
|
186
186
|
case e.message
|
187
|
-
when /
|
187
|
+
when /state and can not be updated/
|
188
188
|
puts "The #{@stack_name} stack is in #{"ROLLBACK_COMPLETE".color(:red)} and cannot be updated. Deleted the stack and try again."
|
189
189
|
region = `aws configure get region`.strip rescue 'us-east-1'
|
190
190
|
url = "https://console.aws.amazon.com/cloudformation/home?region=#{region}"
|
data/lib/ufo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ufo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.5.
|
4
|
+
version: 4.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-cloudformation
|