Commit Graph

4 Commits

Author SHA1 Message Date
dcbb8eddc2 feat(k8s): back up control plane configuration
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 3s
Test Kubernetes backup scripts / test-k3s-control-plane-config-backup (push) Successful in 3s
2026-07-21 15:52:43 -03:00
43351abb11 k8s nfs backup: add rsync staging path and per-run staging cleanup
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 7s
Test automated-nfs-backup / test-automated-nfs-backup (push) Successful in 8s
- Add BACKUP_STAGING_PATH + RSYNC_BIN for staging before archive
- Add cleanup_run_staging to EXIT trap to remove staging dir
- Extend test harness for staging scenarios
2026-07-14 09:36:39 -03:00
2bd9e90f00 k8s nfs backup: exclude namespaces from scaling, isolate per-run state, harden failure handling
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 7s
Test automated-nfs-backup / test-automated-nfs-backup (push) Successful in 7s
- Add EXCLUDED_NAMESPACES (default kube-system,kube-public,kube-node-lease,default); excluded folders are backed up but never scaled
- Use a per-run state dir via mktemp -d so stale .state files from an earlier run can't leak into restores
- Partial folder-backup failure now exits 0 (only zero successes fails); retention runs even on partial failure
- Remove dead SCALE_TIMEOUT_SECONDS config; document SCALE_WAIT_SECONDS
- Add .gitattributes to keep *.sh at LF
- Extend test harness to 44 passing assertions covering exclusions, per-run state, partial/all-failed/empty scenarios
2026-07-14 09:02:06 -03:00
7b46d789ed 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
2026-07-13 08:59:38 -03:00