Merge "Fix placement-api jobs"

This commit is contained in:
Zuul 2017-10-21 13:40:48 +00:00 committed by Gerrit Code Review
commit 79b80f3be9
3 changed files with 38 additions and 12 deletions

View 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

View File

@ -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: |

View File

@ -16646,11 +16646,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:
@ -16737,11 +16733,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:
@ -16777,8 +16769,7 @@
post:
jobs:
- openstack-tox-cover
- legacy-placement-api-ref:
branches: master
- publish-placement-api-ref
experimental:
jobs:
- legacy-tempest-dsvm-nova-v20-api: