openstack-zuul-jobs/playbooks/sphinx-docs/run.yaml
Paul Belanger 728a942131
Create build-openstack-sphinx-docs job
Since we don't need docs-draft to be special, we can do this job
here rather than in project-config. The new name will not conflict
with the name in project-config, but also matches the infra-manual
guidelines on job naming (action first)

Change-Id: I08f5e7aab981098ad053e39fbb614bd6d0606fc7
2017-09-21 16:45:08 -05:00

18 lines
394 B
YAML

- hosts: all
roles:
- tox
post_tasks:
- name: check for whereto
stat:
path: "{{ zuul_work_dir }}/.tox/{{ tox_envlist }}/bin/whereto"
register: whereto
- name: Run tox again for whereto
include_role:
name: tox
vars:
tox_extra_args: whereto doc/source/_extra/.htaccess doc/test/redirect-tests.txt
when: whereto.stat.exists