Implement Experimental Infra jobs for Puppet 4 testing
This is a first iteration of creating Puppet 4 jobs in experimental pipeline for all openstack-infra/puppet-* and openstack-infra/system-config projects. The jobs will test syntax and puppet-apply. Note, the logic to deploy puppet4 on puppet-apply jobs needs to be done. Change-Id: I576a1e42a4bca78815418a385972fe805a660879
This commit is contained in:
parent
f3e5a6e1c0
commit
870b6c2ef5
|
@ -146,7 +146,7 @@
|
|||
- console-log
|
||||
|
||||
- job-template:
|
||||
name: 'gate-infra-puppet-apply-{node}'
|
||||
name: 'gate-infra-puppet-apply-{puppet_version}-{node}'
|
||||
node: '{node}'
|
||||
|
||||
builders:
|
||||
|
@ -158,6 +158,10 @@
|
|||
#!/bin/bash -xe
|
||||
cd openstack-infra/system-config
|
||||
/usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
||||
if [ "{puppet_version}" == "4" ]; then
|
||||
# TODO:
|
||||
echo "TODO: add logic to deploy puppet4"
|
||||
fi
|
||||
./tools/apply-test.sh
|
||||
|
||||
publishers:
|
||||
|
|
|
@ -14735,7 +14735,10 @@
|
|||
jobs:
|
||||
- puppet-check-jobs:
|
||||
- linters-jobs
|
||||
- gate-infra-puppet-apply-{node}:
|
||||
- gate-infra-puppet-apply-{puppet_version}-{node}:
|
||||
puppet_version:
|
||||
- 3
|
||||
- 4
|
||||
node:
|
||||
- centos-7
|
||||
- debian-jessie
|
||||
|
|
|
@ -982,6 +982,9 @@ project-templates:
|
|||
gate:
|
||||
- gate-{name}-puppet-lint
|
||||
- gate-{name}-puppet-syntax
|
||||
experimental:
|
||||
- gate-{name}-puppet-syntax-3-centos-7
|
||||
- gate-{name}-puppet-syntax-4-centos-7
|
||||
|
||||
- name: puppet-check-jobs
|
||||
check:
|
||||
|
@ -1016,25 +1019,28 @@ project-templates:
|
|||
|
||||
- name: infra-puppet-apply-jobs
|
||||
check:
|
||||
- gate-infra-puppet-apply-centos-7
|
||||
- gate-infra-puppet-apply-debian-jessie
|
||||
- gate-infra-puppet-apply-ubuntu-precise
|
||||
- gate-infra-puppet-apply-ubuntu-trusty
|
||||
- gate-infra-puppet-apply-ubuntu-xenial
|
||||
- gate-infra-puppet-apply-fedora-23
|
||||
- gate-infra-puppet-apply-fedora-24
|
||||
- gate-infra-puppet-apply-3-centos-7
|
||||
- gate-infra-puppet-apply-3-debian-jessie
|
||||
- gate-infra-puppet-apply-3-ubuntu-precise
|
||||
- gate-infra-puppet-apply-3-ubuntu-trusty
|
||||
- gate-infra-puppet-apply-3-ubuntu-xenial
|
||||
- gate-infra-puppet-apply-3-fedora-23
|
||||
- gate-infra-puppet-apply-3-fedora-24
|
||||
- gate-openstackci-beaker-centos-7
|
||||
- gate-openstackci-beaker-ubuntu-trusty
|
||||
- gate-openstackci-beaker-ubuntu-xenial
|
||||
gate:
|
||||
- gate-infra-puppet-apply-centos-7
|
||||
- gate-infra-puppet-apply-debian-jessie
|
||||
- gate-infra-puppet-apply-ubuntu-precise
|
||||
- gate-infra-puppet-apply-ubuntu-trusty
|
||||
- gate-infra-puppet-apply-ubuntu-xenial
|
||||
- gate-infra-puppet-apply-fedora-23
|
||||
- gate-infra-puppet-apply-3-centos-7
|
||||
- gate-infra-puppet-apply-3-debian-jessie
|
||||
- gate-infra-puppet-apply-3-ubuntu-precise
|
||||
- gate-infra-puppet-apply-3-ubuntu-trusty
|
||||
- gate-infra-puppet-apply-3-ubuntu-xenial
|
||||
- gate-infra-puppet-apply-3-fedora-23
|
||||
- gate-infra-puppet-apply-3-fedora-24
|
||||
- gate-openstackci-beaker-centos-7
|
||||
- gate-openstackci-beaker-ubuntu-trusty
|
||||
experimental:
|
||||
- gate-infra-puppet-apply-4-centos-7
|
||||
|
||||
- name: infra-logstash-filter-jobs
|
||||
check:
|
||||
|
@ -1212,11 +1218,11 @@ jobs:
|
|||
branch: ^(?!stable/(liberty|mitaka)).*$
|
||||
|
||||
# Make sure we run ubuntu-trusty on master for puppet-apply.
|
||||
- name: ^gate-infra-puppet-apply-ubuntu-trusty$
|
||||
- name: ^gate-infra-puppet-apply-.*-ubuntu-trusty$
|
||||
branch: master
|
||||
|
||||
# Transitional as we remove Fedora 23
|
||||
- name: ^gate-infra-puppet-apply-fedora-24$
|
||||
- name: ^gate-infra-puppet-apply-.*-fedora-24$
|
||||
voting: false
|
||||
|
||||
# TODO(jaegerandi): Make voting once it passes everywhere
|
||||
|
|
Loading…
Reference in New Issue