debian-forge-composer/internal/target
Tom Gundersen b0cd29f78b worker: support returning returning images as StreamOptimized
vCenter requires images to be uploaded as vmdk StreamOptimized. Lorax
always produced images on this format, so we should make sure to do the
same for our VMWare images.

Allow LocalTarget to request the images produced by osbuild be converted
to be streamOptimized before saving in composer, and hook the weldr API
up to enable this option for vmdk images.

Ideally this should simply be an option in osbuild, but that would
require some more work, which we will not manage in time for RHEL8.3.
Therefore do this minimal fix.

Note that that means the images produced by our manifests (including in
our image-test test cases) are not on the format that the weldr API
returns, so the tests we run on them would also, for now, need to
convert before uploading to vCenter.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2020-08-23 14:45:27 +02:00
..
aws_target.go target: pass the image filename in each target 2020-03-22 22:26:09 +01:00
azure_target.go azure: normalize the terms for Azure credentials 2020-04-29 18:15:13 +02:00
local_target.go worker: support returning returning images as StreamOptimized 2020-08-23 14:45:27 +02:00
target.go target: use the new types from common package 2020-02-12 11:17:26 +01:00