project-config/playbooks/publish/service-types.yaml
Monty Taylor c422720f05
Be more descriptive when publishing service-types
Change-Id: Ie8aeb5f22a6280bda01cb5443fe345b6f82bd324
2017-09-20 16:24:06 -05:00

22 lines
600 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: Publish service-types-authority data to service-types.openstack.org
synchronize:
src: "{{ zuul.executor.work_root }}/artifacts/"
dest: "/srv/static/service-types/"
no_log: true