mikoshi 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/mikoshi/cli.rb +1 -1
- data/lib/mikoshi/plan/service.rb +1 -1
- data/lib/mikoshi/plan/task_definition.rb +1 -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: e732444d9107e6409fde22edc4700c1c7ceaad3c
|
4
|
+
data.tar.gz: ba803c7452847c673431eab79e2d02b99d748423
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fccda9380d7deecc83029d0cb2180601bc6949d2997e37d279728ebecbd083a78c66512cf4eee74d9b4bb75e41a319ee12bfc0e471831bbd3463619d3f68e8b
|
7
|
+
data.tar.gz: 65224e4c679303011d1a2c85bb77935c72e26023c583f35cd8a3698e513c9b987d71fedd81ec538ef3da4190368be12b2621a8c56bf54b53cc13533382d937a3
|
data/README.md
CHANGED
@@ -49,7 +49,7 @@ Then, invoke those commands.
|
|
49
49
|
# update task_definition
|
50
50
|
$ mikoshi update_task ping2googledns --region ap-northeast-1
|
51
51
|
Update task definition: ping2googledns
|
52
|
-
Done update task definition: ping2googledns
|
52
|
+
Done update task definition: ping2googledns revision: 6
|
53
53
|
|
54
54
|
# update service
|
55
55
|
$ TASK_REVISION=3 mikoshi update_service ping2googledns
|
@@ -60,7 +60,7 @@ Update service success
|
|
60
60
|
# update task_definition and service
|
61
61
|
$ mikoshi deploy -t ping2googledns -s ping2googledns
|
62
62
|
Update task definition: ping2googledns
|
63
|
-
Done update task definition: ping2googledns
|
63
|
+
Done update task definition: ping2googledns revision: 7
|
64
64
|
Update service : ping2googledns
|
65
65
|
Waiting for 10 sec...
|
66
66
|
Waiting for 10 sec...
|
data/lib/mikoshi/cli.rb
CHANGED
@@ -23,7 +23,7 @@ module Mikoshi
|
|
23
23
|
)
|
24
24
|
puts "Update task definition: #{task_name}"
|
25
25
|
task.register_task_definition
|
26
|
-
puts "Done update task definition: #{task_name}
|
26
|
+
puts "Done update task definition: #{task_name} revision: #{ENV['TASK_DEF_REVISION']}"
|
27
27
|
end
|
28
28
|
|
29
29
|
desc 'update_service SERVICE_NAME', 'Update service'
|
data/lib/mikoshi/plan/service.rb
CHANGED
@@ -10,7 +10,7 @@ module Mikoshi
|
|
10
10
|
super
|
11
11
|
|
12
12
|
if @data[:task_definition].match(TASK_DEFINITION_WITH_REVISION).nil?
|
13
|
-
raise ArgumentError, 'task_definition should have
|
13
|
+
raise ArgumentError, 'task_definition should have revision by numerically.'
|
14
14
|
end
|
15
15
|
|
16
16
|
@data.store :service_name, @data[:service]
|
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.1.
|
4
|
+
version: 0.1.5
|
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-05-
|
11
|
+
date: 2017-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|