From 5b5d281133e4a788252343ce5380f7ffdc5bd9e8 Mon Sep 17 00:00:00 2001 From: Danil-Grigorev Date: Mon, 2 Dec 2024 12:36:19 +0100 Subject: [PATCH] Run etcd snapshot/restore e2e locally (only) Signed-off-by: Danil-Grigorev --- .github/workflows/e2e-long.yaml | 11 ----------- test/e2e/config/operator.yaml | 4 ++-- .../etcd_snapshot_restore_test.go | 2 +- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/e2e-long.yaml b/.github/workflows/e2e-long.yaml index af2d667b..65e8158d 100644 --- a/.github/workflows/e2e-long.yaml +++ b/.github/workflows/e2e-long.yaml @@ -4,8 +4,6 @@ on: schedule: - cron: "0 0 1/2 * *" workflow_dispatch: - pull_request: - types: [opened, synchronize, reopened, labeled, unlabeled] concurrency: ci_e2e_tests @@ -64,12 +62,3 @@ jobs: artifact_name: artifacts_embedded_capi_v3 MANAGEMENT_CLUSTER_ENVIRONMENT: eks secrets: inherit - e2e_etcd_snapshot_restore: - uses: ./.github/workflows/run-e2e-suite.yaml - with: - test_suite: test/e2e/suites/etcd-snapshot-restore - test_name: Etcd snapshot restore - run_azure_janitor: false - artifact_name: artifacts_etcd_snapshot_restore - MANAGEMENT_CLUSTER_ENVIRONMENT: eks - secrets: inherit diff --git a/test/e2e/config/operator.yaml b/test/e2e/config/operator.yaml index ad5041e3..7f1f2075 100644 --- a/test/e2e/config/operator.yaml +++ b/test/e2e/config/operator.yaml @@ -40,8 +40,8 @@ variables: ARTIFACTS_FOLDER: "_artifacts" HELM_BINARY_PATH: "helm" HELM_EXTRA_VALUES_FOLDER: "/tmp" - KUBERNETES_VERSION: "v1.30.3" - KUBERNETES_MANAGEMENT_VERSION: "v1.30.3" + KUBERNETES_VERSION: "v1.30.4" + KUBERNETES_MANAGEMENT_VERSION: "v1.30.4" RKE2_VERSION: "v1.31.0+rke2r1" KUBERNETES_MANAGEMENT_AWS_REGION: "eu-west-2" RANCHER_HOSTNAME: "localhost" diff --git a/test/e2e/suites/etcd-snapshot-restore/etcd_snapshot_restore_test.go b/test/e2e/suites/etcd-snapshot-restore/etcd_snapshot_restore_test.go index c589c8d4..7aaa9d68 100644 --- a/test/e2e/suites/etcd-snapshot-restore/etcd_snapshot_restore_test.go +++ b/test/e2e/suites/etcd-snapshot-restore/etcd_snapshot_restore_test.go @@ -30,7 +30,7 @@ import ( "github.com/rancher/turtles/test/e2e/specs" ) -var _ = Describe("[Docker] [RKE2] Perform an ETCD backup and restore of the cluster", Label(e2e.FullTestLabel, e2e.LocalTestLabel), func() { +var _ = Describe("[Docker] [RKE2] Perform an ETCD backup and restore of the cluster", Label(e2e.LocalTestLabel), func() { BeforeEach(func() { SetClient(setupClusterResult.BootstrapClusterProxy.GetClient()) SetContext(ctx)