Skip to content

implement verify function #886

implement verify function

implement verify function #886

name: "e2e-multiple-k8s-clusters"
on:
pull_request:
paths-ignore:
# canceling e2e test temporarily for cost saving
- "**/*.*"
- "**/*.md"
- "CODEOWNERS"
push:
paths-ignore:
- "**/*.md"
- "CODEOWNERS"
branches:
- "main"
# Cancel any ongoing workflows on the same branch to avoid unnecessary fees.
# cf. https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-and-the-default-behavior
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
backup-transfer-part-size:
- 3Mi # smaller than the PVC size
label-filter:
- full-backup
- incr-backup
- backup-failure
- change-to-primary
- change-to-secondary
- change-to-standalone
- "!//" # select unlabelled tests
include:
- backup-transfer-part-size: 10Mi # equal to the PVC size
label-filter: various-transfer-part-size
- backup-transfer-part-size: 200Gi # greater than the PVC size
label-filter: various-transfer-part-size
#runs-on: "ubuntu-22.04"
runs-on: mantle_large_runner_16core
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- run: sudo apt-get update
- uses: ./.github/actions/set-up-kvm-for-e2e-tests
- run: make -C test/e2e setup
- run: |
make -C test/e2e test-multiple-k8s-clusters \
BACKUP_TRANSFER_PART_SIZE=${{ matrix.backup-transfer-part-size }} \
GINKGO_FLAGS=--label-filter='${{ matrix.label-filter }}'