debian-forge-composer/internal/worker
Tomáš Hozza 5fd5cedd08 OSBuildJob: add image boot mode to options and result
Add the information about the image boot mode to the OSBuildJob options
as well as to the OSBuildJobResult options. The intention is that the
worker will simply copy the value from the job options to job result,
so that the `KojiFinalize` job can then access this information and
upload it to Koji as extra metadata.

This information is required in Koji in order for Red Hat's SP tooling
to know how to import image to the cloud environment in case the boot
mode affects the import parameters.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-08-08 15:53:07 +02:00
..
api api/{cloud,worker}: used channel name based on JWT claims for new jobs 2022-03-08 12:07:00 +01:00
clienterrors internal/clienterrors: add file resolution error 2023-03-16 09:55:39 +00: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 OSBuildJob: add image boot mode to options and result 2023-08-08 15:53:07 +02:00
json_test.go split: replace internal packages with images library 2023-07-10 21:11:19 +02:00
proxy_test.go worker: add proxy support to composer and oauth calls 2022-05-03 06:19:31 +01:00
server.go worker/v1: rearrange middlewares 2023-06-29 16:41:36 +02:00
server_test.go split: replace internal packages with images library 2023-07-10 21:11:19 +02:00