harbr 0.0.100 → 0.0.103
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/harbr +0 -4
- data/lib/harbr/next/job.rb +1 -1
- 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: 6abc41657c5bd1734276f76e577bc912835c8797d5b227ffd51ba14413483e4d
|
4
|
+
data.tar.gz: 45cef2dafb7a7e3ad4be7eea4e87633a297ed92cae99c1ba6c1d1a8fff889547
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d14e9a1ceedda7735c1ba80b8d565a5203dbfeb9ef4d4670df323cc4e58fd92aef02b2d0713c18998b73181582dcb14a6e26200365a08a1e84df5a2ab82db58e
|
7
|
+
data.tar.gz: 340f8e3cc93bedd983845673b459cbbfe1f6223affb2819e32e713847170c912f10c48963153f182837d3215aa9d84ce3ab9181072b27ae3f5124934b7226689
|
data/exe/harbr
CHANGED
@@ -186,11 +186,7 @@ class HarbrCLI < Thor
|
|
186
186
|
def rollback(name)
|
187
187
|
Dir.chdir("/var/harbr/containers/#{name}") do
|
188
188
|
if File.exist?("rollback")
|
189
|
-
`cp -r current current.bak`
|
190
189
|
`mv rollback current`
|
191
|
-
`cp -r current.bak next`
|
192
|
-
`rm -rf rollback`
|
193
|
-
`rm -rf current.bak`
|
194
190
|
`sv restart #{name}`
|
195
191
|
`sv restart next.#{name}`
|
196
192
|
puts "rollback successful"
|
data/lib/harbr/next/job.rb
CHANGED
data/lib/harbr/version.rb
CHANGED