From 9e229269b208671af5f4f3431b3f077dda5453c5 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 6 Aug 2020 08:33:40 -0700 Subject: Begin work to modernize pbr's integration testing PBR does integration testing by installing all of openstack's python projects to ensure we can install all of them in a variety of different ways with different pip versions. Unfortunately, these jobs are still using devstack-gate. We can simplify them significantly because zuul is now doing what devstack-gate does and provides repos configured the way we want them to be. This change updates the jobs to drop devstack-gate and simply consume zuul's repo prep. A follow up will remove the old legacy jobs as they need to be removed from project-config first. Needed-By: https://review.opendev.org/745189 Change-Id: I77a38c4611dc28db79d6f25d96ad0de36b224c98 --- playbooks/pbr-installation-openstack/pre.yaml | 4 ++++ playbooks/pbr-installation-openstack/run.yaml | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 playbooks/pbr-installation-openstack/pre.yaml create mode 100644 playbooks/pbr-installation-openstack/run.yaml (limited to 'playbooks') diff --git a/playbooks/pbr-installation-openstack/pre.yaml b/playbooks/pbr-installation-openstack/pre.yaml new file mode 100644 index 0000000..4737f6a --- /dev/null +++ b/playbooks/pbr-installation-openstack/pre.yaml @@ -0,0 +1,4 @@ +- hosts: all + roles: + - ensure-pip + - ensure-virtualenv diff --git a/playbooks/pbr-installation-openstack/run.yaml b/playbooks/pbr-installation-openstack/run.yaml new file mode 100644 index 0000000..adf7665 --- /dev/null +++ b/playbooks/pbr-installation-openstack/run.yaml @@ -0,0 +1,6 @@ +- hosts: all + tasks: + - shell: + cmd: | + export PBR_PIP_VERSION="{{ pbr_pip_version }}" + bash -xe /home/zuul/src/opendev.org/openstack/pbr/tools/integration.sh $(cat /home/zuul/src/opendev.org/openstack/requirements/projects.txt) -- cgit v1.2.1