debian-forge-composer/internal/cloudapi/v2
Tomas Hozza 72019740c2 Cloud API: upload stream-optimized VMDK to S3
The VMDK image must be in stream-optimized format in order to be
imported to VSphere. osbuild-composer does not produce VMDK by default
as stream-optimized. Instead, it is converted on the fly when the image
build job has been submitted via Weldr API.

Since we are aiming mainly for the VSphere use case with the VMDK image
in the service, the image should be ready for importing to VSphere.

Implement a temporary workaround for the Cloud API and AWS S3 target to
upload stream-optimized VMDK image.

Adjust the `api.sh` test case to not convert the VMDK image downloaded
form S3, before importing it to VSphere.
2022-04-02 08:47:02 +01:00
..
errors.go cloudapi: require gpgkey if check_gpg is set 2022-03-25 13:23:32 +01:00
errors_test.go cloudapi/v2: Listen on /api/image-builder-composer/v2 2021-10-11 09:52:21 +02:00
openapi.v2.gen.go cloudapi: rename gpg_key field to gpgkey 2022-03-25 13:23:32 +01:00
openapi.v2.yml cloudapi: rename gpg_key field to gpgkey 2022-03-25 13:23:32 +01:00
v2.go Cloud API: upload stream-optimized VMDK to S3 2022-04-02 08:47:02 +01:00
v2_internal_test.go cloudapi: require gpgkey if check_gpg is set 2022-03-25 13:23:32 +01:00
v2_koji_test.go cloudapi/test: make newV2Server return also the queue 2022-03-08 12:07:00 +01:00
v2_multi_tenancy_test.go cloudapi: add multi-tenancy test 2022-03-08 12:07:00 +01:00
v2_test.go cloudapi/v2: add error object to ImageStatus 2022-03-09 08:49:37 +00:00