Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Capistrano extensions for interacting with hivequeen

Notifications You must be signed in to change notification settings

kickstarter/capistrano-hivequeen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

HiveQueen client

Makes your capistrano scripts aware of HiveQueen environments.

Installation

In your Gemfile:

group :development do
  gem 'capistrano/hivequeen', :require => nil
end

And in your config/deploy.rb:

set :hivequeen_endpoint, "http://your.hivequeen.com"
require 'hivequeen_client'

Options

az

Restrict commands to servers in an availability zone:

cap staging app:start -s az=us-east-1a
branch

Use a specific branch, rather than the default for the Hivequeen environment:

cap staging deploy -s branch=some_feature

Releasing a new version

First, bump the version in lib/capistrano/hivequeen/version.rb. Then:

  gem build capistrano-hivequeen.gemspec
  gem push capistrano-hivequeen-$VERSION.gem

License

@copy; Copyright Kickstarter, PBC.

Released under an MIT License.