project-config/playbooks/publish/install-guide.yaml
Ian Wienand 40a775835d Migrate to upload-afs-roots role
Handle the name change in the dependent change.  Should have no
functional change.

Depends-On: https://review.opendev.org/705368
Change-Id: I5fdc858892b1cf31649c2a8bef3d018afe68cb22
2020-02-03 14:16:39 +11:00

21 lines
629 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-roots
afs_target: "{{ afs.path }}/project-install-guide/{{ service_type_data.service_type }}"
when: zuul_success | bool
- role: destroy-afs-token
when: zuul_success | bool