harbr 0.0.104 → 0.0.106
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/harbr +1 -4
- 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: 050c3c42cf01df78606768c019518d3b17a9f0347030a4e61e27223b83a81128
|
4
|
+
data.tar.gz: 76b0c515f7776335a23acb59aaa5f4d59a69110b2e1b852107ae0e0dd234dfdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab9196d10b9f7ce9340237f533a186d5eb3a0f7e63fbb8e67a23a0d9897ad0863ec9083f964fe69f77a313808a8144f844cb3bd5d22addf05d8bdf0f56b7c4eb
|
7
|
+
data.tar.gz: 7c0364fbf68e37ae75d09af70dcd0db6e61a2b6ae9189c5837f2eedfa9da3544d5d0024985f86a6366779c88dbd8d1d2f332055c8b93ca9c2bc7efe40ec46166
|
data/exe/harbr
CHANGED
@@ -172,11 +172,8 @@ class HarbrCLI < Thor
|
|
172
172
|
desc "deploy", "deploy a container to production"
|
173
173
|
def deploy(name)
|
174
174
|
Dir.chdir("/var/harbr/containers/#{name}/") do
|
175
|
-
`
|
176
|
-
`cp -r next next.bak`
|
175
|
+
`mv current rollback`
|
177
176
|
`mv next current`
|
178
|
-
`mv current.bak rollback`
|
179
|
-
`mv next.bak next`
|
180
177
|
puts `sv restart #{name}`
|
181
178
|
end
|
182
179
|
|
data/lib/harbr/version.rb
CHANGED