jouncebot

From Wikitech

jouncebot is a Python reminder bot for Wikimedia Deployments. It reads the deployments calendar and pokes them on IRC when their window opens.

It listens in these channels on irc.freenode.net:

  • #wikimedia-operations

Setup

It runs from Wikimedia Tool Labs under the "jouncebot" account. Bots are started and stopped using normal tool labs conventions.

Source code lives in gerrit.

README

Login

$ ssh tools-login.wmflabs.org
$ become jouncebot

Updating the code

tools.jouncebot@tools-login:~$ cd jouncebot
tools.jouncebot@tools-login:~/jouncebot$ git pull

Restarting

Find the running job ID using job jouncebot then:

$ qdel <job#>
$ jsub -once -continuous -mem 512m -l release=trusty -N jouncebot start_jouncebot.sh

Configuration

jouncebot is configured using a YAML file located in the home directory:

jouncebot.yaml

. See also the default config in

jouncebot/DefaultConfig.yaml

See also