From ec0367c039bda94ecddd6eff021aab7af796b4cf Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Mon, 3 Oct 2022 09:29:43 +0200 Subject: [PATCH] CI: Always build images for centos jobs CentOS 9 Stream images are not getting published so we need to build them every time. Change-Id: I782ab105da4f23979dcbe2348c7141a1ae272b9a --- tests/run.yml | 2 +- zuul.d/jobs.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/run.yml b/tests/run.yml index c4cad60fa0..0a23066ac7 100644 --- a/tests/run.yml +++ b/tests/run.yml @@ -18,7 +18,7 @@ kolla_ansible_src_dir: "{{ ansible_env.PWD }}/src/{{ zuul.project.canonical_hostname }}/openstack/kolla-ansible" kolla_ansible_local_src_dir: "{{ zuul.executor.work_root }}/src/{{ zuul.project.canonical_hostname }}/openstack/kolla-ansible" infra_dockerhub_mirror: "http://{{ zuul_site_mirror_fqdn }}:8082/" - need_build_image: false + need_build_image: "{{ kolla_build_images | default(false) }}" build_image_tag: "change_{{ zuul.change | default('none') }}" openstack_core_enabled: "{{ openstack_core_enabled }}" openstack_core_tested: "{{ scenario in ['core', 'cephadm', 'zun', 'cells', 'swift', 'ovn'] }}" diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 7a2ab3e43b..aaba193036 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -7,6 +7,7 @@ vars: base_distro: centos tls_enabled: true + kolla_build_images: true - job: name: kolla-ansible-debian-source-aarch64