Context: This issue was split off from issue #4886, relevant comment.
By default, prepare --how artifact downloads only the RPMs for the architecture of the provisioned guest. Some workflows — such as running rpminspect — require all architecture variants of the build regardless of the guest architecture.
There is currently no way to request this. These multi-arch RPMs cannot be installed on the guest, but users may want them available in the download directory for inspection or archiving.
Proposed change
Add a per-provider (or per-step) boolean flag — e.g. all-architectures: true — that disables architecture filtering during artifact resolution so that every architecture variant is downloaded. The flag should default to false (current behavior, guest architecture only).
Example plan snippet:
prepare:
- how: artifact
provide:
- koji.task:145437356
all-architectures: true
Note
Relevant filtering currently occurs inside the artifacts @cached_property of providers such as KojiTask and KojiBuild in tmt/steps/prepare/artifact/providers/koji.py, and CoprBuildArtifactProvider in tmt/steps/prepare/artifact/providers/copr_build.py.
Context: This issue was split off from issue #4886, relevant comment.
By default,
prepare --how artifactdownloads only the RPMs for the architecture of the provisioned guest. Some workflows — such as runningrpminspect— require all architecture variants of the build regardless of the guest architecture.There is currently no way to request this. These multi-arch RPMs cannot be installed on the guest, but users may want them available in the download directory for inspection or archiving.
Proposed change
Add a per-provider (or per-step) boolean flag — e.g.
all-architectures: true— that disables architecture filtering during artifact resolution so that every architecture variant is downloaded. The flag should default to false (current behavior, guest architecture only).Example plan snippet:
Note
Relevant filtering currently occurs inside the
artifacts@cached_propertyof providers such asKojiTaskandKojiBuildintmt/steps/prepare/artifact/providers/koji.py, andCoprBuildArtifactProviderintmt/steps/prepare/artifact/providers/copr_build.py.