debian-forge-composer/internal/worker
Tomas Hozza 77a1672b79 worker/koji-finalize: handle multiple upload targets
Enhance the `koji-finalize` job implementation to be able to cope with
multiple upload targets being specified for an `OSBuildJob`.

Implement a convenience method `OSBuildJobResult.TargetResultsByName()`
for filtering the target results attached to the job result by their
name. Cover the method with an unit test. And lastly use this method in
the `koji-finalize` job to find the appropriate Koji upload target
results.

This is a preparation for enabling cloud uploads for Koji composes.
2022-07-22 11:39:49 +01:00
..
api api/{cloud,worker}: used channel name based on JWT claims for new jobs 2022-03-08 12:07:00 +01:00
clienterrors worker/koji-finalize: always report status back to composer and Koji 2022-07-22 11:39:49 +01:00
client.go worker: add proxy support to composer and oauth calls 2022-05-03 06:19:31 +01:00
client_test.go worker: define job types as constants 2022-06-10 14:48:18 +01:00
json.go worker/koji-finalize: handle multiple upload targets 2022-07-22 11:39:49 +01:00
json_test.go worker/koji-finalize: handle multiple upload targets 2022-07-22 11:39:49 +01:00
proxy_test.go worker: add proxy support to composer and oauth calls 2022-05-03 06:19:31 +01:00
server.go worker: remove osbuild-koji job 2022-07-19 16:00:52 +02:00
server_test.go distro: add containers arg to ImageType.Manifest 2022-07-21 13:32:07 +02:00