Add a job to check IRC channel access

Add an IRC channel config file with some stub access information
for a few channels.  A new tool can read this file and verify
that openstackinfra has founder access on all the channels listed
in the file.

Run a job on changes to that file to verify that access is correct.

Later, other tools (like statusbot or gerritbot) may read that
file directly to determine which channels to join.  Or we can at
least add checks that all channels referenced by another tool
(like eavesdrop) are also listed in this file.

Related-Bug: 1190296
Change-Id: I38440e745402af5bbc3f0d0cc04a150c0a4bb47c
This commit is contained in:
James E. Blair
2014-03-04 17:30:58 -08:00
parent 7ce51563e4
commit becdd4b1eb
5 changed files with 215 additions and 0 deletions

View File

@@ -14,6 +14,11 @@ commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:irc]
deps = PyYAML
irc
commands = python modules/openstack_project/files/irc/checkaccess.py -l modules/openstack_project/files/irc/channels.yaml openstackinfra
[flake8]
show-source = True
exclude = .tox