Files
server-scripts/.gitea/workflows/test-automated-nfs-backup.yaml
Jose Henrique 26984db5a6
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
Test Kubernetes backup scripts / test-automated-nfs-backup (push) Successful in 2s
Test Kubernetes backup scripts / test-k3s-control-plane-config-backup (push) Successful in 3s
fix(k8s): support control-plane tests on slim runner
2026-07-21 18:13:42 -03:00

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