project-config/playbooks/publish/openstack-specs.yaml
Monty Taylor 680c0e2d90
Add specs publication jobs
We need to publish specs differently than docs.

Change-Id: I54cded42086b2b3b39738cb8dc402e110d9eea6a
2017-09-20 10:08:21 -05:00

22 lines
580 B
YAML

- hosts: all
roles:
- fetch-tox-output
- role: fetch-sphinx-output
sphinx_output_src: "src/{{ zuul.project.canonical_name }}/doc/build/html/"
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
- hosts: localhost
roles:
- role: add-fileserver
fileserver: "{{ site_logs }}"
- hosts: "{{ site_logs.fqdn }}"
gather_facts: False
tasks:
- name: Upload specs to fileserver
synchronize:
src: "{{ zuul.executor.work_root }}/artifacts/"
dest: "/srv/static/specs/{{ zuul.project.short_name }}"
no_log: true