aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-08-11 09:36:52 +0200
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-08-11 08:02:06 +0000
commita3ef68d91c60c9d451450ae0e371e25402bb4c6f (patch)
tree8b46628dc4279aaf568bc083a045f062136d3904 /tests
parentfd60c657101167b056177ae95aa2c695f14a93d4 (diff)
downloadkolla-a3ef68d91c60c9d451450ae0e371e25402bb4c6f.tar.gz
kolla-a3ef68d91c60c9d451450ae0e371e25402bb4c6f.zip
[CI] Fix wheel url for CentOS
CentOS wheels do not differentiate between minor versions atm. Change-Id: I5365c813bab5e3205fd34eb64dc3337f192d67d4
Diffstat (limited to 'tests')
-rw-r--r--tests/vars/zuul.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vars/zuul.yml b/tests/vars/zuul.yml
index 626e8c6ed..1c0c99e3d 100644
--- a/tests/vars/zuul.yml
+++ b/tests/vars/zuul.yml
@@ -7,4 +7,4 @@ 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 }}"
+nodepool_wheel_mirror: "https://{{ zuul_site_mirror_fqdn }}/wheel/{{ ansible_distribution | lower }}-{{ (ansible_os_family == 'Debian') | ternary(ansible_distribution_version, ansible_distribution_major_version) }}-{{ ansible_architecture | lower }}"