puppet-openstack-integration/playbooks/run-libraries-litmus-tests.yaml
Tobias Urdin 7d392fc095 Use Litmus for libraries jobs
Change-Id: I9a989ccf4c271cb519aa90445931628cc9664b7e
2020-09-19 00:17:45 +02:00

16 lines
505 B
YAML

- hosts: all
tasks:
- shell:
cmd: |
set -e
set -x
trap "{{ ansible_user_dir }}/workspace/puppet-openstack-integration/copy_logs.sh" EXIT
if [ "{{ puppet_gem_version }}" != "latest" ]; then
export PUPPET_GEM_VERSION='~> {{ puppet_gem_version }}'
fi
./run_litmus_tests.sh
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
become: yes
environment: '{{ zuul | zuul_legacy_vars }}'