Set default whole_disk_images based off release

There is a need to stop setting this in the releases file so that some
jobs in the release can have a different value (See
I0b555676ce565d142a08e9d38d9e3c8ee7cb1a92). This change sets the
default based off the release.

It needs to be determined if the release config in
tripleo-quickstart[1] picks up on this default setting so that
whole_disk_images:true can be reliably set in the required jobs.

[1] https://opendev.org/openstack/tripleo-quickstart/src/branch/master/config/release/tripleo-ci/CentOS-8/master.yml#L33

Change-Id: I1e305d31acba2f2b49fca675a0c6cb4eec5c5946
This commit is contained in:
Steve Baker 2021-11-05 11:08:05 +13:00 committed by Ronelle Landy
parent caa8ba17a9
commit 7a3c463517
1 changed files with 6 additions and 1 deletions

View File

@ -166,5 +166,10 @@ undercloud_enable_zaqar: >-
false
{%- endif %}
undercloud_enable_heat: "{{ not ephemeral_heat|default(false) }}"
whole_disk_images: false
whole_disk_images: >-
{% if release in ['train','ussuri','victoria','wallaby'] -%}
false
{%- else -%}
true
{%- endif -%}
overcloud_image: overcloud-full