debian-forge-composer/internal
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
..
blueprint blueprint: do not append "-" to name-version if version is empty 2020-06-10 17:40:30 +02:00
client client: Add an integration test for a bad blueprint depsolve 2020-07-28 08:18:56 +02:00
common common/ImageType: move to the store package 2020-05-18 11:50:15 +02:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
distro repositories: distinguish between RHEL8 beta and GA 2020-08-19 15:06:21 +02:00
jobqueue jobqueue: allow canceling jobs 2020-05-13 16:45:09 +02:00
jsondb jsondb: Allow passing nil as document to Read() 2020-05-13 16:45:09 +02:00
mocks worker: introduce job artifact directory 2020-05-26 10:42:20 +02:00
osbuild osbuild: Add "labels" field into the SELinux stage 2020-07-22 10:47:46 +01:00
rpmmd rpmmd/Depsolve: expose whether to check GPG signature for each RPM 2020-06-10 19:25:54 +02:00
store store: Add newImageBuildFromV0 test 2020-08-13 17:47:57 +02:00
target worker: support returning returning images as StreamOptimized 2020-08-23 14:45:27 +02:00
test weldr: add support for toml format in /blueprints/freeze 2020-06-05 13:51:04 +02:00
upload Add more emojis to AWS upload logs 2020-06-05 19:56:57 +02:00
weldr worker: support returning returning images as StreamOptimized 2020-08-23 14:45:27 +02:00
worker worker: Check OSBuildOutput for nil before using it 2020-06-12 12:45:46 +02:00