27 lines
785 B
YAML
27 lines
785 B
YAML
name: Test Kubernetes backup scripts
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "k8s/**"
|
|
- ".gitea/workflows/**"
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
test-automated-nfs-backup:
|
|
runs-on: runner-slim
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Run automated NFS backup tests
|
|
run: bash k8s/test/test-automated-nfs-backup.sh
|
|
test-k3s-control-plane-config-backup:
|
|
runs-on: runner-slim
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Install GNU coreutils and findutils for control-plane tests
|
|
run: apk add --no-cache coreutils findutils
|
|
- name: Run k3s control-plane configuration backup tests
|
|
run: bash k8s/test/test-backup-k3s-control-plane-config.sh
|