Add publish-service-types-authority job and mapping

Change-Id: I2e16daa3826de2c8e7f990256eb0ec95e875e96c
This commit is contained in:
Monty Taylor 2017-09-15 18:13:54 -06:00
parent 0f4478429a
commit 5a18b83d97
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
4 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,21 @@
- 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/service-types/"
no_log: true

View File

@ -0,0 +1,4 @@
- hosts: all
roles:
- role: tox
tox_envlist: publish

View File

@ -474,6 +474,21 @@
- secret: afsdocs_secret
name: afs
- job:
name: publish-service-types-authority
description: |
Publish OpenStack Service Types Authority to
https://service-types.openstack.org
final: True
pre-run: playbooks/python-docs/pre
run: playbooks/service-types/run
post-run: playbooks/publish/service-types
roles:
- zuul: openstack-infra/zuul-jobs
- zuul: openstack-infra/openstack-zuul-jobs
secrets:
- site_logs
- job:
name: publish-openstack-python-docs-infra-index
description: |

View File

@ -113,6 +113,9 @@ job-mapping:
vars:
update_target: os-service-types
- old: publish-service-types-authority
new: publish-service-types-authority
# List of project-template mapping data. In each entry:
# old
# v2 project-template name. If a template is listed here, the old template