summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-11-16 11:30:02 +0000
committerGerrit Code Review <review@openstack.org>2013-11-16 11:30:02 +0000
commitb12d614b085f338b47978bea7cb42a7d53b515c8 (patch)
tree3d9b6e642589fe7a1ab1b4fd41241dbcbb18bdea
parent5b3e479ed613aa22f4c78ccc9e2762f0d83b9783 (diff)
parent6f455d9a3641b1f581c2e96f59dc8536e27dc5b1 (diff)
downloadpbr-b12d614b085f338b47978bea7cb42a7d53b515c8.tar.gz
Merge "Add wheel mirror structure awareness"
-rw-r--r--tools/integration.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/integration.sh b/tools/integration.sh
index eedd1a3..6fa9f10 100644
--- a/tools/integration.sh
+++ b/tools/integration.sh
@@ -62,6 +62,10 @@ mirrors:
output: $pypidir
EOF
+# wheel mirrors are below a dir level containing distro and release
+# because the wheel format itself does not distinguish
+distro=`lsb_release -i -r -s | xargs | tr ' ' '-'`
+
# PROJECTS is a list of projects that we're testing
PROJECTS=$*
@@ -91,6 +95,7 @@ EOF
cat <<EOF > ~/.pip/pip.conf
[global]
index-url = $pypiurl
+extra-index-url = $pypiurl/$distro
extra-index-url = http://pypi.openstack.org/openstack
log = $HOME/pip.log
EOF