From 8be41903f6967aa8dded4417604b67b55c7bfbf3 Mon Sep 17 00:00:00 2001 From: Loic Devulder Date: Tue, 24 Sep 2024 15:27:16 +0200 Subject: [PATCH] ci/cli: Add etcd snapshot for downstream clusters This is needed to be able to run a migration test. Signed-off-by: Loic Devulder --- .github/workflows/cli-full-backup-restore-matrix.yaml | 1 - tests/assets/cluster.yaml | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cli-full-backup-restore-matrix.yaml b/.github/workflows/cli-full-backup-restore-matrix.yaml index 86f3e2f2f..3d8f92e66 100644 --- a/.github/workflows/cli-full-backup-restore-matrix.yaml +++ b/.github/workflows/cli-full-backup-restore-matrix.yaml @@ -46,7 +46,6 @@ jobs: full_backup_restore: true k8s_downstream_version: ${{ matrix.k8s_downstream_version }} k8s_upstream_version: ${{ matrix.k8s_upstream_version }} - node_number: 3 qase_run_id: ${{ github.event_name == 'schedule' && 'auto' || inputs.qase_run_id }} rancher_version: ${{ matrix.rancher_version }} test_type: cli diff --git a/tests/assets/cluster.yaml b/tests/assets/cluster.yaml index df4091cea..16bc478c8 100644 --- a/tests/assets/cluster.yaml +++ b/tests/assets/cluster.yaml @@ -6,7 +6,9 @@ metadata: spec: rkeConfig: etcd: - disableSnapshots: true + disableSnapshots: false + snapshotRetention: 5 + snapshotScheduleCron: 0 */5 * * * machineGlobalConfig: cni: canal disable: