tests: Use Fedora 36

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
pull/388/head
Dave Tucker 2 years ago
parent 7b99a57330
commit 1a9903d864

@ -15,7 +15,7 @@ fi
# Test Image # Test Image
if [ -z "${AYA_TEST_IMAGE}" ]; then if [ -z "${AYA_TEST_IMAGE}" ]; then
AYA_TEST_IMAGE="fedora35" AYA_TEST_IMAGE="fedora36"
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
fedora35) fedora36)
if [ ! -f "${AYA_IMGDIR}/fedora35.${AYA_TEST_ARCH}.qcow2" ]; then if [ ! -f "${AYA_IMGDIR}/fedora36.${AYA_TEST_ARCH}.qcow2" ]; then
IMAGE="Fedora-Cloud-Base-35-1.2.${AYA_TEST_ARCH}.qcow2" IMAGE="Fedora-Cloud-Base-36-1.5.${AYA_TEST_ARCH}.qcow2"
IMAGE_URL="https://download.fedoraproject.org/pub/fedora/linux/releases/35/Cloud/${AYA_TEST_ARCH}/images" IMAGE_URL="https://download.fedoraproject.org/pub/fedora/linux/releases/36/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}/fedora35.${AYA_TEST_ARCH}.qcow2" -sSL "${IMAGE_URL}/${IMAGE}" curl -o "${AYA_IMGDIR}/fedora36.${AYA_TEST_ARCH}.qcow2" -sSL "${IMAGE_URL}/${IMAGE}"
fi fi
;; ;;
centos8) centos8)

Loading…
Cancel
Save