mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 21:46:58 +02:00
Merge pull request #298 from flatcar-linux/kai/test-lts
CI: Support comparing to current LTS and updating from it
This commit is contained in:
commit
28ee2a3256
@ -41,10 +41,6 @@ if [ "${ON_CHANNEL}" = "developer" ]; then
|
|||||||
# For main/dev builds we compare to last alpha release
|
# For main/dev builds we compare to last alpha release
|
||||||
ON_CHANNEL="alpha"
|
ON_CHANNEL="alpha"
|
||||||
fi
|
fi
|
||||||
if [ "${ON_CHANNEL}" = "lts" ]; then
|
|
||||||
echo "Updating from previous LTS is not supported yet (needs creds), fallback to Stable"
|
|
||||||
ON_CHANNEL="stable"
|
|
||||||
fi
|
|
||||||
if [ -f tmp/flatcar_production_image_previous.bin ] ; then
|
if [ -f tmp/flatcar_production_image_previous.bin ] ; then
|
||||||
echo "++++ QEMU test: Using existing ${work_dir}/tmp/flatcar_production_image_previous.bin for testing update to ${vernum} (${arch}) from previous ${ON_CHANNEL} ++++"
|
echo "++++ QEMU test: Using existing ${work_dir}/tmp/flatcar_production_image_previous.bin for testing update to ${vernum} (${arch}) from previous ${ON_CHANNEL} ++++"
|
||||||
else
|
else
|
||||||
|
@ -141,11 +141,6 @@ else
|
|||||||
export CHANNEL_A="${CHANNEL_BASE}"
|
export CHANNEL_A="${CHANNEL_BASE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${CHANNEL_A}" = "lts" ]; then
|
|
||||||
echo "Comparing to LTS is not supported yet (needs creds)"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
export VERSION_A=$(curl -s -S -f -L "https://${CHANNEL_A}.release.flatcar-linux.net/${BOARD}/current/version.txt" | grep -m 1 "FLATCAR_VERSION=" | cut -d "=" -f 2)
|
export VERSION_A=$(curl -s -S -f -L "https://${CHANNEL_A}.release.flatcar-linux.net/${BOARD}/current/version.txt" | grep -m 1 "FLATCAR_VERSION=" | cut -d "=" -f 2)
|
||||||
|
|
||||||
if [ "${GROUP}" = "developer" ]; then
|
if [ "${GROUP}" = "developer" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user