project-config/playbooks/publish/openstack-specs.yaml
Andreas Jaeger c1400d61cb Use sphinx_output_suffix
Add "/" to sphinx dir to to remove the final "html" from path to fix
publishing.

Also, add "/" to playbooks/publish/publications.yaml.

Change-Id: Ie90b3204b2530c30468a28f107f74794235a0921
Depends-On: I0eed5ebf5af8d43f6a105a1fc0dcf1b0a9813dbd
2018-01-02 19:55:03 +01:00

23 lines
566 B
YAML

- hosts: all
roles:
- role: fetch-sphinx-output
sphinx_output_suffix: "/"
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 to fileserver
synchronize:
src: "{{ zuul.executor.work_root }}/artifacts/"
dest: "/srv/static/specs/{{ zuul.project.name }}"
no_log: true
when: zuul_success | bool