indocker 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/Gemfile.lock +1 -1
- data/lib/indocker/configuration_deployer.rb +1 -1
- data/lib/indocker/version.rb +1 -1
- data/lib/indocker.rb +9 -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: 9b625051ee86d20ec224e8f277b5fc884ce7c02ef671a18533836e9e654c1fcf
|
4
|
+
data.tar.gz: 1867b3210ab2134bd52366a2ded1abc0e24ef122ecc8337a5213f5f0460526a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8298028d5eea2ac46b1ebf67fb5b19b0846c96a1bc731b6717869412f802d7781d3ee80fa15e7ae75336f5fa878fa9ea90fcfbb5e7a668bcc500d2f5bc4a97d5
|
7
|
+
data.tar.gz: 9f2a4091d1def4b6f86aef36c240a5f5439ee0c604f516b7f52b215b7285b53cbe41800530e517ee97159bda7b99665bfa9a1cf92371e7011c9671f15ddf20b1
|
data/Gemfile.lock
CHANGED
@@ -423,7 +423,7 @@ class Indocker::ConfigurationDeployer
|
|
423
423
|
@logger.info("{timestamp}")
|
424
424
|
|
425
425
|
deploy_user = "#{server.user}@#{server.host}"
|
426
|
-
crontab_filepath =
|
426
|
+
crontab_filepath = Indocker.redeploy_crontab_path
|
427
427
|
|
428
428
|
crontab = Indocker::CrontabRedeployRulesBuilder
|
429
429
|
.new(
|
data/lib/indocker/version.rb
CHANGED
data/lib/indocker.rb
CHANGED
@@ -103,10 +103,18 @@ module Indocker
|
|
103
103
|
@deploy_dir = val
|
104
104
|
end
|
105
105
|
|
106
|
-
|
106
|
+
def set_root_dir(val)
|
107
107
|
@root_dir = val
|
108
108
|
end
|
109
109
|
|
110
|
+
def set_redeploy_crontab_path(val)
|
111
|
+
@redeploy_crontab_path = val
|
112
|
+
end
|
113
|
+
|
114
|
+
def redeploy_crontab_path
|
115
|
+
@redeploy_crontab_path
|
116
|
+
end
|
117
|
+
|
110
118
|
def deploy_dir
|
111
119
|
if @deploy_dir
|
112
120
|
@deploy_dir
|