Add gates for API projects and operations-guide

This change uses the same setup that is used for api-site already:
* Create checks and gates for niceness, syntax, deletions, build
* Make checkniceness non-voting

It enables these for all API projects and the operations-guide.

Removes also the old operations-guide gate job since it's not used
anymore.

Change-Id: I1cc9f50e40ff422e7bbcf2cb581292f2c79c3f71
This commit is contained in:
Andreas Jaeger 2014-01-17 08:43:54 +01:00
parent a2413944d3
commit 42a4c570ed
3 changed files with 42 additions and 64 deletions

View File

@ -1,29 +1,3 @@
- job:
name: gate-openstack-manuals-operations-guide
project-type: maven
node: precise
prebuilders:
- gerrit-git-prep
maven:
maven-name: Maven3
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/openstack-ops/pom.xml
goals: 'clean generate-sources -B'
publishers:
- console-log
- scp:
site: 'static.openstack.org'
files:
- target: 'docs-draft/$LOG_PATH/ops/'
source: 'doc/openstack-ops/target/docbkx/webhelp/**'
keep-hierarchy: true
copy-after-failure: true
# in zuul/layout.yaml specified to only run against stable/grizzly
- job:
name: gate-openstack-manuals-validate

View File

@ -297,6 +297,7 @@
jobs:
- compute-api-v2.0
- openstack-doc-jobs
- project:
@ -559,6 +560,7 @@
jobs:
- identity-api-v2.0
- openstack-doc-jobs
- project:
@ -569,6 +571,7 @@
doc-publisher-site: docs.openstack.org
jobs:
- openstack-doc-jobs
- image-api-v1.1
@ -606,6 +609,7 @@
jobs:
- network-api-v1
- openstack-doc-jobs
- project:
@ -666,6 +670,7 @@
jobs:
- object-api-v1.0
- openstack-doc-jobs
- project:
@ -1860,8 +1865,7 @@
node: precise
jobs:
- gate-{name}-tox-{envlist}:
envlist: checkniceness
- openstack-doc-jobs
- project:
name: manila
@ -2007,6 +2011,7 @@
- '{name}-tarball'
- pypi-jobs
- project:
name: api-site
github-org: openstack
@ -2015,6 +2020,24 @@
jobs:
- openstack-doc-jobs
- project:
name: database-api
github-org: openstack
node: precise
jobs:
- openstack-doc-jobs
- project:
name: volume-api
github-org: openstack
node: precise
jobs:
- openstack-doc-jobs
- project:
name: python-openstacksdk
github-org: stackforge

View File

@ -356,9 +356,7 @@ jobs:
branch: ^(?!stable/grizzly).*$
- name: gate-openstack-manuals-validate-build
branch: ^(?!stable/grizzly).*$
- name: gate-operations-guide-tox-checkniceness
voting: false
- name: gate-api-site-tox-checkniceness
- name: ^gate-.*-tox-checkniceness$
voting: false
# Deprecated documentation targets:
- name: openstack-block-storage-admin-old
@ -1961,59 +1959,45 @@ projects:
# Section: OpenStack API projects
- name: openstack/compute-api
check:
- gate-noop
gate:
- gate-noop
template:
- name: openstack-doc-gate
post:
- compute-api-v2.0
- compute-api-v2.0-wadl
- name: openstack/database-api
check:
- gate-noop
gate:
- gate-noop
template:
- name: openstack-doc-gate
- name: openstack/identity-api
check:
- gate-noop
gate:
- gate-noop
template:
- name: openstack-doc-gate
post:
- identity-api-v2.0
- name: openstack/image-api
check:
- gate-noop
gate:
- gate-noop
template:
- name: openstack-doc-gate
post:
- image-api-v1.1
- image-api-v2.0
- name: openstack/netconn-api
check:
- gate-noop
gate:
- gate-noop
template:
- name: openstack-doc-gate
post:
- network-api-v1
- network-api-v2
- name: openstack/object-api
check:
- gate-noop
gate:
- gate-noop
template:
- name: openstack-doc-gate
post:
- object-api-v1.0
- name: openstack/volume-api
check:
- gate-noop
gate:
- gate-noop
template:
- name: openstack-doc-gate
post:
- block-api-v2.0
@ -2067,11 +2051,8 @@ projects:
- manuals-propose-translation-update
- name: openstack/operations-guide
check:
- gate-operations-guide-tox-checkniceness
- gate-openstack-manuals-operations-guide
gate:
- gate-openstack-manuals-operations-guide
template:
- name: openstack-doc-gate
post:
- openstack-operations-guide
- openstack-operations-guide-ja