project-config/playbooks/publish/deploy-guide.yaml
Andreas Jaeger ca591b8e5a fix publishing of deploy and install guide
Adopt to change to prepare-docs-for-afs.

Change-Id: I708dab3119bb4b167b4ae68eb7fa575fa96e7984
Depends-On: Ib9c28eeea6c369f4ccad50c0672eee4f91b4370a
2017-10-27 19:38:45 +02:00

24 lines
802 B
YAML

- hosts: all
roles:
- role: prepare-docs-for-afs
doc_toplevel_dir: "deploy-guide"
when: zuul_success | bool
- fetch-tox-output
- role: write-root-marker
root_marker_dir: "src/{{ zuul.project.canonical_name }}/deploy-guide/build/html"
when: zuul_success | bool
- role: fetch-sphinx-output
sphinx_output_src: "{{ zuul.project.src_dir }}/deploy-guide/build/html/"
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
when: zuul_success | bool
- hosts: localhost
roles:
- role: create-afs-token
when: zuul_success | bool
- role: upload-afs
afs_target: "{{ afs.path }}/project-deploy-guide/{{ zuul.project.short_name }}"
when: zuul_success | bool
- role: destroy-afs-token
when: zuul_success | bool