41692f866e
Change-Id: I1c0c6a8244f019d70e4ec1e1fc56f5641f6edeaf
23 lines
617 B
YAML
23 lines
617 B
YAML
- hosts: all
|
|
roles:
|
|
- fetch-tox-output
|
|
- role: fetch-sphinx-output
|
|
sphinx_output_src: "src/{{ zuul.project.canonical_name }}/specs/output/"
|
|
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
|
|
when: zuul_success | bool
|
|
|
|
- hosts: localhost
|
|
roles:
|
|
- role: add-fileserver
|
|
fileserver: "{{ site_logs }}"
|
|
|
|
- hosts: "{{ site_logs.fqdn }}"
|
|
gather_facts: False
|
|
tasks:
|
|
- name: Upload specs site to fileserver
|
|
synchronize:
|
|
src: "{{ zuul.executor.work_root }}/artifacts/"
|
|
dest: "/srv/static/specs/"
|
|
no_log: true
|
|
when: zuul_success | bool
|