puppet-openstack-integration/playbooks/run-libraries-unit-tests.yaml
ZhongShengping 36b6794f3a Support puppet 4.8 and latest for libraries unit test
Change-Id: Ie70af6ee60efee8d0fd7e81bcc2b84b8dd83b206
2018-03-27 16:27:57 +08:00

14 lines
390 B
YAML

- hosts: all
tasks:
- shell:
cmd: |
set -e
set -x
if [ "{{ puppet_gem_version }}" != "latest" ]; then
export PUPPET_GEM_VERSION='~> {{ puppet_gem_version }}.0'
fi
./run_unit_tests.sh
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'