Skip to content

Commit

Permalink
test/libvirt.sh: don't test openstack image on el10 / c10s
Browse files Browse the repository at this point in the history
There's no openstack image type on el10 / c10s any more.

Signed-off-by: Tomáš Hozza <[email protected]>
  • Loading branch information
thozza committed Aug 13, 2024
1 parent 84c2758 commit 812b331
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/cases/libvirt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ source /usr/libexec/osbuild-composer-test/set-env-variables.sh
/usr/libexec/osbuild-composer-test/libvirt_test.sh qcow2

# Fedora's openstack image is an alias of qcow2, we don't need to test it separately
if [[ "$ID" != "fedora" ]] ; then
# el10 / c10s no longer has an openstack image type
if [[ ("$ID" == "rhel" || "$ID" == "centos") && ${VERSION_ID%.*} -lt 10 ]] ; then
/usr/libexec/osbuild-composer-test/libvirt_test.sh openstack
fi

Expand Down

0 comments on commit 812b331

Please sign in to comment.