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
This commit is contained in:
Marios Andreou 2023-01-12 18:21:43 +02:00
parent 15091ddb50
commit 596e5350dd
1 changed files with 4 additions and 1 deletions

View File

@ -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 -%}