broadside 3.3.1 → 3.3.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/.rubocop.yml +0 -11
- data/CHANGELOG.md +5 -0
- data/lib/broadside/ecs/ecs_deploy.rb +2 -0
- data/lib/broadside/ecs/ecs_manager.rb +6 -2
- data/lib/broadside/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b6bdf45d32fa024c772e7dc9aa07a2340ece41e6
|
|
4
|
+
data.tar.gz: ad249716add4ce4c17c251818d4960ca18c46bbf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 251edcfe94f49e614761b6c52d63874ca8495a14d1e7a833fbe7d96cb559bc79064648e2eaa4ee030874ad485286f6bce7649ee5b84f3277bc99b5fa81083e0f
|
|
7
|
+
data.tar.gz: 0e3bb6aeb69a8f830200d6a71f90c46ce40d2a1c61dbf3acb1e42803aceaa3db520d1b40f6b24648cabe08316d7d649471afc216b16b087ee32a9e44db1cf94f
|
data/.rubocop.yml
CHANGED
|
@@ -875,17 +875,6 @@ Style/EmptyMethod:
|
|
|
875
875
|
- compact
|
|
876
876
|
- expanded
|
|
877
877
|
|
|
878
|
-
# Checks whether the source file has a utf-8 encoding comment or not
|
|
879
|
-
# AutoCorrectEncodingComment must match the regex
|
|
880
|
-
# /#.*coding\s?[:=]\s?(?:UTF|utf)-8/
|
|
881
|
-
Style/Encoding:
|
|
882
|
-
EnforcedStyle: never
|
|
883
|
-
SupportedStyles:
|
|
884
|
-
- when_needed
|
|
885
|
-
- always
|
|
886
|
-
- never
|
|
887
|
-
AutoCorrectEncodingComment: '# encoding: utf-8'
|
|
888
|
-
|
|
889
878
|
# Checks use of for or each in multiline loops.
|
|
890
879
|
Style/For:
|
|
891
880
|
EnforcedStyle: each
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
# 3.3.2
|
|
2
|
+
- Add debug logging for aws-sdk components
|
|
3
|
+
- Add some other debug logging
|
|
4
|
+
- Fix for aws api changes: ecs task_definition response includes `compatibilities`, but requests want `requires_compatibilities`
|
|
5
|
+
|
|
1
6
|
# 3.3.1
|
|
2
7
|
- Use new modularized aws-sdk gems: aws-sdk-ec2 & aws-sdk-ecs
|
|
3
8
|
|
|
@@ -135,7 +135,9 @@ module Broadside
|
|
|
135
135
|
# Deep merge doesn't work well with arrays (e.g. container_definitions), so build the container first.
|
|
136
136
|
updatable_container_definitions.first.merge!(configured_container_definition)
|
|
137
137
|
revision.deep_merge!((@target.task_definition_config || {}).except(:container_definitions))
|
|
138
|
+
revision[:requires_compatibilities] = revision.delete(:compatibilities) if revision.key? :compatibilities
|
|
138
139
|
|
|
140
|
+
debug "Registering updated task definition for #{revision[:family]}"
|
|
139
141
|
task_definition = EcsManager.ecs.register_task_definition(revision).task_definition
|
|
140
142
|
debug "Successfully created #{task_definition.task_definition_arn}"
|
|
141
143
|
end
|
|
@@ -8,7 +8,9 @@ module Broadside
|
|
|
8
8
|
def ecs
|
|
9
9
|
@ecs_client ||= Aws::ECS::Client.new(
|
|
10
10
|
region: Broadside.config.aws.region,
|
|
11
|
-
credentials: Broadside.config.aws.credentials
|
|
11
|
+
credentials: Broadside.config.aws.credentials,
|
|
12
|
+
logger: Broadside.config.logger,
|
|
13
|
+
log_formatter: Aws::Log::Formatter.colored
|
|
12
14
|
)
|
|
13
15
|
end
|
|
14
16
|
|
|
@@ -166,7 +168,9 @@ module Broadside
|
|
|
166
168
|
def ec2_client
|
|
167
169
|
@ec2_client ||= Aws::EC2::Client.new(
|
|
168
170
|
region: Broadside.config.aws.region,
|
|
169
|
-
credentials: Broadside.config.aws.credentials
|
|
171
|
+
credentials: Broadside.config.aws.credentials,
|
|
172
|
+
logger: Broadside.config.logger,
|
|
173
|
+
log_formatter: Aws::Log::Formatter.colored
|
|
170
174
|
)
|
|
171
175
|
end
|
|
172
176
|
end
|
data/lib/broadside/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: broadside
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.3.
|
|
4
|
+
version: 3.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew Leung
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-12-
|
|
12
|
+
date: 2017-12-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|