Skip to content
This repository has been archived by the owner on Feb 16, 2018. It is now read-only.
/ drake Public archive

Simple web based deployment automation tool built with Sinatra.

License

Notifications You must be signed in to change notification settings

RealSelf/drake

Repository files navigation

drake is long deprecated and has been archived - be aware that the current configuration references libraries with known security vulnerabilities.

drake

Simple web based deployment automation tool buit with Sinatra.

Requirements

  • Ruby >= 1.9.3
  • Redis (default 127.0.0.1:6379)

Run

$> git clone https://github.com/RealSelf/drake.git
$> cd drake
$> bundle install
$> cp config/drake.yml.example config/drake.yml
$> rackup

Config

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

Test

$> cd drake
$> rspec --format documentation

Copyright

Copyright © 2013 RealSelf, Inc. See LICENSE for details.

About

Simple web based deployment automation tool built with Sinatra.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published