drake is long deprecated and has been archived - be aware that the current configuration references libraries with known security vulnerabilities.
Simple web based deployment automation tool buit with Sinatra.
- Ruby >= 1.9.3
- Redis (default 127.0.0.1:6379)
$> git clone https://github.com/RealSelf/drake.git
$> cd drake
$> bundle install
$> cp config/drake.yml.example config/drake.yml
$> rackup
Edit config/drake.yml
with your Redis settings and deployment command. The deployment command string will be evaluated in the context of the deploy.
Available variables:
@env
- environment@tag
- tag being deployed@name
- name of deployer@start
- unix timestamp
Example:
development:
cmd: "cd /var/deploy; bundle exec cap deploy -s environment=<%= @env %> -s branch=<%= @tag %> -s deployed_by=<%= @name %>"
redis:
host: 127.0.0.1
port: 6379
db: 0
production:
cmd: "cd /var/deploy; bundle exec cap deploy -s environment=<%= @env %> -s branch=<%= @tag %> -s deployed_by=<%= @name %>"
redis:
host: 123.123.1.123
port: 6379
db: 3
$> cd drake
$> rspec --format documentation
Copyright © 2013 RealSelf, Inc. See LICENSE for details.