rainforestapp/release-police

Name: release-police

Owner: Rainforest QA

Description: Monitor repos on github to check they're released frequently

Created: 2016-06-10 23:12:25.0

Updated: 2018-04-12 19:53:47.0

Pushed: 2018-04-12 19:53:50.0

Homepage:

Size: 5

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Release Police

This service can be used to periodically checks a list of repos and if the delta between the last commit on develop and master is too far apart, will make a pagerduty alert. We run it at Rainforest to make sure we don't have releases sitting around for long periods.

Configuring

If running on Heroku, you'll need to:

  1. set the environment variables listed in .env_sample. You need a github key (that can read your repos), a pagerduty key, to set a time (we use 120, for 2 hours), plus a list of repo's to monitor.
  2. use the heroku scheduler addon to run “bundle exec ruby main.rb” as often as you want - we do every 10m.

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.