ef3c5dc9b7
This patch adds the needed bits to replace Beaker with Puppet Litmus. Since Puppet Litmus only supports Puppet 6 we need to remove Puppet 5 testing. The probability that we break Puppet 5 support (we have promised to keep it in Victoria) this late in the cycle is very low hence we should try to get this through. When this is merged we can move all modules over to use Litmus and then cleanup all Beaker things. Change-Id: I73f18345ed3e6481f86ad7af7d68f66b19d2250e
25 lines
919 B
YAML
25 lines
919 B
YAML
- hosts: all
|
|
tasks:
|
|
- shell:
|
|
cmd: |
|
|
set -e
|
|
set -x
|
|
|
|
if [ -d /home/zuul/src/opendev.org/$ZUUL_PROJECT ]; then
|
|
cp -dR /home/zuul/src/opendev.org/$ZUUL_PROJECT/. .
|
|
else
|
|
git clone https://opendev.org/$ZUUL_PROJECT .
|
|
fi
|
|
if [ -d /home/zuul/src/opendev.org/openstack/puppet-openstack-integration ]; then
|
|
[ ! -d puppet-openstack-integration ] && mkdir puppet-openstack-integration
|
|
cp -dR /home/zuul/src/opendev.org/openstack/puppet-openstack-integration/. puppet-openstack-integration
|
|
else
|
|
git clone https://opendev.org/openstack/puppet-openstack-integration puppet-openstack-integration
|
|
fi
|
|
executable: /bin/bash
|
|
chdir: '{{ ansible_user_dir }}/workspace'
|
|
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
|
|
- include_role:
|
|
name: bindep
|