41692f866e
Change-Id: I1c0c6a8244f019d70e4ec1e1fc56f5641f6edeaf
23 lines
759 B
YAML
23 lines
759 B
YAML
- hosts: all
|
|
roles:
|
|
- fetch-tox-output
|
|
- role: write-root-marker
|
|
root_marker_dir: "src/{{ zuul.project.canonical_name }}/api-guide/build/html"
|
|
when: zuul_success | bool
|
|
- role: fetch-sphinx-output
|
|
sphinx_output_src: "{{ zuul.project.src_dir }}/api-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 }}/api-guide/{{ service_type_data.service_type }}"
|
|
when: zuul_success | bool
|
|
- role: destroy-afs-token
|
|
when: zuul_success | bool
|