Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Initial commit

latest commit 9b714c45cf
Colin Humphreys authored January 31, 2012
Octocat-spinner-32 features Initial commit January 31, 2012
Octocat-spinner-32 lib Initial commit January 31, 2012
Octocat-spinner-32 .gitignore Initial commit January 31, 2012
Octocat-spinner-32 CHANGELOG.md Initial commit January 31, 2012
Octocat-spinner-32 Gemfile Initial commit January 31, 2012
Octocat-spinner-32 LICENSE Initial commit January 31, 2012
Octocat-spinner-32 README.md Initial commit January 31, 2012
Octocat-spinner-32 Rakefile Initial commit January 31, 2012
Octocat-spinner-32 capistrano-cloudfoundry.gemspec Initial commit January 31, 2012
README.md

Capistrano-CloudFoundry

A simple integration wrapper for Capistrano and Cloud Foundry-based clients. Blue/green deployments are currently automated.

Usage

The features give an example of multi-stage usage. A simple Capistrano configuration is shown below.

require 'capistrano-cloudfoundry'
set :application, "env-test"
set :user, "test@test.com"
set :passwd, "password"
set :target, "api.prod-hatofmonkeys.com"
set :url, "env-test.prod-hatofmonkeys.com"

The application can then be deployed in the following way.

# cap cloudfoundry

Warning

This code currently has no error checking, practically no features, and is generally dangerous. Use at your own risk.

Testing

Copy features/support/config.rb.sample to features/support/config.rb and modify with your own Cloud Foundry settings.

# bundle install
# rake

Contributing

Please, please, please fork this, improve it, and issue a pull request. You know you want to.

Something went wrong with that request. Please try again.