Block installing of mock from wheels
This is needed until a new wheel of mock can be cut after the new pbr release is cut. Change-Id: I96a1794ee754f879514b34add3e36a4a42fd681b
This commit is contained in:
parent
802c509eb3
commit
71d10ea626
@ -21,6 +21,9 @@ source /etc/nodepool/provider
|
|||||||
NODEPOOL_PYPI_MIRROR=${NODEPOOL_PYPI_MIRROR:-http://pypi.$NODEPOOL_REGION.openstack.org/simple}
|
NODEPOOL_PYPI_MIRROR=${NODEPOOL_PYPI_MIRROR:-http://pypi.$NODEPOOL_REGION.openstack.org/simple}
|
||||||
|
|
||||||
sudo sed -i -e "s,^index-url = .*,index-url = $NODEPOOL_PYPI_MIRROR," /etc/pip.conf
|
sudo sed -i -e "s,^index-url = .*,index-url = $NODEPOOL_PYPI_MIRROR," /etc/pip.conf
|
||||||
|
cp /etc/pip.conf /tmp/pip.conf
|
||||||
|
echo "no-binary=mock" >> /tmp/pip.conf
|
||||||
|
sudo mv /tmp/pip.conf /etc/pip.conf
|
||||||
|
|
||||||
cat >/home/jenkins/.pydistutils.cfg <<EOF
|
cat >/home/jenkins/.pydistutils.cfg <<EOF
|
||||||
[easy_install]
|
[easy_install]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user