Deployment Status on HipChat for Rails Apps
We really like HipChat integrations, they provide an easy way to interact with 3rd party services. For example, we set up Heroku and Capistrano so the team gets notifications about deployment of our Rails applications. These integrations are extremely easy to set up.
Hipchat w/ Heroku
HipChat integrations with Heroku is about executing one line from the command line:
heroku addons:add deployhooks:http \ --url="https://api.hipchat.com/v1/webhooks/heroku?auth_token=<token>&room_id=<room_id>"
Token is accessible from
Room IDs can be viewed via
HipChat w/ Capistrano
Capistrano Integration with HipChat requires a bit more work, but it is still quite easy. You start by adding mojotech/hipchat gem to your
Gemfile, followed by
bundle install. Next step is to add
require 'hipchat/capistrano' to
config/deploy.rb along with some settings:
set :hipchat_token, "<your token>" set :hipchat_room_name, "Your room" set :hipchat_announce, false # notify users
And that’s all. Enjoy your HipChat integration with Heroku or Capistrano.