bscofield / ccrb_cap_deployer forked from aentos/ccrb_cap_deployer

Cruisecontrol.rb plugin to deploy your app using capistrano when the build is succesful

This URL has Read+Write access

name age message
file README.textile Loading commit data...
directory lib/
README.textile

Cruisecontrol.rb plugin cap_deployer

This plugin will deploy your app using capistrano.

How it works

If the build fails the app won’t de be deployed and if it passes it will try to deploy to a list of stages you can supply.
It will send an email notifying if it was successful or not and a special artifact with the capistrano output will be created.

Installation

Copy the cap_deployer.rb file to the lib/builder_plugins/ directory.

Configuration

In your project’s cruise_config.rb file:

Set the email addresses which should be notified about deployment:


project.cap_deployer.emails = ['email@example.com']

Pass an array of stages you want to deploy to


project.cap_deployer.stages = ['staging','production']

Facts

Important: this plugin assumes you are using ssh keys for deployment

Authors

  • Original version written by Eric Lucas: http://jira.public.thoughtworks.org/browse/CCRB-117
  • Additional improvements by Alberto Perdomo