Skip to content

Support multi-part backup #546

Support multi-part backup

Support multi-part backup #546

name: "e2e-multiple-k8s-clusters"
on:
pull_request:
paths-ignore:
- "**/*.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:
package:
- replication
- replicationfailure
- changetostandalone
- changetoprimary
- changetosecondary
backup-transfer-part-size:
- 3Mi # smaller than the PVC size
ginkgo-flags:
- ""
include:
- package: replication
backup-transfer-part-size: 10Mi # equal to the PVC size
ginkgo-flags: --label-filter="various-transfer-part-size"
- package: replication
backup-transfer-part-size: 200Gi # greater than the PVC size
ginkgo-flags: --label-filter="various-transfer-part-size"
#runs-on: "ubuntu-22.04"
runs-on: mantle_large_runner_16core
timeout-minutes: 60
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 \
TEST_MULTIK8S_PACKAGES=${{ matrix.package }} \
BACKUP_TRANSFER_PART_SIZE=${{ matrix.backup-transfer-part-size }} \
GINKGO_FLAGS=${{ matrix.ginkgo-flags }}