Skip to content

Notify the rollbar error tracker of dokku deployments

License

Notifications You must be signed in to change notification settings

iloveitaly/dokku-rollbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Notify the rollbar error tracker of dokku deployments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages