Merge "Add whereto test as optional step in doc build"
This commit is contained in:
commit
f72ba9390e
17
playbooks/openstack-doc-build/run.yaml
Normal file
17
playbooks/openstack-doc-build/run.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user