Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Gate heterogeneous payloads on group metadata
Browse files Browse the repository at this point in the history
In order for the pipeline to attempt a heterogeneous release payload,
group metadata must indicate the group's/assembly's support of the
payload format.

multi_arch:
  enabled: true
  • Loading branch information
jupierce committed Jun 7, 2022
1 parent a3cb31d commit a8cd38d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doozerlib/cli/release_gen_payload.py
Expand Up @@ -540,6 +540,10 @@ def update_single_arch_istags(apiobj: oc.APIObject):
if not apply_multi_arch:
break

if not runtime.group_config.multi_arch.enabled:
logger.info("--apply-multi-arch is enabled but the group config / assembly does not have group.multi_arch.enabled==true")
break

imagestream_name, imagestream_namespace = payload_imagestream_name_and_namespace(
base_imagestream_name,
base_istream_namespace,
Expand Down

0 comments on commit a8cd38d

Please sign in to comment.