17 lines
475 B
YAML
17 lines
475 B
YAML
- hosts: all
|
|
roles:
|
|
- role: fetch-sphinx-output
|
|
sphinx_output_src: "{{ zuul.project.src_dir }}/_out"
|
|
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 }}/infra/publications/"
|
|
when: zuul_success | bool
|
|
- role: destroy-afs-token
|
|
when: zuul_success | bool
|