mikoshi 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -1
- data/.travis.yml +2 -1
- data/README.md +7 -0
- data/lib/mikoshi/plan/task_definition.rb +2 -1
- data/lib/mikoshi/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: d343746d2086e9e31c4195232261a14a3fe661c2
|
4
|
+
data.tar.gz: 7dbbc27e50e573071cf3034f7d7b700e3fdd6284
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e54671362659a77c29976226fcc95178d33a967fd49e6b671f207f098edb5fe8808b081298a39ec69686cd755a3448b2de73018ebe1a2c10e735f4471e7392ae
|
7
|
+
data.tar.gz: 1e2d7be77f07a27ae6e5828f0f4805fe2dc083a359aa4d42325983d321dee83d628aeaa4381f61df6b041d98638c9fdde78084ce2f6943e80dfcd295f097c81f
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -101,6 +101,13 @@ Subcommands
|
|
101
101
|
--potdr
|
102
102
|
Acronym of the "Print Only Task Definition Revision".
|
103
103
|
|
104
|
+
runtask
|
105
|
+
Invoke new task using specified task definition.
|
106
|
+
|
107
|
+
Option
|
108
|
+
--cluster
|
109
|
+
Set cluster to run task. (required)
|
110
|
+
|
104
111
|
update_service
|
105
112
|
Update service to given service yaml file.
|
106
113
|
Wait for success to update the service. (Maximum 300 min)
|
@@ -26,7 +26,8 @@ module Mikoshi
|
|
26
26
|
def runtask(cluster: nil)
|
27
27
|
raise ArgumentError, 'cluster name is required.' if cluster.nil?
|
28
28
|
|
29
|
-
resp = @client.
|
29
|
+
resp = @client.register_task_definition(@data[:task_definition])
|
30
|
+
@client.run_task(task_definition: resp[:task_definition][:task_definition_arn], cluster: cluster)
|
30
31
|
end
|
31
32
|
|
32
33
|
private
|
data/lib/mikoshi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mikoshi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yusuke Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|