debian-forge-composer/cmd/osbuild-worker
Tomas Hozza 2ff34767cc worker/osbuild: workaround cloud upload for compressed images
The AWS and Azure RHUI images are produced as compressed archives, which
can be uploaded to Koji, but they can't be uploaded to the cloud
provider in this format. To support cloud upload for these types of
images, we need to decompress them before the upload.

Add a workaround for AWS and AzureImage targets to check if the image
has `.xz` suffix and if yes, decompress it before uploading to cloud.

This workaround is needed until image definitions will support and use
multiple exports per image to allow using different export per upload
target.
2022-07-22 11:39:49 +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: handle multiple upload targets 2022-07-22 11:39:49 +01:00
jobimpl-koji-init.go worker: clean up the RelaxTimeoutFactor 2022-06-28 15:55:31 +01:00
jobimpl-osbuild.go worker/osbuild: workaround cloud upload for compressed images 2022-07-22 11:39:49 +01:00
main.go worker: remove osbuild-koji job 2022-07-19 16:00:52 +02:00