Add gate-openstack-manuals-validate job.
* modules/jenkins/manifests/params.pp: Define $python_lxml_package names for both RHEL and Ubuntu. * modules/jenkins/manifests/slave.pp: Install Python bindings for libxml2 and libxslt, needed by the tools/validate.py script in the openstack/openstack-manuals project. * .../jenkins_job_builder/config/manuals.yaml (gate-openstack-manuals-validate) New job to run tools/validate.py for openstack/openstack-manuals project changes. * ... /zuul/layout.yaml(jobs): Set gate-openstack-manuals-validate as non-voting. (openstack/openstack-manuals): Add gate-openstack-manuals-validate to run on check and gate pipelines. Change-Id: I0f43834dc25fa41488f795fcf1526c9b0d031a5f Reviewed-on: https://review.openstack.org/22156 Reviewed-by: Lorin Hochstein <lorin@nimbisservices.com> Reviewed-by: Giampaolo Lauria <lauria@us.ibm.com> Reviewed-by: Khai Do <zaro0508@gmail.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
ccdd3b1bd7
commit
c0213ef7b6
@ -34,6 +34,7 @@ class jenkins::params {
|
||||
$pkgconfig_package = 'pkgconfig'
|
||||
$pyflakes_package = 'pyflakes'
|
||||
$python_libvirt_package = 'libvirt-python'
|
||||
$python_lxml_package = 'python-lxml'
|
||||
$python_zmq_package = 'python-zmq'
|
||||
# FIXME: No Python3 packages on RHEL
|
||||
#$python3_dev_package = 'python3-devel'
|
||||
@ -74,6 +75,7 @@ class jenkins::params {
|
||||
$pkgconfig_package = 'pkg-config'
|
||||
$pyflakes_package = 'pyflakes'
|
||||
$python_libvirt_package = 'python-libvirt'
|
||||
$python_lxml_package = 'python-lxml'
|
||||
$python_zmq_package = 'python-zmq'
|
||||
$python3_dev_package = 'python3-all-dev'
|
||||
$rubygems_package = 'rubygems'
|
||||
|
@ -47,6 +47,7 @@ class jenkins::slave(
|
||||
$::jenkins::params::pkgconfig_package, # for spidermonkey, used by ceilometer
|
||||
$::jenkins::params::pyflakes_package,
|
||||
$::jenkins::params::python_libvirt_package,
|
||||
$::jenkins::params::python_lxml_package, # for validating openstack manuals
|
||||
$::jenkins::params::python_zmq_package, # zeromq unittests (not pip installable)
|
||||
$::jenkins::params::rubygems_package,
|
||||
$::jenkins::params::sqlite_package,
|
||||
|
@ -27,6 +27,20 @@
|
||||
keep-hierarchy: true
|
||||
copy-after-failure: true
|
||||
|
||||
- job:
|
||||
name: gate-openstack-manuals-validate
|
||||
node: precise
|
||||
|
||||
triggers:
|
||||
- zuul
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- shell: "./tools/validate.py"
|
||||
|
||||
publishers:
|
||||
- console-log
|
||||
|
||||
- job:
|
||||
name: openstack-cli-guide
|
||||
project-type: maven
|
||||
|
@ -105,6 +105,8 @@ jobs:
|
||||
- name: gate-openstack-cli-guide
|
||||
success-pattern: http://docs-draft.openstack.org/{job.name}/{pipeline.name}/{build.number}/cli/quick-start
|
||||
branch: ^(?!stable/(diablo|essex)).*$
|
||||
- name: gate-openstack-manuals-validate
|
||||
voting: false
|
||||
|
||||
|
||||
projects:
|
||||
@ -1007,8 +1009,10 @@ projects:
|
||||
- name: openstack/openstack-manuals
|
||||
check:
|
||||
- gate-openstack-cli-guide
|
||||
- gate-openstack-manuals-validate
|
||||
gate:
|
||||
- gate-openstack-cli-guide
|
||||
- gate-openstack-manuals-validate
|
||||
post:
|
||||
- openstack-admin-manual-compute
|
||||
- openstack-admin-manual-keystone-diablo
|
||||
|
Loading…
Reference in New Issue
Block a user