puppet-openstack-integration/zuul.d/unit.yaml
Takashi Kajinami 867f939bd6 Run unittests and lint tests on CentOS8
This patch introduces a job to run unit tests and lint tests on
CentOS8, as we are migrating from CentOS7 to CentOS8.

Note that we have a job with puppet 5.5 initially, because we still
use puppet 5.5 in rdo train, but puppet 5 will be deprecated in Ussri.

Change-Id: Id643efdbab93f39ce3b168a2d1c451035547ecab
2020-03-03 22:19:36 +09:00

72 lines
2.0 KiB
YAML

---
# This file contains the puppet unit job configurations
#
- job:
name: puppet-openstack-unit-4.10-centos-7
parent: puppet-openstack-unit-base
nodeset: centos-7
branches: ^stable/(ocata|pike|queens|rocky|stein)$
vars:
puppet_gem_version: 4.10
- job:
name: puppet-openstack-unit-5.5-centos-7
parent: puppet-openstack-unit-base
nodeset: centos-7
vars:
puppet_gem_version: 5.5
- job:
name: puppet-openstack-unit-5.5-centos-8
parent: puppet-openstack-unit-base
nodeset: centos-8
voting: false
branches: ^(?!stable/(ocata|pike|queens|rocky|stein)).*$
vars:
puppet_gem_version: 5.5
- job:
name: puppet-openstack-unit-6.11-centos-8
parent: puppet-openstack-unit-base
nodeset: centos-8
voting: false
branches: ^(?!stable/(ocata|pike|queens|rocky|stein)).*$
vars:
puppet_gem_version: 6.11
- job:
name: puppet-openstack-unit-6.11-ubuntu-bionic
parent: puppet-openstack-unit-base
nodeset: ubuntu-bionic
branches: ^(?!stable/(ocata|pike|queens|rocky|jewel|mimic|luminous)).*$
vars:
puppet_gem_version: 6.11
- job:
name: puppet-openstack-unit-latest-ubuntu-bionic
parent: puppet-openstack-unit-base
nodeset: ubuntu-bionic
branches: ^master
voting: false
vars:
puppet_gem_version: latest
# TODO(tobias-urdin): Remove this when we 2.7.1 works without
# any issues and we can leave it not pinned to anything.
rspec_puppet_version: '= 2.7.1'
- project-template:
name: puppet-openstack-module-unit-jobs
check:
jobs:
- puppet-openstack-unit-4.10-centos-7
- puppet-openstack-unit-5.5-centos-7
- puppet-openstack-unit-5.5-centos-8
- puppet-openstack-unit-6.11-centos-8
- puppet-openstack-unit-6.11-ubuntu-bionic
- puppet-openstack-unit-latest-ubuntu-bionic
gate:
jobs:
- puppet-openstack-unit-4.10-centos-7
- puppet-openstack-unit-5.5-centos-7
- puppet-openstack-unit-6.11-ubuntu-bionic