debian-forge-composer/cmd/osbuild-worker
Tomáš Hozza 565b8d41c8 worker/aws: prefer bucket from TargetOptions if provided
Flip the logic when deciding if to use the Bucket from the job or worker
configuration. Previously, the Bucket from the worker configuration was
always preferred if it was set, even if it was provided in the job
itself. This made it impossible to override the configuration.

Change the logic to use the Bucket from the worker configuration only if
it was not set in the job.

Report an error if no bucket name was provided with the job and there is
also none specified in the configuration.
2022-10-11 13:23:18 +02:00
..
config.go tests/api: add container related test 2022-08-01 21:50:03 +01:00
config_test.go worker/config: add tests for parseConfig 2022-06-28 15:55:31 +01:00
jobimpl-awsec2.go worker: Define new jobs to handle copying and resharing of images 2022-08-30 16:14:52 +02:00
jobimpl-container-resolve.go worker: Remove ellipsis operator from clienterrors.Error 2022-08-03 13:51:52 +02:00
jobimpl-depsolve.go worker: Remove ellipsis operator from clienterrors.Error 2022-08-03 13:51:52 +02:00
jobimpl-koji-finalize.go worker: Remove ellipsis operator from clienterrors.Error 2022-08-03 13:51:52 +02:00
jobimpl-koji-init.go worker: Remove ellipsis operator from clienterrors.Error 2022-08-03 13:51:52 +02:00
jobimpl-osbuild.go worker/aws: prefer bucket from TargetOptions if provided 2022-10-11 13:23:18 +02:00
main.go worker: Define new jobs to handle copying and resharing of images 2022-08-30 16:14:52 +02:00