rebuy_deployment 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rebuy_deployment/deploy.rb +2 -1
- 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: 23c4e1998460853b423d581f1a39000e9cef05ef
|
4
|
+
data.tar.gz: f0ed64996b83cb122143d7f5b068b6d4aa3b3f08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0fe146218e5cc67578001c09a7e29564a554540e8d0cdbaa8471788a3eaf7add9da1b8e5e30a35cae6565c8765664448321844ea33c0be21d091fb90faf3f23
|
7
|
+
data.tar.gz: fd142260a54abb114e05d26d04a5d049fc36da9e3fa57ad55e6c9d12ddd51fb30c2c68378a488350aa7ed987041b18b47ad5a95d5711b70ab75b3df9867043ca
|
@@ -126,6 +126,7 @@ set(:copy_remote_dir) { "#{deploy_to}" }
|
|
126
126
|
set(:build_script) { "rake -f deployment/rakefile default[#{stage},#{release_name},#{fqdn}]" }
|
127
127
|
|
128
128
|
set :copy_exclude, [".git/*", ".git", "deployment/*.rb", "Capfile"]
|
129
|
+
set :rolling_restart_sleep, 60
|
129
130
|
|
130
131
|
namespace :deploy do
|
131
132
|
task :symlink_shared, :except => { :no_release => true } do
|
@@ -184,7 +185,7 @@ namespace :deploy do
|
|
184
185
|
run restart, :hosts => server.host
|
185
186
|
logger.info "Deployed on #{server.host}, will go to sleep!"
|
186
187
|
|
187
|
-
sleep(
|
188
|
+
sleep(:rolling_restart_sleep) if index != servers_length
|
188
189
|
end
|
189
190
|
end
|
190
191
|
|