Add publish-service-types-authority job and mapping
Change-Id: I2e16daa3826de2c8e7f990256eb0ec95e875e96c
This commit is contained in:
parent
0f4478429a
commit
5a18b83d97
21
playbooks/publish/service-types.yaml
Normal file
21
playbooks/publish/service-types.yaml
Normal 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
|
4
playbooks/service-types/run.yaml
Normal file
4
playbooks/service-types/run.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- role: tox
|
||||
tox_envlist: publish
|
15
zuul.yaml
15
zuul.yaml
@ -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: |
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user