debian-forge-composer/internal/worker
Tomas Hozza 776a54135f worker: move osbuild exports from OSBuildJob to target
The osbuild export is specific to the upload target and different
targets may require using a different export. While osbuild-composer
still does not support multiple exports for osbuild jobs, this prepares
the ground for such support in the future.

The backward compatibility with older implementations of the composer
and workers is kept on the JSON (Un)mashaling level, where the JSON
message is always a super-set of the old and new way of providing the
exports to osbuild job.
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: move osbuild exports from OSBuildJob to target 2022-07-01 18:55:01 +01:00
json_test.go worker: move osbuild exports from OSBuildJob to target 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: move osbuild exports from OSBuildJob to target 2022-07-01 18:55:01 +01:00