Merge "Add whereto test as optional step in doc build"

This commit is contained in:
Zuul 2017-09-09 05:48:12 +00:00 committed by Gerrit Code Review
commit f72ba9390e
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,17 @@
- 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

View File

@ -58,6 +58,7 @@
- job:
name: openstack-doc-build
parent: tox-docs
run: playbooks/openstack-doc-build/run
post-run: playbooks/openstack-doc-build/post
required-projects:
- name: openstack/requirements