eb-docker-deploy 0.0.2 → 0.0.3
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/deploy/deployer.rb +8 -1
- data/lib/deploy/version.rb +1 -1
- metadata +1 -2
- data/eb-docker-deploy-0.0.1.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6379c4f12298a7d09eedf590919db0fce8aebff4
|
|
4
|
+
data.tar.gz: 11f9698d837b65612ee6903f24650ca6087c1eb3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e80b3f3b97a8abcd1a5ea4ee00c1a7a9338c70ff74d2cb17437e794f34256fd27af29c7cee5c5cbf4a372942ce9bfd4da151f7bae3562c744a2e5a5511a383c0
|
|
7
|
+
data.tar.gz: 8f02a0def96b98042676cad4246d05faff2e6563bd6e0723f4dc7521c337db306fc25883fc42d6a9c66a11b94572b9cb30d589cc21ec6909478d8b27c2f49db9
|
data/lib/deploy/deployer.rb
CHANGED
|
@@ -20,10 +20,17 @@ module Deploy
|
|
|
20
20
|
command = "docker build -t #{repo}:#{version} ."
|
|
21
21
|
system(command)
|
|
22
22
|
|
|
23
|
-
shout 'Tagging Docker Image'
|
|
23
|
+
shout 'Tagging Latest Docker Image'
|
|
24
24
|
command = "docker tag -f #{repo}:#{version} #{repo}:latest"
|
|
25
25
|
system(command)
|
|
26
26
|
|
|
27
|
+
shout "Pushing Docker Image: #{repo}:#{version}"
|
|
28
|
+
command = "docker push #{repo}:#{version}"
|
|
29
|
+
system(command)
|
|
30
|
+
shout "Pushing Docker Image: #{repo}:latest"
|
|
31
|
+
command = "docker push #{repo}:latest"
|
|
32
|
+
system(command)
|
|
33
|
+
|
|
27
34
|
#command = "eb deploy -l #{version}"
|
|
28
35
|
#system(command)
|
|
29
36
|
end
|
data/lib/deploy/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eb-docker-deploy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim
|
|
@@ -66,7 +66,6 @@ files:
|
|
|
66
66
|
- README.md
|
|
67
67
|
- Rakefile
|
|
68
68
|
- bin/eb-deploy
|
|
69
|
-
- eb-docker-deploy-0.0.1.gem
|
|
70
69
|
- eb-docker-deploy.gemspec
|
|
71
70
|
- lib/deploy.rb
|
|
72
71
|
- lib/deploy/deployer.rb
|
data/eb-docker-deploy-0.0.1.gem
DELETED
|
Binary file
|