No commit activity in last 3 years
No release in over 3 years
Deploy a service or run a Rake task against all environments using Capistrano. The environments are going to be read based on the /config/deploy/*.rb files
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

capistrano-deploy-all

This Ruby gem provides the code to deploy a service or run a Rake task against all environments using Capistrano.

The environments are going to be read based on the /config/deploy/*.rb files.

Installation

Include capistrano-deploy-all in your project adding into your Gemfile:

gem "capistrano-deploy-all"

In order to run a Rake task against all environment you have to require the Rake tasks from the gem in your project:

require "capistrano-deploy-all/tasks"

Usage

There are two interactive executables where you can select the environments that you want to use:

  • bundle exec deploy_all to deploy a service.
  • bundle exec rake_all to run a Rake task.

Bundler can install binstubs for the executables:

bundle binstubs capistrano-deploy-all

This provides the executables in the bin directory of the project:

  • bin/deploy_all
  • bin/rake_all

Exclude an environment

You can exclude one or multiple environments by adding them to a file called exclude_list in /config/deploy/ folder. Each environment should be in a separate line.