bootstrap-host: Set repo build pip default mirror when in openstack-ci

When in openstack-ci we should use the most local pypi mirror
available for the repo build process to speed things up.

Change-Id: I9e6c209bafa21afe22e0c4f67da584d553a50e00
(cherry picked from commit aac7e8ce18)
This commit is contained in:
Jesse Pretorius 2018-04-20 15:40:58 +01:00 committed by Jesse Pretorius (odyssey4me)
parent 52fa00bb67
commit ac7fdfb7ad

View File

@ -75,6 +75,7 @@
if [[ ${NODEPOOL_PYPI_MIRROR} == *.ovh.* ]]; then
echo "nova_virt_type: 'qemu'" >> ${NODEPOOL_OVERRIDES}
fi
echo "repo_build_pip_default_index: '${NODEPOOL_PYPI_MIRROR}'" >> ${NODEPOOL_OVERRIDES}
args:
executable: /bin/bash
when: