From 866f53ee7aaf8319a15c5d44625daaee3092808c Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Mon, 24 Aug 2026 15:10:07 +0200 Subject: CI: Don't build from Zuul overrides in upgrade jobs Our upgrade jobs don't have their own set of required-projects, so we end up using master version of Zuul cached repos and previous-release u-c - which obviously breaks. Change-Id: Ib381c5226b0407deea11ae70188ab2f2239d08eb Signed-off-by: Michal Nasiadka Signed-off-by: Bartosz Bezak --- roles/kolla-build-config/templates/kolla-build.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/kolla-build-config/templates/kolla-build.conf.j2 b/roles/kolla-build-config/templates/kolla-build.conf.j2 index 07a50baae..eddbdab14 100644 --- a/roles/kolla-build-config/templates/kolla-build.conf.j2 +++ b/roles/kolla-build-config/templates/kolla-build.conf.j2 @@ -10,6 +10,7 @@ {# Generate a section for every build source Zuul has a checkout for, whether it's a required-project or a Depends-On. #} +{% if not (is_upgrade | default(False) | bool) %} {% for canonical_name, project in zuul['projects'].items() %} {% if project.name in kolla_build_sources %} {% set source_names = kolla_build_sources[project.name] %} @@ -26,3 +27,4 @@ location = {{ ansible_env.PWD ~ '/' ~ project.src_dir }} {% endif %} {% endif %} {% endfor %} +{% endif %} -- cgit v1.2.3