48dd7ab00f
This is in preparation for making this output a static site on AFS. Put the output in the expected location for the publish jobs, make a symlink to the old location. Change-Id: I73ff15231a6a3b2d86eeff0ee4e90dbf77ed9e2e
46 lines
1.1 KiB
INI
46 lines
1.1 KiB
INI
[tox]
|
|
envlist = ical,pep8
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:ical]
|
|
basepython = python3
|
|
whitelist_externals =
|
|
mkdir
|
|
ln
|
|
commands =
|
|
mkdir -p doc/build/html/calendars
|
|
yaml2ical -n "OpenStack Meetings" \
|
|
-d "Meeting schedule for the OpenStack projects" \
|
|
-y meetings -o doc/build/html/irc-meetings.ical \
|
|
-t meetingindex.jinja -w doc/build/html/index.html -f
|
|
yaml2ical -y meetings -i doc/build/html/calendars/ -f
|
|
# NOTE(ianw) 2021-06-02 : to maintain compatbility
|
|
# with old jobs that aren't using the default tox docs
|
|
# publishing methods, we symlink ./output
|
|
ln -sf ./doc/build/html/ output
|
|
|
|
[testenv:pep8]
|
|
basepython = python3
|
|
whitelist_externals = bash
|
|
commands =
|
|
bash test_tools/flake8wrap.sh {posargs}
|
|
python tools/check_chair.py -y {toxinidir}/meetings
|
|
python tools/check_channels.py -y {toxinidir}/meetings
|
|
|
|
[flake8]
|
|
ignore =
|
|
exclude = .git,.tox
|
|
max-complexity = 14
|
|
|
|
[hacking]
|
|
import_exceptions =
|