test: run Omni upgrade tests against latest stable

Fixes: https://github.com/siderolabs/omni/issues/683

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
This commit is contained in:
Artem Chernyshev 2025-07-15 16:37:40 +03:00
parent 88f5116301
commit 0fc13bbf04
No known key found for this signature in database
GPG Key ID: E084A2DF1143C14D
4 changed files with 9 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2025-07-21T17:11:34Z by kres b869533-dirty.
# Generated on 2025-07-28T10:01:30Z by kres a3d02c0.
*
!frontend/src

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2025-07-18T15:48:02Z by kres b869533.
# Generated on 2025-07-28T10:01:30Z by kres a3d02c0.
concurrency:
group: ${{ github.head_ref || github.run_id }}

View File

@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2025-07-18T15:48:02Z by kres b869533.
# Generated on 2025-07-28T10:01:30Z by kres a3d02c0.
concurrency:
group: ${{ github.head_ref || github.run_id }}

View File

@ -19,10 +19,11 @@ set -eoux pipefail
echo "127.0.0.1 my-instance.localhost" | tee -a /etc/hosts
# Settings.
LATEST_STABLE_OMNI=$(git tag -l --sort=-version:refname HEAD "v*" | grep -E '^v?[0-9]+\.[0-9]+\.[0-9]+$' | head -n 1)
TALOS_VERSION=1.10.2
ENABLE_TALOS_PRERELEASE_VERSIONS=false
ANOTHER_OMNI_VERSION="${ANOTHER_OMNI_VERSION:-latest}"
ANOTHER_OMNI_VERSION="${ANOTHER_OMNI_VERSION:-$LATEST_STABLE_OMNI}"
ARTIFACTS=_out
JOIN_TOKEN=testonly
@ -208,7 +209,8 @@ features:
enableConfigDataCompression: true
enableBreakGlassConfigs: true
enableClusterImport: true
disableControllerRuntimeCache: false" > ${OMNI_CONFIG}
disableControllerRuntimeCache: false
" > ${OMNI_CONFIG}
if [[ "${RUN_TALEMU_TESTS:-false}" == "true" ]]; then
PROMETHEUS_CONTAINER=$(docker run --network host -p "9090:9090" -v "$(pwd)/hack/compose/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml" -it --rm -d prom/prometheus)
@ -353,7 +355,9 @@ if [ -n "$ANOTHER_OMNI_VERSION" ] && [ -n "$INTEGRATION_PREPARE_TEST_ARGS" ]; th
--omni.log-output=/outputs/omni-upgrade-prepare.log \
--test.failfast \
--test.v \
--omni.ignore-unknown-fields \
${INTEGRATION_PREPARE_TEST_ARGS:-}
fi
# Run the integration test.