ca591b8e5a
Adopt to change to prepare-docs-for-afs. Change-Id: I708dab3119bb4b167b4ae68eb7fa575fa96e7984 Depends-On: Ib9c28eeea6c369f4ccad50c0672eee4f91b4370a
24 lines
806 B
YAML
24 lines
806 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: create-afs-token
|
|
when: zuul_success | bool
|
|
- role: upload-afs
|
|
afs_target: "{{ afs.path }}/project-install-guide/{{ zuul.project.short_name }}"
|
|
when: zuul_success | bool
|
|
- role: destroy-afs-token
|
|
when: zuul_success | bool
|