capdocker 1.0.23 → 1.0.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capdocker.gemspec +1 -1
- data/lib/docker_deploy.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5173e02f1a094d93f0a63cbf9417d6dea544e62e
|
4
|
+
data.tar.gz: 053e062a1122266d08bf4de7c06bfae8bfbda682
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf15599c1ba6af7c43d911c70ae0a2548822439f72b7d96b94e62e92ded6a7c462d1e310634599ec462f7464e63a107095c84bda22578c53a4e3a1d2af4f284e
|
7
|
+
data.tar.gz: 84631ecffd555f100bfdfbef372cf95584699534e00a0339bd0a3a69dc2ad2b3c93b7fbb5af30eee7714a736c83a2c4668dee7d4b7776eaa24978fc1785b02f8
|
data/capdocker.gemspec
CHANGED
data/lib/docker_deploy.rb
CHANGED
@@ -49,9 +49,9 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
49
49
|
task :update_code do
|
50
50
|
puts "Pushing code for current git commit ..."
|
51
51
|
set :tag, %x[git rev-parse --short HEAD].strip() + ".tar.gz"
|
52
|
-
|
53
|
-
|
54
|
-
|
52
|
+
run_locally "git archive HEAD | gzip > #{tag}"
|
53
|
+
upload "#{tag}", "containers/#{application}", :via => :scp, :mkdir => true
|
54
|
+
run_locally "rm #{tag}"
|
55
55
|
run "cd containers/#{application} && tar -xzvf #{tag}"
|
56
56
|
run "rm containers/#{application}/#{tag}"
|
57
57
|
end
|