ci-automation: Fix link to previous old LTS image

We can just hardcode it here, because these scripts will be only used
for running the tests on the old LTS version. A proper fix maybe will
come later.
This commit is contained in:
Krzesimir Nowak 2022-09-22 10:30:22 +02:00
parent 80c7e8d045
commit c0d5288d1f

View File

@ -35,7 +35,7 @@ if [ -f tmp/flatcar_production_image_previous.bin ] ; then
else
echo "++++ ${CIA_TESTSCRIPT}: downloading flatcar_production_image_previous.bin from previous ${CIA_CHANNEL} ++++"
rm -f tmp/flatcar_production_image_previous.bin.bz2
curl -fsSLO --retry-delay 1 --retry 60 --retry-connrefused --retry-max-time 60 --connect-timeout 20 "https://${CIA_CHANNEL}.release.flatcar-linux.net/${CIA_ARCH}-usr/current/flatcar_production_image.bin.bz2"
curl -fsSLO --retry-delay 1 --retry 60 --retry-connrefused --retry-max-time 60 --connect-timeout 20 "https://${CIA_CHANNEL}.release.flatcar-linux.net/${CIA_ARCH}-usr/current-2021/flatcar_production_image.bin.bz2"
mv flatcar_production_image.bin.bz2 tmp/flatcar_production_image_previous.bin.bz2
lbunzip2 -k -f tmp/flatcar_production_image_previous.bin.bz2
fi