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
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:
17
.gitea/workflows/test-automated-nfs-backup.yaml
Normal file
17
.gitea/workflows/test-automated-nfs-backup.yaml
Normal 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
|
||||
Reference in New Issue
Block a user