Fix placement-api jobs
Create new publish-placement-api-ref job and use the new build-placement-api-ref job in nova. Depends-On: Ib50a094db845f63d802c0f76f4a9d44517f401fa Needed-By: Ia62e5f9f14716d3595b2d14edfe0781d4e7af9ac Change-Id: I6c57d43b464a26eb396f3c12d5a14b6b21fa2ef8
This commit is contained in:
parent
7f74f0b642
commit
97bf7bc808
15
playbooks/publish/placement-api-ref.yaml
Normal file
15
playbooks/publish/placement-api-ref.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- fetch-tox-output
|
||||
- role: write-root-marker
|
||||
root_marker_dir: "src/{{ zuul.project.canonical_name }}/placement-api-ref/build/html"
|
||||
- role: fetch-sphinx-output
|
||||
sphinx_output_src: "{{ zuul.project.src_dir }}/placement-api-ref/build/html/"
|
||||
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
|
||||
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- create-afs-token
|
||||
- role: upload-afs
|
||||
afs_target: "{{ afs.path }}/api-ref/placement"
|
||||
- destroy-afs-token
|
@ -532,6 +532,26 @@
|
||||
- secret: afsdeveloper_secret
|
||||
name: afs
|
||||
|
||||
- job:
|
||||
name: publish-placement-api-ref
|
||||
description: |
|
||||
Publish placement-api-ref document to
|
||||
https://developer.openstack.org/api-ref/placement.
|
||||
pre-run: playbooks/python-docs/pre
|
||||
run: playbooks/project-config/run-tox
|
||||
post-run: playbooks/publish/placement-api-ref
|
||||
roles:
|
||||
- zuul: openstack-infra/zuul-jobs
|
||||
- zuul: openstack-infra/openstack-zuul-jobs
|
||||
# We only publish the master branch, so no need to run
|
||||
# for changes on other branches.
|
||||
branches: master
|
||||
vars:
|
||||
tox_envlist: placement-api-ref
|
||||
secrets:
|
||||
- secret: afsdeveloper_secret
|
||||
name: afs
|
||||
|
||||
- job:
|
||||
name: publish-deploy-guide
|
||||
description: |
|
||||
|
@ -16991,11 +16991,7 @@
|
||||
- ^nova/locale/.*$
|
||||
- ^nova/tests/.*$
|
||||
- ^tests-py3.txt$
|
||||
- legacy-gate-placement-api-ref:
|
||||
branches: master
|
||||
files:
|
||||
- ^tox.ini$
|
||||
- ^placement-api-ref/.*
|
||||
- build-placement-api-ref
|
||||
- legacy-tempest-dsvm-neutron-full:
|
||||
branches: ^(?!driverfixes/).*$
|
||||
irrelevant-files:
|
||||
@ -17082,11 +17078,7 @@
|
||||
- ^tests-py3.txt$
|
||||
- ^tools/.*$
|
||||
- ^tox.ini$
|
||||
- legacy-gate-placement-api-ref:
|
||||
branches: master
|
||||
files:
|
||||
- ^tox.ini$
|
||||
- ^placement-api-ref/.*
|
||||
- build-placement-api-ref
|
||||
- legacy-tempest-dsvm-neutron-full:
|
||||
branches: ^(?!driverfixes/).*$
|
||||
irrelevant-files:
|
||||
@ -17122,8 +17114,7 @@
|
||||
post:
|
||||
jobs:
|
||||
- openstack-tox-cover
|
||||
- legacy-placement-api-ref:
|
||||
branches: master
|
||||
- publish-placement-api-ref
|
||||
experimental:
|
||||
jobs:
|
||||
- legacy-tempest-dsvm-nova-v20-api:
|
||||
|
Loading…
x
Reference in New Issue
Block a user