From e266147b4fbe8e7c0ad63a67745429244e7a5c19 Mon Sep 17 00:00:00 2001 From: Kai Lueke Date: Tue, 14 Nov 2023 14:20:02 +0100 Subject: [PATCH] ci-automation/vms: Provide OpenStack image without external compression For Brightbox we can use the OpenStack image but the import only works with unpacked images. After we enabled internal qcow2 compression the .gz or .bz2 external compression doesn't provide any benefits and makes the import more complicated. Provide the OpenStack image without external compression in addition. The other files are kept for now but we could also delete them if we announce this in advance. --- ci-automation/vms.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci-automation/vms.sh b/ci-automation/vms.sh index 69f8fd5462..f796df6a83 100644 --- a/ci-automation/vms.sh +++ b/ci-automation/vms.sh @@ -127,8 +127,10 @@ function _vm_build_impl() { for format in ${formats}; do echo " ################### VENDOR '${format}' ################### " COMPRESSION_FORMAT="bz2" - if [[ "${format}" =~ ^(openstack|openstack_mini|digitalocean)$ ]];then + if [[ "${format}" =~ ^(openstack_mini|digitalocean)$ ]];then COMPRESSION_FORMAT="gz,bz2" + elif [[ "${format}" =~ ^(openstack)$ ]];then + COMPRESSION_FORMAT="gz,bz2,none" elif [[ "${format}" =~ ^(qemu|qemu_uefi)$ ]];then COMPRESSION_FORMAT="bz2,none" fi