/release-tracker

Primary LanguageJavaScriptMIT LicenseMIT

release-tracker

Job Status
Deploy Deploy status

Track which commits, from a list of committers, make it into an official CF deployment via the CAPI release and cloud_controller_ng repos.

You will need a Github token to use this application. Follow the instructions here to generate a new token.

Adding a commiter to track

Add your Github username to COMMITTERS.txt

Installation

npm install

Running locally

GITHUB_TOKEN=<github-token> npm start

Deploying to CF

cf push --no-start
cf set-env release-tracker GITHUB_TOKEN <token>
cf start release-tracker

If you would also like a Slack message alert when a new CF deployment is cut, you should provide the SLACK_WEBHOOK and SLACK_CHANNEL environmental variables. Webhooks usually look like https://hooks.slack.com/services/xxx/xxx.

cf set-env release-tracker SLACK_WEBHOOK <webhook>
cf set-env release-tracker SLACK_CHANNEL <channel>