Pass artifact installation to tmt via `prepare --how artifact`

Add support for passing Testing Farm API artifacts directly to the tmt command line using prepare --insert --how artifact --provide <type>:<id> in the multihost scheduler.

All five Testing Farm artifact types are mapped to tmt providers:

  • fedora-koji-buildkoji.build / koji.nvr
  • redhat-brew-buildbrew.build / brew.nvr
  • fedora-copr-buildcopr.build
  • repositoryrepository-url
  • repository-filerepository-file

Numeric IDs use the build provider, NVR strings use the nvr provider. Artifacts with install: false are skipped. Multiple artifacts are sorted by their order field.

Resolves: TFT-4581

Assisted-by: Claude Code

Signed-off-by: Miroslav Vadkerti mvadkert@redhat.com

Edited by Miroslav Vadkerti

Merge request reports

Loading