diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2020-05-22 15:54:52 +0200 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2020-06-18 20:53:58 +0000 |
| commit | c42b882aff3d8c911157b52f705dc755294f23f6 (patch) | |
| tree | c40615bc53115e40af4c812a71925674ac04b7fc /tests | |
| parent | 039a6d431ae1b2ddfb7b593c1c2d10bb58556b9e (diff) | |
| download | kolla-c42b882aff3d8c911157b52f705dc755294f23f6.tar.gz kolla-c42b882aff3d8c911157b52f705dc755294f23f6.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
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/templates/template_overrides.j2 | 1 | ||||
| -rw-r--r-- | tests/vars/zuul.yml | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/templates/template_overrides.j2 b/tests/templates/template_overrides.j2 index e085e296d..84b0729fe 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 2bf75d64d..626e8c6ed 100644 --- a/tests/vars/zuul.yml +++ b/tests/vars/zuul.yml @@ -5,3 +5,6 @@ nodepool_mirror_host: "{{ zuul_site_mirror_fqdn }}" nodepool_npmjs_proxy: "http://{{ zuul_site_mirror_fqdn }}:8080/registry.npmjs/" nodepool_cbs_centos_proxy: "http://{{ zuul_site_mirror_fqdn }}:8080/cbs.centos" nodepool_docker_proxy: "http://{{ zuul_site_mirror_fqdn }}:8080/docker" + +# 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 }}" |
