Skip to content

Commit 6604041

Browse files
committed
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)
1 parent d12137c commit 6604041

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/templates/template_overrides.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
ENV PIP_INDEX_URL {{ nodepool_pypi_mirror }}
88
ENV PIP_TRUSTED_HOST {{ nodepool_mirror_host }}
9+
ENV PIP_EXTRA_INDEX_URL {{ nodepool_wheel_mirror }}
910

1011
RUN echo registry={{ nodepool_npmjs_proxy }} > /etc/npmrc \
1112
&& mkdir -p /usr/etc \

tests/vars/zuul.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ nodepool_grafana_proxy: "http://{{ zuul_site_mirror_fqdn }}:8080/grafana/"
88
nodepool_cbs_centos_proxy: "http://{{ zuul_site_mirror_fqdn }}:8080/cbs.centos"
99
nodepool_oraclelinux_proxy: "http://{{ zuul_site_mirror_fqdn }}:8080/oraclelinux/"
1010
nodepool_percona_proxy: "http://{{ zuul_site_mirror_fqdn }}:8080/percona"
11+
12+
# NOTE(hrw): wheel cache goes over 80/443 not on 8080
13+
nodepool_wheel_mirror: "https://{{ zuul_site_mirror_fqdn }}/wheel/{{ ansible_distribution | lower }}-{{ ansible_distribution_version }}-{{ ansible_architecture | lower }}"

0 commit comments

Comments
 (0)