summaryrefslogtreecommitdiff
path: root/tools
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 /tools
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 'tools')
-rw-r--r--tools/integration.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/integration.sh b/tools/integration.sh
index ff337ef..e001e32 100644
--- a/tools/integration.sh
+++ b/tools/integration.sh
@@ -13,7 +13,7 @@ function mkvenv {
venv=$1
rm -rf $venv
- virtualenv $venv
+ virtualenv -p python3 $venv
$venv/bin/pip install $PIPFLAGS -U $PIPVERSION wheel requests
# If a change to PBR is being tested, preinstall the wheel for it
@@ -22,11 +22,11 @@ function mkvenv {
fi
}
-# BASE should be a directory with a subdir called "new" and in that
+# BASE should be a directory with a subdir called "openstack" and in that
# dir, there should be a git repository for every entry in PROJECTS
-BASE=${BASE:-/opt/stack}
+BASE=${BASE:-/home/zuul/src/opendev.org/}
-REPODIR=${REPODIR:-$BASE/new}
+REPODIR=${REPODIR:-$BASE/openstack}
# TODO: Figure out how to get this on to the box properly
sudo apt-get update