mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-29 14:31:46 +01:00
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:
parent
84a9cb3585
commit
0c1aa2a3e2
@ -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}" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user