This application notifies a specific Slack channel when a specific Git branch fails to test on CircleCI.
But can't you do this with a Slack integration already? Currently, the CircleCI integration will show fixed/failed messages for all branches, which is much too verbose for a large team. Also, we want to make sure that a broken-master alert gets everyone's attention.
- Follow the Heroku Getting Started guide if you haven't already.
- Clone this repo and
cdto it. - Run
npm installand thennpm install -g nodemon coffee-script - Create a
.envfile that looks like the sample below. - Run
npm run dev
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
SLACK_CHANNEL=#eng
GIT_BRANCH=master
- If creating a new app, run
heroku createand then set each config var usingheroku config(read docs here] - Use
heroku config:setto set environment variables on the Heroku app. - Make sure the app runs locally with Foreman:
foreman start web - To deploy, run
git push heroku
Set up a notify webhook to the Heroku URL as described here.
Copyright 2015 Artillery Games, Inc. Licensed under the MIT license.

