ecs_deployer 1.0.0 → 1.0.1
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/lib/ecs_deployer/client.rb +4 -6
- data/lib/ecs_deployer/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: 12a1a6119ccbfa559a988d6a7ccbc3804c8a746d
|
4
|
+
data.tar.gz: 6676d951da1365975628e81125c4d22437409094
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc408464570b09cb10cc4a4be000212be87c6b121d62498566d751ae8104f26f24f1d9468a1ec5e5fe50dd14a637f17b14dacf2cdf8e0908727c23c993163af1
|
7
|
+
data.tar.gz: e8ab53a763ea7aba4e88419dbebaee9cce021f027f3200d2e64310f9dc7418288110378989eb81568d9e468d95912cc10e67ce5b0ae2ed26ad78cd69eaebd4e7
|
data/lib/ecs_deployer/client.rb
CHANGED
@@ -13,12 +13,10 @@ module EcsDeployer
|
|
13
13
|
attr_accessor :timeout, :pauling_interval
|
14
14
|
|
15
15
|
# @param [Hash] aws_options
|
16
|
-
# @
|
17
|
-
# @option aws_options [String] :region
|
18
|
-
# @param [RuntimeCommand::Builder] runtime
|
16
|
+
# @param [Hash] runtime_options
|
19
17
|
# @return [EcsDeployer::Client]
|
20
|
-
def initialize(aws_options = {},
|
21
|
-
@runtime =
|
18
|
+
def initialize(aws_options = {}, runtime_options = {})
|
19
|
+
@runtime = RuntimeCommand::Builder.new(runtime_options)
|
22
20
|
@cli = Aws::ECS::Client.new(aws_options)
|
23
21
|
@kms = Aws::KMS::Client.new(aws_options)
|
24
22
|
@timeout = 600
|
@@ -190,7 +188,7 @@ module EcsDeployer
|
|
190
188
|
raise TaskDesiredError, 'Task desired by service is 0.' if service_status[:desired_count].zero?
|
191
189
|
|
192
190
|
wait_time = 0
|
193
|
-
@runtime.puts 'Start
|
191
|
+
@runtime.puts 'Start deploying...'
|
194
192
|
|
195
193
|
loop do
|
196
194
|
sleep(@pauling_interval)
|
data/lib/ecs_deployer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecs_deployer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- naomichi-y
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: runtime_command
|