mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
CI: Support comparing to current LTS and updating from it
When the restriction that the CI can't access the LTS release is gone we can support to run the image comparison and the kola update test.
This commit is contained in:
parent
8aaa851d55
commit
856929d357
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user