puppet-openstack-integration/playbooks/run-integration-tests.yaml
Tobias Urdin eaacd3f841 Add support to select ceph version
We are closing in on adding Ceph Mimic support and
want to ensure we can select either Luminous or Mimic
for running our tests.

For example Ubuntu 18.04 must run Ceph Mimic because
Luminous is not available (yet), Debian doesn't have
Ceph Mimic packages so we must run Luminous there.

Depends-On: https://review.openstack.org/#/c/576247/
Change-Id: If84ecbf86f3ebde8e69a1a26759ad967d061725a
2018-06-28 19:54:10 +02:00

15 lines
467 B
YAML

- hosts: all
tasks:
- shell:
cmd: |
set -ex
trap "./copy_logs.sh" EXIT
export CEPH_VERSION={{ ceph }}
export PUPPET_MAJ_VERSION={{ puppet }}
export SCENARIO={{ scenario }}
export GEM_HOME=`pwd`/.bundled_gems
./run_tests.sh
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace/puppet-openstack-integration'
environment: '{{ zuul | zuul_legacy_vars }}'