Skip to content

prepare/artifact: add option to download RPMs for all architectures #5019

Description

@tcornell-bus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin | artifactRelated to the `prepare/artifact` plugin.step | prepareStuff related to the prepare step
    No fields configured for Feature.

    Projects

    Status
    backlog
    Status
    triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions