capdocker 1.0.21 → 1.0.22
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 +2 -2
- 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: 5516c8ec73809f8e9213917cbcb5010e4523e985
|
4
|
+
data.tar.gz: d56349d1f2fe4c2227fce2b8992775b062b3b906
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fff8f28359ce0ae40064555df27320fddda63ec24d7b896bb621772648c640dd8cbd4a276faf88caa10770bd80f6c46665d6eae0b32f2a24fd100b2774e1ae14
|
7
|
+
data.tar.gz: 6474e627cbe5e1a4d4b119e6de5908ea88ac2653d7d9b431a50e4320f148a2ba809c43ff9d3b28a1405ac9f4c5d0fab31e1bc25ee83a32f2105236dbb5acd2d5
|
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
|
-
run_locally "git archive HEAD | gzip > #{tag}"
|
52
|
+
top.run_locally "git archive HEAD | gzip > #{tag}"
|
53
53
|
top.upload "#{tag}", "containers/#{application}", :via => :scp, :mkdir => true
|
54
|
-
run_locally "rm #{tag}"
|
54
|
+
top.run_locally "rm #{tag}"
|
55
55
|
run "cd containers/#{application} && tar -xzvf #{tag}"
|
56
56
|
run "rm containers/#{application}/#{tag}"
|
57
57
|
end
|