ufo 4.5.1 → 4.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/ufo/stack/helper.rb +4 -2
- 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: 87163ab28792dadd633294978d4add5e0aec9c88e8d9063a9ae5661dc5d08964
|
|
4
|
+
data.tar.gz: 9259a17a58ddacf67007d2bc59b6ab2a9bbc48e70ea6d646675ac4e0ceb95e38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f0ca5903c773c9203f56529799e400a94ab2a48d8f7a89ed76e6c13dc68f2b91dc849b449af7c534d3ab0eda9800c64c495a889831d3bcba74d9e50cf756218
|
|
7
|
+
data.tar.gz: e93e17948eb44453f94816a64a2bd96b9d5f306fd1f4aa7473047b4714df175bf4d1cbb55592a7494e76c9a3ed00d351840246a6989d92933f3318438ad3873d
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
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.2]
|
|
7
|
+
- add append_nothing option
|
|
8
|
+
|
|
6
9
|
## [4.5.1]
|
|
7
10
|
- handle UPDATE_IN_PROGRESS stack validation error also
|
|
8
11
|
- update comment at top of generated Dockerfile
|
data/lib/ufo/stack/helper.rb
CHANGED
|
@@ -17,9 +17,9 @@ class Ufo::Stack
|
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def adjust_stack_name(cluster, service)
|
|
20
|
-
upgraded_namings = %w[append_ufo_env append_env append_cluster]
|
|
20
|
+
upgraded_namings = %w[append_ufo_env append_env append_cluster append_nothing prepend_nothing]
|
|
21
21
|
unless upgraded_namings.include?(settings[:stack_naming])
|
|
22
|
-
puts "WARN: In ufo v4.
|
|
22
|
+
puts "WARN: In ufo v4.5 the UFO_ENV value gets appends to the end of the CloudFormation stack name. This means a new stack gets created. You must upgrade to using the new stack and delete the old stack manually. More info: https://ufoships.com/docs/upgrading/upgrade4.5/".color(:yellow)
|
|
23
23
|
puts "To get rid of this warning you can add `stack_naming: append_ufo_env` to your `.ufo/settings.yml config. New versions of ufo init do this automatically."
|
|
24
24
|
puts "Pausing for 20 seconds."
|
|
25
25
|
sleep 20
|
|
@@ -32,6 +32,8 @@ class Ufo::Stack
|
|
|
32
32
|
# append_env will be removed in the next major version in favor of apend_cluster.
|
|
33
33
|
# To avoid confusiong with append_ufo_env
|
|
34
34
|
[service, cluster, Ufo.env_extra]
|
|
35
|
+
when "append_nothing", "prepend_nothing"
|
|
36
|
+
[service, Ufo.env_extra]
|
|
35
37
|
else
|
|
36
38
|
# legacy, to be removed in next major version
|
|
37
39
|
[cluster, service, Ufo.env_extra]
|
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.2
|
|
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-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-cloudformation
|