Sync sphinx post jobs
Run sphinx collection jobs for all post jobs - like we do in playbooks/publish and in sphinx/post-direct.yaml - only in case of success. No need to try copying those if anything fails. Change-Id: I1cddee3eef13bf4caac8e6093ca1980849325d70
This commit is contained in:
parent
79f49b974f
commit
4cb4286f84
@ -1,6 +1,8 @@
|
|||||||
- hosts: all
|
- hosts: all
|
||||||
roles:
|
roles:
|
||||||
- prepare-infra-docs-for-afs
|
- role: prepare-infra-docs-for-afs
|
||||||
|
when: zuul_success | bool
|
||||||
- role: fetch-sphinx-output
|
- role: fetch-sphinx-output
|
||||||
sphinx_output_suffix: "/"
|
sphinx_output_suffix: "/"
|
||||||
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
|
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
|
||||||
|
when: zuul_success | bool
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
- hosts: all
|
- hosts: all
|
||||||
roles:
|
roles:
|
||||||
- prepare-docs-for-afs
|
- role: prepare-docs-for-afs
|
||||||
|
when: zuul_success | bool
|
||||||
- role: fetch-sphinx-output
|
- role: fetch-sphinx-output
|
||||||
sphinx_output_suffix: "/"
|
sphinx_output_suffix: "/"
|
||||||
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
|
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
|
||||||
|
when: zuul_success | bool
|
||||||
|
Loading…
Reference in New Issue
Block a user