Comment 2 for bug 1020987

Revision history for this message
Monty Taylor (mordred) wrote :

I'm going to go for one bot that's configurable. SO: Change the secret config file to look like this:

[ircbot]
nick=NICKNAME
pass=PASSWORD
server=irc.freenode.net
port=6667

[gerrit]
user=gerrit2
key=/path/to/id_rsa
host=review.example.com
port=29418

And then make a yaml file that can live in the git repo that looks something like this (except for sensible)

openstack-dev:
  - events:
    patchset-created
    change-merged
  - projects:
      openstack/nova
      openstack/swift
  - branches:
      master
      stable/*
openstack-infra:
  - events:
    patchset-created
  - projects:
    openstack/openstack-ci-puppet
    openstack-ci/git-review
    openstack-ci/zuul
 - branches:
    master

As a final bit, I think that the bot should support being hup'd for a config file re-read without restarting.