summaryrefslogtreecommitdiff
path: root/playbooks
diff options
context:
space:
mode:
authorClark Boylan <clark.boylan@gmail.com>2020-08-06 08:33:40 -0700
committerClark Boylan <clark.boylan@gmail.com>2020-08-06 10:41:27 -0700
commit9e229269b208671af5f4f3431b3f077dda5453c5 (patch)
tree9de4352804ce86bb81c1bc4e14fc95c9fecd3506 /playbooks
parent3f896a8d846de0682e2bfa5a8b45fc235620c7d5 (diff)
downloadpbr-9e229269b208671af5f4f3431b3f077dda5453c5.tar.gz
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
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/pbr-installation-openstack/pre.yaml4
-rw-r--r--playbooks/pbr-installation-openstack/run.yaml6
2 files changed, 10 insertions, 0 deletions
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)