handsome_fencer-circle_c_i 0.1.32 → 0.1.33
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fcdcfc4c1c3da8dbf2b6121cd172e9b25a0fa145e314e231c4f428a770a3e1f
|
4
|
+
data.tar.gz: 26786bb45499b091fc97f18d983b307da206decf01bdaddc03faaf97cab2ec08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 967f5f9077a4794d2972efee7177f55082ad6892d28483f92601b91520b318e418793dab373b9c8276a6b22e5b0a981d11062df089436f8b657e238b92910245
|
7
|
+
data.tar.gz: 61445c31afdd8b53495d1240b584579e0e0b5aa654ab8f67f99544a6124f3d5dc608f235436b16f9afad6d8e87331d0d0f930f3c37452edf0e3b6567f34f1378
|
@@ -8,9 +8,10 @@ hostname = ENV['SERVER_HOST']
|
|
8
8
|
user = ENV['SERVER_USER']
|
9
9
|
dockerhub_user = ENV['DOCKERHUB_USER']
|
10
10
|
dockerhub_pass = ENV['DOCKERHUB_PASS']
|
11
|
+
dockerhub_org = ENV['DOCKERHUB_ORG']
|
11
12
|
port = ENV['SERVER_PORT']
|
12
13
|
deploy_env = ENV['DEPLOY_ENV'] || :production
|
13
|
-
deploy_path = ENV['
|
14
|
+
deploy_path = ENV['APP_NAME']
|
14
15
|
|
15
16
|
server = SSHKit::Host.new(hostname: hostname, port: port, user: user)
|
16
17
|
|
@@ -101,7 +102,7 @@ namespace :docker do
|
|
101
102
|
on server do
|
102
103
|
within deploy_path do
|
103
104
|
["#{deploy_path}_app", "#{deploy_path}_web"].each do |image_name|
|
104
|
-
execute 'docker', 'pull', "
|
105
|
+
execute 'docker', 'pull', "#{dockerhub_org}/#{image_name}:#{deploy_tag}"
|
105
106
|
end
|
106
107
|
execute 'docker', 'pull', 'postgres:9.4.5'
|
107
108
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: handsome_fencer-circle_c_i
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- schadenfred
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sshkit
|