Skip to content

Commit 9354473

Browse files
committed
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.
1 parent 4bc44d7 commit 9354473

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci-automation/vms.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ function _vm_build_impl() {
127127
for format in ${formats}; do
128128
echo " ################### VENDOR '${format}' ################### "
129129
COMPRESSION_FORMAT="bz2"
130-
if [[ "${format}" =~ ^(openstack|openstack_mini|digitalocean)$ ]];then
130+
if [[ "${format}" =~ ^(openstack_mini|digitalocean)$ ]];then
131131
COMPRESSION_FORMAT="gz,bz2"
132+
elif [[ "${format}" =~ ^(openstack)$ ]];then
133+
COMPRESSION_FORMAT="gz,bz2,none"
132134
elif [[ "${format}" =~ ^(qemu|qemu_uefi)$ ]];then
133135
COMPRESSION_FORMAT="bz2,none"
134136
fi

0 commit comments

Comments
 (0)