aboutsummaryrefslogtreecommitdiff
path: root/tests/templates/globals-default.j2
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2026-09-24 07:52:04 +0200
committerBartosz Bezak <bartosz@stackhpc.com>2026-09-24 14:18:38 +0000
commit870c2d61b27cdbabc2e3eb799f8752e9413842df (patch)
tree9af167d80537b5688258f8a395d59060d092c405 /tests/templates/globals-default.j2
parent94e3e38b04e4fb8e993966b571e21a9c2b421d0b (diff)
downloadkolla-ansible-870c2d61b27cdbabc2e3eb799f8752e9413842df.tar.gz
kolla-ansible-870c2d61b27cdbabc2e3eb799f8752e9413842df.zip
CI: Prefer ipv4 over ipv6 and disable docker mirror
We're getting some ipv6 issues in VexxHost's ca-ymq-1 region, this should at least work around them. Change-Id: I26412e410e9aebb24bc98c943f418f824032be40 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com> Signed-off-by: Bartosz Bezak <bartosz@stackhpc.com> (cherry picked from commit 2f64452fbad843816d74b7584ea81d33d8054a14)
Diffstat (limited to 'tests/templates/globals-default.j2')
-rw-r--r--tests/templates/globals-default.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2
index 1a0d1a01c..867b67aba 100644
--- a/tests/templates/globals-default.j2
+++ b/tests/templates/globals-default.j2
@@ -11,8 +11,12 @@ network_address_family: "{{ address_family }}"
kolla_container_engine: "{{ container_engine }}"
docker_restart_policy: "no"
+# TODO(bbezak): Drop the condition once the mirror in VexxHost ca-ymq-1 is
+# reliable.
+{% if nodepool.region != 'ca-ymq-1' %}
docker_apt_url: "http://{{ zuul_site_mirror_fqdn }}:8080/docker/{{ ansible_facts.distribution | lower }}"
docker_yum_url: "http://{{ zuul_site_mirror_fqdn }}:8080/docker/centos"
+{% endif %}
{% if container_engine == 'podman' %}
podman_debug: true