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.
I'm going to go for one bot that's configurable. SO: Change the secret config file to look like this:
[ircbot] irc.freenode. net
nick=NICKNAME
pass=PASSWORD
server=
port=6667
[gerrit] example. com
user=gerrit2
key=/path/to/id_rsa
host=review.
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: created /nova /swift created openstack- ci-puppet ci/git- review ci/zuul
- events:
patchset-
change-merged
- projects:
openstack
openstack
- branches:
master
stable/*
openstack-infra:
- events:
patchset-
- projects:
openstack/
openstack-
openstack-
- branches:
master
As a final bit, I think that the bot should support being hup'd for a config file re-read without restarting.