Hi

I have create a fork of the capistrano project and made some minor changes 
to support rolling groups. It turns out to work well for our code 
deployments. 

You can find the fork at https://github.com/jbillen/capistrano

Throttling the deployment can be achieved by putting following lines in 
config/deploy.rb:

set :rolling_group_size, 5
set :rolling_group_wait, 2

Best Regards
Jochen

Op woensdag 21 mei 2014 10:58:06 UTC+2 schreef Jochen Billen:
>
> Hi
>
> I'm looking into Capistrano (v3) to deploy an PHP application to 100+ 
> servers and I'm am concerned that running the 'git update' and 'composer 
> install' task will put to much strain on the infrastructure (git server, 
> SAN environment and network)
>
> Is there an easy way to limit the number of hosts to run tasks on in 
> parallel? Or should I override particular tasks which could be to 
> stressful using sshkit's 'on(in: :groups, limit: 2, wait: 5) { ... }'.
>
> Best Regards,
> Jochen Billen
>
>
>
>
> Versions:
>
>    - Ruby: 1.9.2
>    - Capistrano: 3.2.1
>    - Rake: 10.3.1
>
> Platform:
>
>    - Working on: Debian
>    - Deploying to: Debian
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/da51027b-a6e6-4ca8-91a9-f559da5cb4d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to