aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/kolla-build-config/templates/kolla-build.conf.j22
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 %}