mirror of
https://github.com/siderolabs/omni.git
synced 2025-08-06 17:46:59 +02:00
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:
parent
88f5116301
commit
0fc13bbf04
@ -1,6 +1,6 @@
|
|||||||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
|
# 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
|
!frontend/src
|
||||||
|
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -1,6 +1,6 @@
|
|||||||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
|
# 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:
|
concurrency:
|
||||||
group: ${{ github.head_ref || github.run_id }}
|
group: ${{ github.head_ref || github.run_id }}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
|
# 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:
|
concurrency:
|
||||||
group: ${{ github.head_ref || github.run_id }}
|
group: ${{ github.head_ref || github.run_id }}
|
||||||
|
@ -19,10 +19,11 @@ set -eoux pipefail
|
|||||||
echo "127.0.0.1 my-instance.localhost" | tee -a /etc/hosts
|
echo "127.0.0.1 my-instance.localhost" | tee -a /etc/hosts
|
||||||
|
|
||||||
# Settings.
|
# 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
|
TALOS_VERSION=1.10.2
|
||||||
ENABLE_TALOS_PRERELEASE_VERSIONS=false
|
ENABLE_TALOS_PRERELEASE_VERSIONS=false
|
||||||
ANOTHER_OMNI_VERSION="${ANOTHER_OMNI_VERSION:-latest}"
|
ANOTHER_OMNI_VERSION="${ANOTHER_OMNI_VERSION:-$LATEST_STABLE_OMNI}"
|
||||||
|
|
||||||
ARTIFACTS=_out
|
ARTIFACTS=_out
|
||||||
JOIN_TOKEN=testonly
|
JOIN_TOKEN=testonly
|
||||||
@ -208,7 +209,8 @@ features:
|
|||||||
enableConfigDataCompression: true
|
enableConfigDataCompression: true
|
||||||
enableBreakGlassConfigs: true
|
enableBreakGlassConfigs: true
|
||||||
enableClusterImport: true
|
enableClusterImport: true
|
||||||
disableControllerRuntimeCache: false" > ${OMNI_CONFIG}
|
disableControllerRuntimeCache: false
|
||||||
|
" > ${OMNI_CONFIG}
|
||||||
|
|
||||||
if [[ "${RUN_TALEMU_TESTS:-false}" == "true" ]]; then
|
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)
|
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 \
|
--omni.log-output=/outputs/omni-upgrade-prepare.log \
|
||||||
--test.failfast \
|
--test.failfast \
|
||||||
--test.v \
|
--test.v \
|
||||||
|
--omni.ignore-unknown-fields \
|
||||||
${INTEGRATION_PREPARE_TEST_ARGS:-}
|
${INTEGRATION_PREPARE_TEST_ARGS:-}
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run the integration test.
|
# Run the integration test.
|
||||||
|
Loading…
Reference in New Issue
Block a user