diff --git a/.zuul.yaml b/.zuul.yaml index 1bc80d56..0f8d0570 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,6 +1,6 @@ - job: - name: irc-meetings-tox-ical - parent: openstack-tox + name: irc-meetings-ical-tox-publish + parent: openstack-tox-docs description: | Run tests using tox with the ``ical`` environment. vars: @@ -9,7 +9,7 @@ - project: check: jobs: - - irc-meetings-tox-ical + - irc-meetings-ical-tox-publish gate: jobs: - - irc-meetings-tox-ical + - irc-meetings-ical-tox-publish diff --git a/tox.ini b/tox.ini index 5c8880e6..4f787f63 100644 --- a/tox.ini +++ b/tox.ini @@ -13,14 +13,20 @@ commands = {posargs} [testenv:ical] basepython = python3 -whitelist_externals = mkdir +whitelist_externals = + mkdir + ln commands = - mkdir -p output/calendars + mkdir -p doc/build/html/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 + -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