puppet-openstack-integration/zuul.d/unit.yaml
Tobias Urdin d12671bc28 Set selective rspec-puppet versions
We set the 2.7.1 rspec-puppet version on the
latest non-voting job so that we can start
working on supporting this latest version
were strict variables is enabled.

Since our spec testing does not include classes
in pre_condition properly it fails in later
rspec-puppet versions.

This still leaves our voting jobs with the
2.3.0 versions so that they dont fail.

Change-Id: I7f589d931a948dd9de2100d55f98b95675956768
2019-01-23 08:35:49 +00:00

51 lines
1.3 KiB
YAML

---
# This file contains the puppet unit job configurations
#
- job:
name: puppet-openstack-unit-4.8-centos-7
parent: puppet-openstack-unit-base
nodeset: centos-7
vars:
puppet_gem_version: 4.8
- 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-6.0-ubuntu-bionic
parent: puppet-openstack-unit-base
nodeset: ubuntu-bionic
branches: ^master
vars:
puppet_gem_version: 6.0
- 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.8-centos-7
- puppet-openstack-unit-5.5-centos-7
- puppet-openstack-unit-6.0-ubuntu-bionic
- puppet-openstack-unit-latest-ubuntu-bionic
gate:
jobs:
- puppet-openstack-unit-4.8-centos-7
- puppet-openstack-unit-5.5-centos-7
- puppet-openstack-unit-6.0-ubuntu-bionic