debian-forge-composer/cmd/osbuild-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
..
config.go worker: make default config values more idiomatic 2022-06-28 15:55:31 +01:00
config_test.go worker/config: add tests for parseConfig 2022-06-28 15:55:31 +01:00
jobimpl-depsolve.go osbuild-worker: Correct cast of dnfjson error in depsolve job 2022-06-08 23:07:37 +02:00
jobimpl-koji-finalize.go worker/koji-finalize: handle multiple upload targets 2022-07-22 11:39:49 +01:00
jobimpl-koji-init.go worker: clean up the RelaxTimeoutFactor 2022-06-28 15:55:31 +01:00
jobimpl-osbuild.go container/client: rework credentials storage 2022-07-21 13:32:07 +02:00
main.go worker: remove osbuild-koji job 2022-07-19 16:00:52 +02:00