Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.02 KB

README.md

File metadata and controls

24 lines (17 loc) · 1.02 KB

deis-rocketchat-notifier

A deis webhook rocketchat notifier

demo

Usage

  • It's recommended to use virtualenv to manage dependencies
  • Install dependencies using pip with pip install -r requirements.txt
  • Configure as described below
  • Run the project with python notifier.py (Or deploy into deis, note that the Procfile is already included into the project)
  • Point deis DEIS_DEPLOY_HOOK_SECRET_KEY to the running api address, reference

Configuration

Set the following environment variables:

  • ROCKETCHAT_USERNAME - the username that will send messaages to ROCKETCHAT_TOPIC
  • ROCKETCHAT_PASSWORD - the password of the user that will send messages to ROCKETCHAT_TOPIC
  • ROCKETCHAT_TOPIC - the topic on which notifier will notify new releases of apps (e.g. #releases)
  • ROCKETCHAT_URL - the rocketchat url