13a44fbc66
The ocata and earlier guides have been publishing to the service-type, not the project-name. The Zuul v3 conversion broke this, restore this. Note that this still results in some different names since we use the services-type-authority now and formerly had hand-written assignments. Change-Id: Ib03cc560868db725e151e0e8c9107846137f5d27
26 lines
884 B
YAML
26 lines
884 B
YAML
- hosts: all
|
|
roles:
|
|
- role: prepare-docs-for-afs
|
|
doc_toplevel_dir: "install-guide"
|
|
when: zuul_success | bool
|
|
- fetch-tox-output
|
|
- role: write-root-marker
|
|
root_marker_dir: "src/{{ zuul.project.canonical_name }}/install-guide/build/html"
|
|
when: zuul_success | bool
|
|
- role: fetch-sphinx-output
|
|
sphinx_output_src: "{{ zuul.project.src_dir }}/install-guide/build/html/"
|
|
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
|