puppet-openstack-integration/playbooks/run-integration-tests.yaml
Takashi Kajinami 1cd2ba1cff Ubuntu: Migrate jobs from 20.04 (focal) to 22.04 (jammy)
... because the Zed release is available for only 22.04.

Because Ruby 2 is no longer available in Ubuntu 22.04, this drops all
tests with Puppet 6, which supports only Ruby 2. (Ruby 3 is supported
since Puppet 7.8.0)

Also, this disables the separate ceph repository because the upstream
repository does not yet contain packages for Ubuntu Jammy. We install
ceph packages from UCA for the time being but would revisit this later.

Depends-on: https://review.opendev.org/c/openstack/puppet-nova/+/865105
Change-Id: Icbfe677dadb3dab96ea06afe650c524b4abbb753
2022-11-21 07:07:51 +00:00

17 lines
541 B
YAML

- hosts: all
tasks:
- shell:
cmd: |
set -ex
trap "./copy_logs.sh" EXIT
export CEPH_VERSION={{ ceph }}
export ENABLE_CEPH_REPO={{ enable_ceph_repo | default(true) }}
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 }}'