can't download rpms from official builds if the rpms are only in the build, but not in the task
example for rhel6: https://gitlab.com/redhat/red-hat-ci-tools/kernel/cki-internal-pipelines/cki-internal-contributors/-/jobs/4988741063#L43
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2374058
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=50717125
It would be nice for the cases of non-scratch build to also try to download rpms from the build and not only from the task.
maybe use koji download-build
as fallback.
$ koji download-build -h
Usage: koji download-build [options] <n-v-r | build_id | package>
(Specify the --help global option for a list of other help options)
Options:
-h, --help show this help message and exit
-a ARCH, --arch=ARCH Only download packages for this arch (may be used
multiple times)
--type=TYPE Download archives of the given type, rather than rpms
(maven, win, image, remote-sources)
--latestfrom=LATESTFROM
Download the latest build from this tag
--debuginfo Also download -debuginfo rpms
--task-id Interperet id as a task id
--rpm Download the given rpm
--key=KEY Download rpms signed with the given key
--topurl=URL URL under which Koji files are accessible
--noprogress Do not display progress meter
-q, --quiet Suppress output
Edited by Bruno Goncalves