With the use_only_compatible_arch flag, the ODCS produced repofile will use a $basearch variable in the repourl, then build task for an arch won't have irrelevant arch repos enabled. This can help especially for base image builds, when irrelevant arch repos are enabled, it can cause the build task to be slower and occupy more memory, and can cause unexpected issues like RHELBLD-14336 where base images can not be built due to x86_64 appstream repo is enabled for non-x86_64 build tasks.
With the
use_only_compatible_arch
flag, the ODCS produced repofile will use a $basearch variable in the repourl, then build task for an arch won't have irrelevant arch repos enabled. This can help especially for base image builds, when irrelevant arch repos are enabled, it can cause the build task to be slower and occupy more memory, and can cause unexpected issues like RHELBLD-14336 where base images can not be built due to x86_64 appstream repo is enabled for non-x86_64 build tasks.JIRA:CWFHEALTH-2746