Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Ruby gem to handle releases in heroku

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 HISTORY.markdown
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 heroku-bartender.gemspec
README.markdown

Heroku Bartender

Is a simple way to manage releases in heroku

How to bartender

Install

    gem install heroku-bartender

Run

    heroku-bartender

Options

Server options:

    -h, --host=HOST              The hostname or ip of the host to bind to (default 0.0.0.0)
    -p, --port=PORT              The port to listen on (default 4567)
    -t, --target=TARGET          The target is the git remote in which you want to deploy (default heroku)
    --user=USER                  The user to login using HTTP Basic Auth
    --password=PASSWORD          The password to login using HTTP Basic Auth
    --commits-per-page           The maximun number of commits that you want to see in each page

For now you must run heroku-bartender inside your repo dir

Specifying a Pre-Deploy Command

You can specify a command to run before deployment.

git config --add remote.master.predeploy "rake test"

Features

  1. You can rollback your heroku app to a specific commit hash
  2. You can secure your heroku-bartender server using HTTP Basic Auth
  3. You can use a custom heroku remote target to deploy your app
  4. Shows red/yellow/green status for deploys (red: fail, green: ok, yellow: unknow problem)
  5. Shows dates for deployed versions
  6. Shows colors/status for old deployed versions (only the versions that are deployed from the start)
  7. Sandbox your code with the specific version when you need to run predeploy commands

TODO

  1. Keep the repo up-to-date
  2. Handle branches/tags
  3. DB Rollback
  4. Integration with CI servers

Screenshots

Successful

Waiting the predeploy command

Predeploying

Special Thanks go out to:

  • Art.sy for let me use 'office' hours to work in this project
  • @abuiles for the super-cool-name
  • @febuiles for the design
Something went wrong with that request. Please try again.