Merge "Make beaker tests honour puppet_gem_version"

This commit is contained in:
Zuul 2019-01-25 20:03:22 +00:00 committed by Gerrit Code Review
commit 01b16930e2
4 changed files with 8 additions and 0 deletions

View File

@ -25,6 +25,9 @@
shell:
cmd: |
trap "{{ ansible_user_dir }}/workspace/openstack/puppet-openstack-integration/copy_logs.sh" EXIT
if [ "{{ puppet_gem_version }}" != "latest" ]; then
export PUPPET_GEM_VERSION='~> {{ puppet_gem_version }}'
fi
export BEAKER_PUPPET_COLLECTION=puppet5
export BEAKER_set=nodepool-{{ nodepool_type }}
export BEAKER_debug=yes

View File

@ -25,6 +25,9 @@
set -e
set -x
trap "{{ ansible_user_dir }}/workspace/openstack/puppet-openstack-integration/copy_logs.sh" EXIT
if [ "{{ puppet_gem_version }}" != "latest" ]; then
export PUPPET_GEM_VERSION='~> {{ puppet_gem_version }}'
fi
export BEAKER_PUPPET_COLLECTION=puppet5
export BEAKER_set=nodepool-{{ nodepool_type }}
./run_beaker_tests.sh

View File

@ -184,3 +184,4 @@
voting: false
vars:
nodepool_type: bionic
puppet_gem_version: latest

View File

@ -51,3 +51,4 @@
- ^.gitignore$
vars:
nodepool_type: bionic
puppet_gem_version: latest