project-config/playbooks/publish/install-guide.yaml
Andreas Jaeger 1d2bc1fad9 Avoid double root-marker
prepare-for-afs includes already the root-marker wirter, an extra
write-root-marker is not needed and wrong - we currently end with
stable/queens job having two root-markers:
html/.root-marker
html/queens/.root-marker

Remove the extra root-marker.

Change-Id: I9a7de9ec372266b3b6dcd650b69f1ec401ef0b0c
2018-09-12 10:14:02 +02:00

21 lines
623 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
- hosts: localhost
roles:
- role: set-service-type-data-fact
when: zuul_success | bool
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "{{ afs.path }}/project-install-guide/{{ service_type_data.service_type }}"
when: zuul_success | bool
- role: destroy-afs-token
when: zuul_success | bool