debian-forge-composer/cmd/osbuild-worker
Tomas Hozza 6dcadc9d20 worker/osbuild: move target errors to detail of job error
Add a new worker client error type `ErrorTargetError` representing that
at least one of job targets failed. The actual target errors are added
to the job detail.

Add a new `OSBuildJobResult.TargetErrors()` method for gathering a slice
of target errors contained within an `OSBuildJobResult` instance. Cover
the method with unit test.
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: move target errors to detail of job error 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