Перейти к файлу
Chris Brentano 16f428c35d
Merge pull request #13 from mozilla/dependabot/pip/pyyaml-5.4
Bump pyyaml from 5.1.2 to 5.4
2021-03-30 09:26:56 -07:00
.gitignore Save state between runs so we don't advertise an oncall change every time the bot gets restarted 2018-11-13 16:05:37 -05:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file 2019-03-30 00:02:50 -07:00
LICENSE Initial commit 2018-10-10 17:30:20 -04:00
README.md fix list formatting 2018-10-11 15:42:46 -04:00
config.yml.dist Move prefix char to the config. Fixes #10 2019-09-30 15:57:18 -04:00
netops-slackbot.py Move prefix char to the config. Fixes #10 2019-09-30 15:57:18 -04:00
requirements-dev.txt Ported to slackclient 2.x 2019-09-26 17:05:44 -04:00
requirements.txt Bump pyyaml from 5.1.2 to 5.4 2021-03-25 22:14:04 +00:00

README.md

netops-slackbot

This code is loosely based on https://github.com/mattmakai/slack-starterbot and code the Mozilla Operations Center was already using to interact with PagerDuty.

To install:

  • copy config.yml.dist to config.yml
  • edit config.yml to suit. At a minimum you need:
    • your Slack API key
    • your PagerDuty API key
    • the schedule ID and escalation policy ID that you wish to grab the oncall from (you need both for it to be accurate)
  • virtualenv env
  • source env/bin/activate
  • pip install -r requirements.txt