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
This commit is contained in:
Jesse Pretorius 2018-04-20 15:40:58 +01:00
parent 115e1d691c
commit aac7e8ce18
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,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: