1eaa535d1e
Create a new tool called check_channels.py that ensures that the irc channel is one which is capable of running a fully functional MeetBot *or* one that is an 'office hours' type event that doesn't use MeetBot. Also create a tox textenv to run it. Once this is clean we can add a gate job to run these checks and vote. Change-Id: I57a725b55fb611214d0f0eec08179aae01c1e49a
27 lines
640 B
INI
27 lines
640 B
INI
[tox]
|
|
envlist = ical
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
whitelist_externals = mkdir
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:ical]
|
|
commands =
|
|
mkdir -p output/calendars
|
|
yaml2ical -n "OpenStack Meetings" \
|
|
-d "Meeting schedule for the OpenStack projects" \
|
|
-y meetings -o output/irc-meetings.ical \
|
|
-t meetingindex.jinja -w output/index.html -f
|
|
yaml2ical -y meetings -i output/calendars/ -f
|
|
|
|
[testenv:check]
|
|
commands =
|
|
python tools/check_channels.py -y meetings
|