Run integration tests under fedora37

pull/506/head
Alessandro Decina 2 years ago
parent 7d19bde66b
commit c7b262641b

@ -15,7 +15,7 @@ fi
# Test Image # Test Image
if [ -z "${AYA_TEST_IMAGE}" ]; then if [ -z "${AYA_TEST_IMAGE}" ]; then
AYA_TEST_IMAGE="fedora36" AYA_TEST_IMAGE="fedora37"
fi fi
case "${AYA_TEST_IMAGE}" in case "${AYA_TEST_IMAGE}" in
@ -26,12 +26,12 @@ esac
download_images() { download_images() {
mkdir -p "${AYA_IMGDIR}" mkdir -p "${AYA_IMGDIR}"
case $1 in case $1 in
fedora36) fedora37)
if [ ! -f "${AYA_IMGDIR}/fedora36.${AYA_TEST_ARCH}.qcow2" ]; then if [ ! -f "${AYA_IMGDIR}/fedora37.${AYA_TEST_ARCH}.qcow2" ]; then
IMAGE="Fedora-Cloud-Base-36-1.5.${AYA_TEST_ARCH}.qcow2" IMAGE="Fedora-Cloud-Base-37-1.7.${AYA_TEST_ARCH}.qcow2"
IMAGE_URL="https://download.fedoraproject.org/pub/fedora/linux/releases/36/Cloud/${AYA_TEST_ARCH}/images" IMAGE_URL="https://download.fedoraproject.org/pub/fedora/linux/releases/37/Cloud/${AYA_TEST_ARCH}/images"
echo "Downloading: ${IMAGE}, this may take a while..." echo "Downloading: ${IMAGE}, this may take a while..."
curl -o "${AYA_IMGDIR}/fedora36.${AYA_TEST_ARCH}.qcow2" -sSL "${IMAGE_URL}/${IMAGE}" curl -o "${AYA_IMGDIR}/fedora37.${AYA_TEST_ARCH}.qcow2" -sSL "${IMAGE_URL}/${IMAGE}"
fi fi
;; ;;
centos8) centos8)

Loading…
Cancel
Save