popito 0.0.8.alpha → 0.0.10.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/lib/popito/deployer/deploy/deploy_executor.rb +6 -4
- data/lib/popito/deployer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2fc1061ac67f009d45122c3b49ef62001422103e5e9796675661d2e424540e3
|
4
|
+
data.tar.gz: 102baa381c4eb750a4472bad4cf5e90406f4bff90d5949c0f66dfb47aef4f25b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29e6afc9f90395bc4c8e23d01ad49ce630ba695f83acb4896ff1dfd9694aa2fc546e1a6833560e6dc66e1c893743777720f68cf825e01260021c086d5ae77b2f
|
7
|
+
data.tar.gz: e786dc93a51aef3e9880ddd9dbad07038f8402ae44d59fc72fb077983ac218bb6e354520a1a9c2c17fe0e554aad929e28c65072ee3ff2309453b74b794ecb3e2
|
data/.gitignore
CHANGED
@@ -20,9 +20,11 @@ module Popito
|
|
20
20
|
def push_deployed_tag
|
21
21
|
yaml_build_config["build"].each do |build|
|
22
22
|
tag = build["tags"].first
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
source = "#{build["image"]}:#{tag}"
|
24
|
+
target = "#{build["image"]}:popito-#{config_payload.build_config[:ENVIRONMENT]}"
|
25
|
+
puts "Pushing #{source} to #{target}"
|
26
|
+
system "docker image tag #{source} #{target}", exception: true
|
27
|
+
system "docker push #{target}", exception: true
|
26
28
|
end
|
27
29
|
end
|
28
30
|
|
@@ -33,7 +35,7 @@ module Popito
|
|
33
35
|
end
|
34
36
|
|
35
37
|
def load_build_yaml
|
36
|
-
YAML.safe_load(File.read("#{config_payload.
|
38
|
+
YAML.safe_load(File.read("#{config_payload.deploy_path}/build.yaml"))
|
37
39
|
end
|
38
40
|
end
|
39
41
|
end
|