From aac7e8ce1864dd1db0d8fb6008d20e62f2b5a38a Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Fri, 20 Apr 2018 15:40:58 +0100 Subject: [PATCH] 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 --- tests/roles/bootstrap-host/tasks/prepare_aio_config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/roles/bootstrap-host/tasks/prepare_aio_config.yml b/tests/roles/bootstrap-host/tasks/prepare_aio_config.yml index dcc0e7cc32..d67d71aecb 100644 --- a/tests/roles/bootstrap-host/tasks/prepare_aio_config.yml +++ b/tests/roles/bootstrap-host/tasks/prepare_aio_config.yml @@ -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: