project-config/playbooks/publish/service-types.yaml
Clark Boylan 4deddced0d Fix use of old site_logs secerts
The site_logs secret moved into opendev/basejobs and we renamed the
site_logs secret here into site_logs_project_config and site_specs.
Unfortauntely many of our playbooks in this repo were not updated to use
the new secret name so they cause some jobs to fail.

Fix this by updated the playbooks to use site_logs_project_config and
site_specs as appropriate.

Change-Id: I852a6362c35dd6aa17b0f767fceea811402dd90c
2019-02-08 12:26:22 -08:00

23 lines
665 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"
when: zuul_success | bool
- hosts: localhost
roles:
- role: add-fileserver
fileserver: "{{ site_specs }}"
- hosts: "{{ site_specs.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
when: zuul_success | bool