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:
Andreas Jaeger 2018-02-17 18:44:46 +01:00
parent 79f49b974f
commit 4cb4286f84
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,8 @@
- hosts: all
roles:
- prepare-infra-docs-for-afs
- role: prepare-infra-docs-for-afs
when: zuul_success | bool
- role: fetch-sphinx-output
sphinx_output_suffix: "/"
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
when: zuul_success | bool

View File

@ -1,6 +1,8 @@
- hosts: all
roles:
- prepare-docs-for-afs
- role: prepare-docs-for-afs
when: zuul_success | bool
- role: fetch-sphinx-output
sphinx_output_suffix: "/"
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
when: zuul_success | bool