diff --git a/playbooks/build-placement-api-ref/post.yaml b/playbooks/build-placement-api-ref/post.yaml new file mode 100644 index 00000000..79cb357c --- /dev/null +++ b/playbooks/build-placement-api-ref/post.yaml @@ -0,0 +1,5 @@ +- hosts: all + roles: + - role: fetch-tox-output + - role: fetch-sphinx-output + sphinx_output_src: "{{ zuul.project.src_dir }}/placement-api-ref/build/html" diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index d409e02c..c5a37736 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -453,6 +453,8 @@ - ^tox.ini$ - ^api-ref/.* - ^doc/api_samples/.* + - bindep.txt + - other-requirements.txt - job: name: build-openstack-api-guide @@ -471,6 +473,8 @@ files: - ^tox.ini$ - ^api-guide/.* + - bindep.txt + - other-requirements.txt - job: name: build-openstack-deploy-guide @@ -488,6 +492,25 @@ - bindep.txt - other-requirements.txt +- job: + name: build-placement-api-ref + parent: openstack-tox + description: | + Build placement-api-ref document. This job runs only on master branch. + success-url: html/ + post-run: playbooks/build-placement-api-ref/post + timeout: 1800 + # We only publish the master branch, so no need to run + # for changes on other branches. + branches: master + vars: + tox_envlist: placement-api-ref + files: + - ^tox.ini$ + - ^placement-api-ref/.* + - bindep.txt + - other-requirements.txt + - job: name: legacy-base description: |