Heroku Bartender
Is a simple way to manage releases in heroku
How to bartender
Install
gem install heroku-
Run
heroku-
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
- You can rollback your heroku app to a specific commit hash
- You can secure your heroku-bartender server using HTTP Basic Auth
- You can use a custom heroku remote target to deploy your app
- Shows red/yellow/green status for deploys (red: fail, green: ok, yellow: unknow problem)
- Shows dates for deployed versions
- Shows colors/status for old deployed versions (only the versions that are deployed from the start)
TODO
- Keep the repo up-to-date
- Handle branches/tags
- DB Rollback
- Async build
- Integration with CI servers