refactor: make NFS backup script testable with minimal config vars, add test harness + Gitea workflow, address review nits
Some checks failed
Test automated-nfs-backup / test-automated-nfs-backup (push) Successful in 28s
Check scripts syntax / check-scripts-syntax (push) Successful in 1m2s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 2m5s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Failing after 23s

This commit is contained in:
2026-07-13 08:59:38 -03:00
parent d78c4946bd
commit 7b46d789ed
3 changed files with 374 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
name: Test automated-nfs-backup
on:
push:
paths:
- 'k8s/**'
- '.gitea/workflows/**'
workflow_dispatch: {}
jobs:
test-automated-nfs-backup:
runs-on: ubuntu-latest
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