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:
Kai Lüke 2022-04-29 16:34:47 +09:00 committed by GitHub
commit 28ee2a3256
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 9 deletions

View File

@ -41,10 +41,6 @@ if [ "${ON_CHANNEL}" = "developer" ]; then
# For main/dev builds we compare to last alpha release
ON_CHANNEL="alpha"
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
echo "++++ QEMU test: Using existing ${work_dir}/tmp/flatcar_production_image_previous.bin for testing update to ${vernum} (${arch}) from previous ${ON_CHANNEL} ++++"
else

View File

@ -141,11 +141,6 @@ else
export CHANNEL_A="${CHANNEL_BASE}"
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)
if [ "${GROUP}" = "developer" ]; then