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:
Monty Taylor 2015-07-10 10:23:22 -04:00
parent 802c509eb3
commit 71d10ea626

View File

@ -21,6 +21,9 @@ source /etc/nodepool/provider
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
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
[easy_install]