Notify the rollbar error tracker of dokku deployments
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Dokku Rollbar

Dokku Rollbar is a plugin for Dokku that notifies Rollbar of deployments.

This dokku plugin could be easily modified to support other error trackers (Sentry, etc).

Installation

Verified to work on dokku 0.5+, will probably work without modification on early dokku versions.

$ dokku plugin:install https://github.com/iloveitaly/dokku-rollbar.git

The plugin pulls the Rollbar access token from your app's ROLLBAR_TOKEN and your environment from ROLLBAR_ENV, RAILS_ENV or RACK_ENV. The app environment will default to production if none of them is not set.

Dependencies

As of Dokku 0.12, GIT_REV is set as a config value during a git deployment.

For Dokku < 0.12, we use the GIT_REV variable set by dokku-git-rev.

$ dokku plugin:install https://github.com/dokku-community/dokku-git-rev.git --name dokku-git-rev

dokku-rollbar will work without GIT_REV being available, but may report an incorrect commit hash.

Commands

No commands. If ROLLBAR_TOKEN is set, Rollbar will be notified of each deploy.

Inspiration

License