From d2e8ebe7f27237fd2e58ea9efaae816a64e73294 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Thu, 2 Sep 2021 18:18:50 +0200 Subject: [PATCH] [CI] Fix periodic publish of centos8 images kolla-publish-centos8 jobs (non-stream8) have been failing on stable/victoria with the following error: 'base_tag' is undefined. This is because the base_tag variable is only defined for centos8s jobs in .zuul.d/centos.yaml. Fix by checking if base_tag is defined. Change-Id: Iad118c9885b2134a7d071a6629a2f3e3ae3d101e --- tests/playbooks/run.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playbooks/run.yml b/tests/playbooks/run.yml index 2035f427cf..6e319d30f7 100644 --- a/tests/playbooks/run.yml +++ b/tests/playbooks/run.yml @@ -4,7 +4,7 @@ - ../vars/zuul.yml vars: arch_suffix: "{{ '-aarch64' if ansible_architecture == 'aarch64' else '' }}" - tag_suffix: "{{ '-centos8s' if ansible_distribution | lower == 'centos' and base_tag == 'stream8' else '' }}" + tag_suffix: "{{ '-centos8s' if ansible_distribution | lower == 'centos' and base_tag is defined and base_tag == 'stream8' else '' }}" kolla_build_config: DEFAULT: debug: true