summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-05-22 15:54:52 +0200
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-06-26 10:19:35 +0000
commit6604041eb365952e269a518cd7a395d6f2b418c2 (patch)
treea97f3983a096c626310c452714fed708778b777b /tests
parentd12137ce64fab7e8436aa1c2e32e3bc6ed47c1a1 (diff)
downloadkolla-6604041eb365952e269a518cd7a395d6f2b418c2.tar.gz
kolla-6604041eb365952e269a518cd7a395d6f2b418c2.zip
CI: use wheels from infra mirror
If they are available then we do not need to build them. Especially AArch64 jobs will speedup (once wheels are built). Change-Id: I79af6c37950e156018a9204fbcc7417cd7d41012 (adapted by hand)
Diffstat (limited to 'tests')
-rw-r--r--tests/templates/template_overrides.j21
-rw-r--r--tests/vars/zuul.yml3
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/templates/template_overrides.j2 b/tests/templates/template_overrides.j2
index 8997bc4ed..9a36a7814 100644
--- a/tests/templates/template_overrides.j2
+++ b/tests/templates/template_overrides.j2
@@ -6,6 +6,7 @@
ENV PIP_INDEX_URL {{ nodepool_pypi_mirror }}
ENV PIP_TRUSTED_HOST {{ nodepool_mirror_host }}
+ENV PIP_EXTRA_INDEX_URL {{ nodepool_wheel_mirror }}
RUN echo registry={{ nodepool_npmjs_proxy }} > /etc/npmrc \
&& mkdir -p /usr/etc \
diff --git a/tests/vars/zuul.yml b/tests/vars/zuul.yml
index e74e038f3..ca0454eea 100644
--- a/tests/vars/zuul.yml
+++ b/tests/vars/zuul.yml
@@ -8,3 +8,6 @@ nodepool_grafana_proxy: "http://{{ zuul_site_mirror_fqdn }}:8080/grafana/"
nodepool_cbs_centos_proxy: "http://{{ zuul_site_mirror_fqdn }}:8080/cbs.centos"
nodepool_oraclelinux_proxy: "http://{{ zuul_site_mirror_fqdn }}:8080/oraclelinux/"
nodepool_percona_proxy: "http://{{ zuul_site_mirror_fqdn }}:8080/percona"
+
+# NOTE(hrw): wheel cache goes over 80/443 not on 8080
+nodepool_wheel_mirror: "https://{{ zuul_site_mirror_fqdn }}/wheel/{{ ansible_distribution | lower }}-{{ ansible_distribution_version }}-{{ ansible_architecture | lower }}"