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'
|
$pkgconfig_package = 'pkgconfig'
|
||||||
$pyflakes_package = 'pyflakes'
|
$pyflakes_package = 'pyflakes'
|
||||||
$python_libvirt_package = 'libvirt-python'
|
$python_libvirt_package = 'libvirt-python'
|
||||||
|
$python_lxml_package = 'python-lxml'
|
||||||
$python_zmq_package = 'python-zmq'
|
$python_zmq_package = 'python-zmq'
|
||||||
# FIXME: No Python3 packages on RHEL
|
# FIXME: No Python3 packages on RHEL
|
||||||
#$python3_dev_package = 'python3-devel'
|
#$python3_dev_package = 'python3-devel'
|
||||||
@ -74,6 +75,7 @@ class jenkins::params {
|
|||||||
$pkgconfig_package = 'pkg-config'
|
$pkgconfig_package = 'pkg-config'
|
||||||
$pyflakes_package = 'pyflakes'
|
$pyflakes_package = 'pyflakes'
|
||||||
$python_libvirt_package = 'python-libvirt'
|
$python_libvirt_package = 'python-libvirt'
|
||||||
|
$python_lxml_package = 'python-lxml'
|
||||||
$python_zmq_package = 'python-zmq'
|
$python_zmq_package = 'python-zmq'
|
||||||
$python3_dev_package = 'python3-all-dev'
|
$python3_dev_package = 'python3-all-dev'
|
||||||
$rubygems_package = 'rubygems'
|
$rubygems_package = 'rubygems'
|
||||||
|
@ -47,6 +47,7 @@ class jenkins::slave(
|
|||||||
$::jenkins::params::pkgconfig_package, # for spidermonkey, used by ceilometer
|
$::jenkins::params::pkgconfig_package, # for spidermonkey, used by ceilometer
|
||||||
$::jenkins::params::pyflakes_package,
|
$::jenkins::params::pyflakes_package,
|
||||||
$::jenkins::params::python_libvirt_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::python_zmq_package, # zeromq unittests (not pip installable)
|
||||||
$::jenkins::params::rubygems_package,
|
$::jenkins::params::rubygems_package,
|
||||||
$::jenkins::params::sqlite_package,
|
$::jenkins::params::sqlite_package,
|
||||||
|
@ -27,6 +27,20 @@
|
|||||||
keep-hierarchy: true
|
keep-hierarchy: true
|
||||||
copy-after-failure: 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:
|
- job:
|
||||||
name: openstack-cli-guide
|
name: openstack-cli-guide
|
||||||
project-type: maven
|
project-type: maven
|
||||||
|
@ -105,6 +105,8 @@ jobs:
|
|||||||
- name: gate-openstack-cli-guide
|
- name: gate-openstack-cli-guide
|
||||||
success-pattern: http://docs-draft.openstack.org/{job.name}/{pipeline.name}/{build.number}/cli/quick-start
|
success-pattern: http://docs-draft.openstack.org/{job.name}/{pipeline.name}/{build.number}/cli/quick-start
|
||||||
branch: ^(?!stable/(diablo|essex)).*$
|
branch: ^(?!stable/(diablo|essex)).*$
|
||||||
|
- name: gate-openstack-manuals-validate
|
||||||
|
voting: false
|
||||||
|
|
||||||
|
|
||||||
projects:
|
projects:
|
||||||
@ -1007,8 +1009,10 @@ projects:
|
|||||||
- name: openstack/openstack-manuals
|
- name: openstack/openstack-manuals
|
||||||
check:
|
check:
|
||||||
- gate-openstack-cli-guide
|
- gate-openstack-cli-guide
|
||||||
|
- gate-openstack-manuals-validate
|
||||||
gate:
|
gate:
|
||||||
- gate-openstack-cli-guide
|
- gate-openstack-cli-guide
|
||||||
|
- gate-openstack-manuals-validate
|
||||||
post:
|
post:
|
||||||
- openstack-admin-manual-compute
|
- openstack-admin-manual-compute
|
||||||
- openstack-admin-manual-keystone-diablo
|
- openstack-admin-manual-keystone-diablo
|
||||||
|
Loading…
Reference in New Issue
Block a user