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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db298852f0a1727b1d7973b7cf17c11febf6099c
4
- data.tar.gz: 9fc35a60512d58c621483129f5b2c8d2503652c7
3
+ metadata.gz: 23c4e1998460853b423d581f1a39000e9cef05ef
4
+ data.tar.gz: f0ed64996b83cb122143d7f5b068b6d4aa3b3f08
5
5
  SHA512:
6
- metadata.gz: 50b44e456e72a83a1e290e0ec4384146741a2d1780ae872522fbae00463c889c52dd9aaedc87fb322e771724cd98f5353fa4dfd3fa02780835171b430d26780d
7
- data.tar.gz: 379b8fd3423e78d51a414f373791fda8dde4b778c906035bdc8a0c6db5025c7ff05f878288bd7869b4dfb9494d53d41d98dc1f7c49bd2a9bba6242cfada47cd0
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(30) if index != servers_length
188
+ sleep(:rolling_restart_sleep) if index != servers_length
188
189
  end
189
190
  end
190
191
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rebuy_deployment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - reBuy reCommerce GmbH