harbr 0.1.58 → 0.1.60
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/harbr/job.rb +5 -2
- data/lib/harbr/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: 440d1e8837aa9a47180c1de066f99ea28a572c5455856a04cd4e92d0b663f502
|
4
|
+
data.tar.gz: 198967d2d4450023705023e3332e1f85ea5da524944440e41d2983d8e9fbe85b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff337dca9b6cb7084f19d89974dfad16b833bcd0a71c190cdfc86edf93d555d6a6857cfce8c33f59664d170e00ae1681063c845c9b1b0f16f7f924d2cdcd07a1
|
7
|
+
data.tar.gz: 4c6501fe96e399e5fa466f6219f3b3519228e3f6a285b2a47ce9330591b4acff6e6a7d3a5c3fde9610c6cf302b6a2639f1183b18b3bf817c6ce0cba460911708
|
data/lib/harbr/job.rb
CHANGED
@@ -165,19 +165,22 @@ module Harbr
|
|
165
165
|
if env == "next"
|
166
166
|
write_to_file "/etc/sv/harbr/#{name}/#{env}/run", run_script
|
167
167
|
write_to_file "/etc/sv/harbr/#{name}/#{env}/log/run", log_script
|
168
|
-
write_to_file "/etc/sv/harbr/#{name}/#{env}/
|
168
|
+
write_to_file "/etc/sv/harbr/#{name}/#{env}/finish", finish_script
|
169
169
|
`chmod +x /etc/sv/harbr/#{name}/#{env}/run`
|
170
170
|
`chmod +x /etc/sv/harbr/#{name}/#{env}/finish`
|
171
171
|
`chmod +x /etc/sv/harbr/#{name}/#{env}/log/run`
|
172
|
+
`mkdir -p /var/log/harbr/#{name}/#{env}`
|
172
173
|
end
|
173
174
|
|
174
175
|
if env == "current"
|
175
176
|
write_to_file "/etc/sv/harbr/#{name}/run", run_script
|
176
177
|
write_to_file "/etc/sv/harbr/#{name}/log/run", log_script
|
177
|
-
write_to_file "/etc/sv/harbr/#{name}/
|
178
|
+
write_to_file "/etc/sv/harbr/#{name}/finish", finish_script
|
178
179
|
`chmod +x /etc/sv/harbr/#{name}/run`
|
179
180
|
`chmod +x /etc/sv/harbr/#{name}/finish`
|
180
181
|
`chmod +x /etc/sv/harbr/#{name}/log/run`
|
182
|
+
`mkdir -p /var/log/harbr/#{name}`
|
183
|
+
|
181
184
|
end
|
182
185
|
|
183
186
|
|
data/lib/harbr/version.rb
CHANGED