rat_deployer 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rat_deployer/cli/images.rb +8 -3
- data/lib/rat_deployer/cli.rb +1 -1
- data/lib/rat_deployer/config.rb +1 -1
- data/lib/rat_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: b70810b89cd248d2743394bee60594eb9f805b43
|
4
|
+
data.tar.gz: 01c8aaf1c41c572a3247e908cae364b04ab774a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e740ed48bc6b98d4943ea86ac77bc385a71594879819078062f5f9277db074b8b1fb286568b69033e5b23349567d87d4833343934fd1705f9f6fb52831d4b2c
|
7
|
+
data.tar.gz: 62fe85d2ba81954e2b6ce5ddac32c87d67db0cc54d453002228021e44a56e575858526d622c92596cca194c54a43f4d2fe0c118d03fca2aaa41c395b1522f4ef
|
@@ -10,8 +10,11 @@ module RatDeployer
|
|
10
10
|
|
11
11
|
desc 'update [SERVICES...]', 'Update images for given services'
|
12
12
|
def update(*services)
|
13
|
-
|
14
|
-
|
13
|
+
services.each do |svc|
|
14
|
+
put_heading "Updating image for service #{svc}"
|
15
|
+
do_build(svc)
|
16
|
+
do_push(svc)
|
17
|
+
end
|
15
18
|
end
|
16
19
|
|
17
20
|
desc 'build [SERVICES...]', 'Build images for given services'
|
@@ -27,7 +30,7 @@ module RatDeployer
|
|
27
30
|
private
|
28
31
|
|
29
32
|
def do_build(service)
|
30
|
-
put_heading "Building service #{service}"
|
33
|
+
put_heading "Building image for service #{service}"
|
31
34
|
|
32
35
|
ensure_image_source(service)
|
33
36
|
|
@@ -35,6 +38,8 @@ module RatDeployer
|
|
35
38
|
end
|
36
39
|
|
37
40
|
def do_push(service)
|
41
|
+
put_heading "Pusinhg image for service #{service}"
|
42
|
+
|
38
43
|
run "docker push #{image_name(service)}"
|
39
44
|
end
|
40
45
|
|
data/lib/rat_deployer/cli.rb
CHANGED
data/lib/rat_deployer/config.rb
CHANGED
data/lib/rat_deployer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rat_deployer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolas Oga
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|