project-config/playbooks/publish/releasenotes.yaml
Ian Wienand 9dc912f0ac Update releasenotes publish job
The build job was modified to not use tox in
I56909152975f731a9d2c21b2825b972195e48ee8.  Fix up the argument and
don't try to get the tox output that won't exist any more.

Change-Id: I0b470df7b5e9c772a36f25a549a46f059be3a41b
2017-11-17 11:17:04 +11:00

20 lines
657 B
YAML

- hosts: all
roles:
- role: write-root-marker
root_marker_dir: "{{ zuul.project.src_dir }}/releasenotes/build/html/"
when: zuul_success | bool
- role: fetch-sphinx-output
sphinx_output_src: "{{ zuul.project.src_dir }}/releasenotes/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 }}/releasenotes/{{ zuul.project.short_name }}"
when: zuul_success | bool
- role: destroy-afs-token
when: zuul_success | bool