Create gate for api-site

Create a new job-group that will be used by operations-guide, api-site,
openstack-manuals and perhaps API project repositories.
Use job-group for gating of api-site.

Setup template openstack-doc-gate in Zuul.
Setup api-site gates using new template openstack-doc-gate.
The niceness gate is non-voting for now.

Change-Id: I48b95fe17b79150c64f73e742a2e6e9d06050516
This commit is contained in:
Andreas Jaeger 2014-01-03 08:56:21 +01:00
parent 456091c49f
commit 6daca6d37a
3 changed files with 36 additions and 4 deletions

View File

@ -156,3 +156,15 @@
source: 'doc/src/docbkx/{install}/target/docbkx/webhelp/**/atom.xml' source: 'doc/src/docbkx/{install}/target/docbkx/webhelp/**/atom.xml'
target: '' target: ''
remove-prefix: 'doc/src/docbkx/{install}/target/docbkx/webhelp/' remove-prefix: 'doc/src/docbkx/{install}/target/docbkx/webhelp/'
- job-group:
name: openstack-doc-jobs
jobs:
- gate-{name}-tox-{envlist}:
envlist: checkniceness
- gate-{name}-tox-{envlist}:
envlist: checksyntax
- gate-{name}-tox-{envlist}:
envlist: checkdeletions
- gate-{name}-tox-{envlist}:
envlist: checkbuild

View File

@ -1990,3 +1990,11 @@
- gate-{name}-pep8 - gate-{name}-pep8
- '{name}-tarball' - '{name}-tarball'
- pypi-jobs - pypi-jobs
- project:
name: api-site
github-org: openstack
node: precise
jobs:
- openstack-doc-jobs

View File

@ -177,6 +177,18 @@ project-templates:
- 'periodic-{name}-python26-havana' - 'periodic-{name}-python26-havana'
- 'periodic-{name}-python27-havana' - 'periodic-{name}-python27-havana'
- name: openstack-doc-gate
check:
- gate-{name}-tox-checkniceness
- gate-{name}-tox-checksyntax
- gate-{name}-tox-checkdeletions
- gate-{name}-tox-checkbuild
gate:
- gate-{name}-tox-checkniceness
- gate-{name}-tox-checksyntax
- gate-{name}-tox-checkdeletions
- gate-{name}-tox-checkbuild
jobs: jobs:
- name: ^.*$ - name: ^.*$
@ -342,6 +354,8 @@ jobs:
branch: ^(?!stable/grizzly).*$ branch: ^(?!stable/grizzly).*$
- name: gate-operations-guide-tox-checkniceness - name: gate-operations-guide-tox-checkniceness
voting: false voting: false
- name: gate-api-site-tox-checkniceness
voting: false
# Deprecated documentation targets: # Deprecated documentation targets:
- name: openstack-block-storage-admin-old - name: openstack-block-storage-admin-old
branch: stable/grizzly branch: stable/grizzly
@ -1988,10 +2002,8 @@ projects:
# Section: OpenStack documentation projects # Section: OpenStack documentation projects
- name: openstack/api-site - name: openstack/api-site
check: template:
- gate-noop - name: openstack-doc-gate
gate:
- gate-noop
post: post:
- openstack-api-quick-start - openstack-api-quick-start
- openstack-api-site - openstack-api-site