diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2026-08-24 15:10:07 +0200 |
|---|---|---|
| committer | Bartosz Bezak <bartosz@stackhpc.com> | 2026-08-24 20:20:41 +0200 |
| commit | 866f53ee7aaf8319a15c5d44625daaee3092808c (patch) | |
| tree | 25fee6f9b884cc6a90dce2473b0be4030f49d963 /roles/kolla-build-config | |
| parent | b1bfacdf1974fdf7d1abb03542bb10fcac272c9b (diff) | |
| download | kolla-866f53ee7aaf8319a15c5d44625daaee3092808c.tar.gz kolla-866f53ee7aaf8319a15c5d44625daaee3092808c.zip | |
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 <mnasiadka@gmail.com>
Signed-off-by: Bartosz Bezak <bartosz@stackhpc.com>
Diffstat (limited to 'roles/kolla-build-config')
| -rw-r--r-- | roles/kolla-build-config/templates/kolla-build.conf.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
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 %} |
