Skip to content

Commit d2e8ebe

Browse files
committed
[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
1 parent 662a750 commit d2e8ebe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/playbooks/run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- ../vars/zuul.yml
55
vars:
66
arch_suffix: "{{ '-aarch64' if ansible_architecture == 'aarch64' else '' }}"
7-
tag_suffix: "{{ '-centos8s' if ansible_distribution | lower == 'centos' and base_tag == 'stream8' else '' }}"
7+
tag_suffix: "{{ '-centos8s' if ansible_distribution | lower == 'centos' and base_tag is defined and base_tag == 'stream8' else '' }}"
88
kolla_build_config:
99
DEFAULT:
1010
debug: true

0 commit comments

Comments
 (0)