ci-automation/vm: use gzip for akamai images

akamai expects gzipped images when uploading an image.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
Mathieu Tortuyaux 2024-04-23 10:14:18 +02:00
parent 84a9cb3585
commit 0c1aa2a3e2
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8

View File

@ -140,6 +140,8 @@ function _vm_build_impl() {
COMPRESSION_FORMAT="zip" COMPRESSION_FORMAT="zip"
elif [[ "${format}" =~ ^(scaleway|kubevirt)$ ]];then elif [[ "${format}" =~ ^(scaleway|kubevirt)$ ]];then
COMPRESSION_FORMAT="none" COMPRESSION_FORMAT="none"
elif [[ "${format}" =~ ^(akamai)$ ]];then
COMPRESSION_FORMAT="gz"
fi fi
./run_sdk_container -n "${vms_container}" -C "${packages_image}" \ ./run_sdk_container -n "${vms_container}" -C "${packages_image}" \
-v "${vernum}" \ -v "${vernum}" \