debian-forge-composer/internal/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
..
api api/{cloud,worker}: used channel name based on JWT claims for new jobs 2022-03-08 12:07:00 +01:00
clienterrors worker/osbuild: move target errors to detail of job error 2022-07-01 18:55:01 +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/osbuild: move target errors to detail of job error 2022-07-01 18:55:01 +01:00
json_test.go worker/osbuild: move target errors to detail of job error 2022-07-01 18:55:01 +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/osbuild: move target errors to detail of job error 2022-07-01 18:55:01 +01:00
server_test.go worker: delete TargetErrors from OSBuildJobResult 2022-07-01 18:55:01 +01:00