debian-forge-composer/cmd/osbuild-worker
Tomas Hozza fc6bd60b94 worker/osbuild: handle multiple upload targets
Modify the `OsBuildJob` implementation to handle multiple upload targets
in a cycle. However, there is still no API implementation, which would be
adding `OsBuildJobs` with multiple targets to the job queue.

The limitations are that only a single osbuild export is supported, and
the same artifact will be used for each target.

At the end of the job, errors from all targets are gathered. In case
there are none, the job succeeds. In case at least one target failed,
the job fails as well. In such a case, a slice of errors from all failed
targets is added to the job error as details.
2022-07-01 18:55:01 +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: fix result options casting 2022-06-29 16:44:10 +02:00
jobimpl-koji-init.go worker: clean up the RelaxTimeoutFactor 2022-06-28 15:55:31 +01:00
jobimpl-osbuild-koji.go worker: clean up the RelaxTimeoutFactor 2022-06-28 15:55:31 +01:00
jobimpl-osbuild.go worker/osbuild: handle multiple upload targets 2022-07-01 18:55:01 +01:00
main.go worker: flip error handling when parsing the config 2022-06-28 15:55:31 +01:00
osbuild.go worker: don't marshal manifest in byte[] from 2022-02-01 20:28:40 +00:00