Use caching reverse proxy for pypi
Test whether or not the pypi reverse proxy cache functions as expected. We will want to keep an eye on two datapoints in particular. Reliablity of devstack-gate with the reverse proxy cache rather than afs cache and job runtimes. We put this in d-g rather than on the images directly to have an easy revert path. If we decide to do this long term because it is faster and/or more reliable we will want to edit out images instead. Change-Id: I92b63324b1f1c7bd5a41063f56c982ef7c1f1b01
This commit is contained in:
parent
fdce8e71d5
commit
18cfa2598c
@ -22,6 +22,11 @@
|
||||
# Most of the work of this script is done in functions so that we may
|
||||
# easily redirect their stdout / stderr to log files.
|
||||
|
||||
# Temporary pip config edit to test pypi reverse proxy cache.
|
||||
# We want to run this in real world conditions to collect reliability
|
||||
# data with e-r before commiting to this on our images.
|
||||
sudo sed -i -e 's#\(index-url = https\?://mirror\..*\.openstack.org\)/#\1:8080/#' /etc/pip.conf
|
||||
|
||||
GIT_BASE=${GIT_BASE:-https://git.openstack.org}
|
||||
GIT_BRANCH=${GIT_BRANCH:-master}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user