Create new gates for openstack-manuals

Trunk and future stable branches will be checked by the new test.py
tool that implements four different checks.

The syntax and build ones should be run also as gate jobs. Syntax
is needed for checking of files that are not included in any books.

The niceness check is non-voting at the moment.

Change-Id: I45aff5a13e39a96134ed4a0353d15059e9e4af64
This commit is contained in:
Andreas Jaeger 2013-09-24 22:02:51 +02:00
parent 948b405434
commit 35c0b73de4
4 changed files with 39 additions and 0 deletions

View File

@ -1,3 +1,14 @@
- job-template:
name: gate-openstack-manuals-validate-{check}
node: precise
builders:
- gerrit-git-prep
- shell: "./tools/test.py --check-{check}"
publishers:
- console-log
- job-template:
name: 'openstack-{manual}'
project-type: maven

View File

@ -24,6 +24,8 @@
keep-hierarchy: true
copy-after-failure: true
# in zuul/layout.yaml specified to only run against stable/folsom and grizzly
# branches.
- job:
name: gate-openstack-manuals-validate
node: precise

View File

@ -1397,6 +1397,12 @@
- project:
name: manuals
check:
- niceness
- syntax
- deletions
- build
manual:
- admin-guide-cloud
- config-reference
@ -1413,6 +1419,8 @@
- network-connectivity-admin
jobs:
- gate-openstack-manuals-validate-{check}
- 'openstack-{manual}'
- openstack-install-deploy-guide-{distribution}:

View File

@ -207,6 +207,15 @@ jobs:
branch: ^(?!stable/(folsom|grizzly)).*$
- name: openstack-install-deploy-guide-ubuntu
branch: ^(?!stable/(folsom|grizzly)).*$
- name: gate-openstack-manuals-validate-niceness
branch: ^(?!stable/(folsom|grizzly)).*$
voting: false
- name: gate-openstack-manuals-validate-syntax
branch: ^(?!stable/(folsom|grizzly)).*$
- name: gate-openstack-manuals-validate-deletions
branch: ^(?!stable/(folsom|grizzly)).*$
- name: gate-openstack-manuals-validate-build
branch: ^(?!stable/(folsom|grizzly)).*$
# Deprecated documentation targets:
- name: openstack-block-storage-admin-old
branch: stable/(grizzly|folsom)
@ -222,6 +231,8 @@ jobs:
branch: stable/(grizzly|folsom)
- name: openstack-openstack-install-ubuntu-old
branch: stable/(grizzly|folsom)
- name: gate-openstack-manuals-validate
branch: stable/(grizzly|folsom)
- name: ^gate-.*-docs$
success-pattern: http://docs-draft.openstack.org/{build.parameters[LOG_PATH]}/doc/build/html/
- name: infra-publications-publish
@ -2018,8 +2029,15 @@ projects:
- name: openstack/openstack-manuals
check:
- gate-openstack-manuals-validate-niceness
- gate-openstack-manuals-validate-syntax
- gate-openstack-manuals-validate-deletions
- gate-openstack-manuals-validate-build
- gate-openstack-manuals-validate
gate:
- gate-openstack-manuals-validate-syntax
- gate-openstack-manuals-validate-deletions
- gate-openstack-manuals-validate-build
- gate-openstack-manuals-validate
post:
- openstack-admin-guide-cloud