puppet-openstack-integration/zuul.d/beaker.yaml
Tobias Urdin 748c877a12 Make beaker tests honour puppet_gem_version
This commit was correct [1] when it added the
puppet_gem_version ansible var to the jobs to
restrict the gems version in puppet-openstack_spec_helper.

However since we haven't modified it to read the
variable and set the PUPPET_GEM_VERSION environment
variable it wasn't honoured by the spec helper when
it installed the puppet gem like done in [2].

[1] https://review.openstack.org/#/c/632962/
[2] d61f652b0a/playbooks/run-unit-tests.yaml (L6)

Change-Id: I61cb86b42d2ce12e9eabed3aac7b4b185ca987b5
2019-01-25 14:58:16 +01:00

55 lines
1.4 KiB
YAML

- project-template:
name: puppet-openstack-beaker-jobs
check:
jobs:
- puppet-openstack-beaker-centos-7
- puppet-openstack-beaker-ubuntu-bionic
gate:
jobs:
- puppet-openstack-beaker-centos-7
- puppet-openstack-beaker-ubuntu-bionic
- job:
name: puppet-openstack-libraries-puppet-beaker-rspec-centos-7
parent: puppet-openstack-integration-base
pre-run: playbooks/prepare-node-beaker.yaml
post-run: playbooks/upload-logs.yaml
run: playbooks/run-libraries-beaker-tests.yaml
timeout: 3600
nodeset: centos-7
irrelevant-files:
- ^.*\.md$
- ^.*\.rst$
- ^doc/.*$
- ^etc/.*$
- ^metadata.json$
- ^releasenotes/.*$
- ^test-requirements.txt$
- ^LICENSE$
- ^.gitignore$
vars:
nodepool_type: centos7
puppet_gem_version: 5.5
- job:
name: puppet-openstack-libraries-puppet-beaker-rspec-ubuntu-bionic
parent: puppet-openstack-integration-base
pre-run: playbooks/prepare-node-beaker.yaml
post-run: playbooks/upload-logs.yaml
run: playbooks/run-libraries-beaker-tests.yaml
timeout: 3600
nodeset: ubuntu-bionic
irrelevant-files:
- ^.*\.md$
- ^.*\.rst$
- ^doc/.*$
- ^etc/.*$
- ^metadata.json$
- ^releasenotes/.*$
- ^test-requirements.txt$
- ^LICENSE$
- ^.gitignore$
vars:
nodepool_type: bionic
puppet_gem_version: latest