project-config/playbooks/sphinx/post.yaml
Andreas Jaeger 4cb4286f84 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
2018-02-17 18:44:46 +01:00

9 lines
251 B
YAML

- hosts: all
roles:
- 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