$ gem install tomo-plugin-rollbar
Or add it to your Gemfile:
Then add the following to
plugin "rollbar" set rollbar_env: "production" set rollbar_token: "YOUR_TOKEN_HERE" deploy do # ... # Place this task at *end* of the deploy run "rollbar:notify_deploy" end
If you are not comfortable storing the
rollbar_token in the configuration file, you can alternatively provide it via a
TOMO_ROLLBAR_TOKEN environment variable.
||The environment being deployed, e.g. "production".||
Sends an HTTP POST notification to the Rollbar API describing the release that was successfully deployed. This includes the user who performed the deploy, the environment, the git revision.
Note that this task must run after
git:create_release in the deploy sequence in order to have access to the release information.
Bug reports and pull requests are welcome.
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in this project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.