From 596e5350dd1033c60f39eb5618fa3a468cb05421 Mon Sep 17 00:00:00 2001 From: Marios Andreou Date: Thu, 12 Jan 2023 18:21:43 +0200 Subject: [PATCH] Add update_containers: false for mixed rhel component jobs In the mixed rhel component job the rhel8 container update prep fails due to yum update with the rhel9 undercloud repos causing related-bug. This disables yum update for rhel8 content in this job Related-Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2154179 Change-Id: I3a9ac11e7a3c3e5d3e32ec47b06dfca76e31a727 --- toci-quickstart/config/testenv/multinode.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/toci-quickstart/config/testenv/multinode.yml b/toci-quickstart/config/testenv/multinode.yml index dfa5aa53f..a55ef642f 100644 --- a/toci-quickstart/config/testenv/multinode.yml +++ b/toci-quickstart/config/testenv/multinode.yml @@ -38,7 +38,10 @@ undercloud_undercloud_cleanup: false # Container update settings update_containers: >- - {% if containerized_overcloud|bool or containerized_undercloud|bool -%} + {% if registry_distro is defined and registry_distro|default('') is version('8', '==') and + job is defined and job.component is defined -%} + false + {%- elif containerized_overcloud|bool or containerized_undercloud|bool -%} true {%- endif -%}