b1cdf15cc8
adding test containers
Check scripts syntax / check-scripts-syntax (push) Successful in 3s
Test automated-nfs-backup / test-automated-nfs-backup (push) Successful in 4s
Haven Notify Build and Deploy / Build Haven Notify Image (pull_request) Has been cancelled
Haven Notify Build and Deploy / Build Haven Notify Image (PR) (pull_request) Has been cancelled
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (pull_request) Has been cancelled
Haven Notify Build and Deploy / Test Haven Notify (pull_request) Has been cancelled
2026-07-16 09:14:51 -03:00
0043c4ae00
changing ci pipelines to runner-slim image
Check scripts syntax / check-scripts-syntax (push) Successful in 7s
Test automated-nfs-backup / test-automated-nfs-backup (push) Successful in 8s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 30s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 3s
2026-07-15 06:23:40 -03:00
45556833c0
removing default from excluded namespaces
Check scripts syntax / check-scripts-syntax (push) Successful in 28s
Test automated-nfs-backup / test-automated-nfs-backup (push) Successful in 29s
2026-07-15 06:21:31 -03:00
43351abb11
k8s nfs backup: add rsync staging path and per-run staging cleanup
...
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
...
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
91572e4819
ci: align workflows with pipeline-actions composite actions
...
Check scripts syntax / check-scripts-syntax (push) Successful in 3s
Test automated-nfs-backup / test-automated-nfs-backup (push) Successful in 3s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 22s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 10s
- haven-notify.yaml: replace hand-rolled build+deploy (broken
docker/build-push-action remote-builder path) with pipeline-actions
build-and-push + deploy-restart; full Gitea uses: URLs; ubuntu-amd64.
- main.yaml / test-automated-nfs-backup.yaml: runner label
ubuntu-latest -> ubuntu-amd64.
- haven-notify/README.md: point to infra/haven-notify.yaml in the
haven repo; fix secret name to discord-webhook/HAVEN_WEBHOOK_URL.
2026-07-13 12:06:50 -03:00
9639c90799
ci: align workflows with pipeline-actions; move haven-notify spec to haven
...
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Has been cancelled
Haven Notify Build and Deploy / Build Haven Notify Image (push) Has been cancelled
- haven-notify.yaml: replace hand-rolled build+deploy (broken
docker/build-push-action remote-builder path) with pipeline-actions
build-and-push + deploy-restart composite actions; full Gitea uses:
URLs; ubuntu-amd64 runner label.
- main.yaml / test-automated-nfs-backup.yaml: fix runner label
ubuntu-latest -> ubuntu-amd64.
- Remove haven-notify/deploy manifest; it now lives in the haven
homelab repo at infra/haven-notify.yaml. Update README accordingly.
2026-07-13 12:06:35 -03:00
d5fb0b7df6
small things
2026-07-13 09:34:57 -03:00
7b46d789ed
refactor: make NFS backup script testable with minimal config vars, add test harness + Gitea workflow, address review nits
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
d78c4946bd
Combine update.sh + clean.sh into housekeeping.sh with subcommand dispatch
...
Check scripts syntax / check-scripts-syntax (push) Successful in 38s
- Merges both scripts into a single unified housekeeping.sh
- Subcommands: update, clean, omz, all (default)
- New 'omz' command: runs 'omz update' with safe fallback if not installed
- Unknown subcommands print usage and exit 0
- Shared utility functions defined once at top
- Preserves all existing OS detection, cleanup, and reporting logic
2026-07-05 13:09:20 -03:00
4cdb79dcd5
Merge branch 'main' of git.ivanch.me:ivanch/server-scripts
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
2026-07-04 20:21:13 -03:00
94deda4372
simplifying automated nfs backup
2026-07-04 20:21:10 -03:00
8f701dc5c8
Fix bash syntax error in backup_folder return logic
...
Check scripts syntax / check-scripts-syntax (push) Successful in 31s
The arithmetic test `(( rc == 0 || (rc == 1 && -z "$filtered_output") ))`
breaks the bash parser when filtered_output is a multiline string. Split
the test so the -z check runs in a [[ ]] context instead.
2026-06-27 12:39:14 -03:00
2ce71f4fc1
add update.sh: OS detection + package list update
...
Check scripts syntax / check-scripts-syntax (push) Successful in 41s
- New update.sh: detects Alpine, Arch, Debian/Ubuntu, RHEL/Fedora/CentOS,
openSUSE, Void, Gentoo and updates the package index only (no upgrades)
- clean.sh fixes:
- Fix ((cleaned_count++)) exiting under set -e on first successful rm
- Stop recursively deleting /var/cache and /root/.cache wholesale
- Add CACHE_RETENTION_DAYS (7d) — clean_directory now only deletes
files older than retention period instead of wiping everything
- Remove dangerous rm -rf fallback in clean_directory
- Narrow CACHE_DIRS to /var/cache/apt instead of /var/cache
- Fix /home/*/.cache pattern to only target pip/npm caches
2026-06-25 19:42:51 -03:00
2f2ad759c1
more fixes
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
2026-06-21 12:50:29 -03:00
7ac6d16180
fixes and improves
Check scripts syntax / check-scripts-syntax (push) Successful in 40s
2026-06-21 12:09:14 -03:00
36a0444344
updating script
Check scripts syntax / check-scripts-syntax (push) Successful in 40s
2026-06-20 18:53:59 -03:00
941b0f97e3
fixing script
Check scripts syntax / check-scripts-syntax (push) Successful in 42s
2026-06-16 08:50:10 -03:00
4149e15fea
small changes
Check scripts syntax / check-scripts-syntax (push) Successful in 30s
2026-05-26 20:05:12 -03:00
2de4ca75a1
fixing counter
Check scripts syntax / check-scripts-syntax (push) Successful in 50s
2026-05-26 15:50:10 -03:00
4870ede3ad
adding k8s pack
Check scripts syntax / check-scripts-syntax (push) Successful in 34s
2026-05-21 12:45:07 -03:00
9db7273ae9
removing dns override options
Check scripts syntax / check-scripts-syntax (push) Successful in 23s
2026-05-16 11:29:32 -03:00
4976227ce8
updating dns override
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
2026-05-16 11:16:59 -03:00
c800ec1888
adding dns override
Check scripts syntax / check-scripts-syntax (push) Successful in 41s
2026-05-16 11:09:03 -03:00
253c8abee3
removing QEMU requirement
Check scripts syntax / check-scripts-syntax (push) Successful in 7s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 36s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 11s
2026-03-13 22:45:07 -03:00
6650a615a5
fixing logo placement
Check scripts syntax / check-scripts-syntax (push) Successful in 42s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 12m29s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 18s
2025-10-06 22:14:42 -03:00
b1fb0889a4
updating things again
Check scripts syntax / check-scripts-syntax (push) Successful in 1s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 12m19s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 18s
2025-09-20 20:56:23 -03:00
61ade81d39
updating things
Check scripts syntax / check-scripts-syntax (push) Successful in 35s
2025-09-20 20:53:54 -03:00
96548f4773
small adjustments
Check scripts syntax / check-scripts-syntax (push) Successful in 36s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 10m45s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 19s
2025-09-07 11:19:56 -03:00
c34ee5185d
fixing docker update
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
2025-08-24 21:07:13 -03:00
1489062943
removing auto update
Check scripts syntax / check-scripts-syntax (push) Successful in 36s
2025-08-24 20:59:49 -03:00
eb8ca78f4f
tweaks to the scripts
Check scripts syntax / check-scripts-syntax (push) Successful in 41s
2025-08-24 20:55:14 -03:00
45567b2242
updating templates
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 10m0s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 11s
2025-08-23 22:01:01 -03:00
b0324ac9d8
forgot copy
Check scripts syntax / check-scripts-syntax (push) Successful in 3s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 10m0s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Failing after 17s
2025-08-23 21:36:32 -03:00
06cf78a4a6
adding error & deploy notification
Check scripts syntax / check-scripts-syntax (push) Successful in 3s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 10m1s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Failing after 11s
2025-08-23 20:44:32 -03:00
cd57837696
templates + arm64 build (slow)
Check scripts syntax / check-scripts-syntax (push) Successful in 36s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 10m5s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 17s
2025-08-23 20:27:49 -03:00
cedc435df0
maybe this gon work
Check scripts syntax / check-scripts-syntax (push) Successful in 6s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Successful in 32s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 22s
2025-08-22 22:35:50 -03:00
aa7a9b8548
back to only amd64
Check scripts syntax / check-scripts-syntax (push) Successful in 7s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Failing after 20s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Has been skipped
2025-08-22 22:33:09 -03:00
11e2a28bd4
removing crossbuild on docker
Check scripts syntax / check-scripts-syntax (push) Successful in 7s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Failing after 11m14s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Has been skipped
2025-08-22 22:00:11 -03:00
8b52bd2c45
yet anoter retry
Check scripts syntax / check-scripts-syntax (push) Successful in 7s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Has been cancelled
Haven Notify Build and Deploy / Build Haven Notify Image (push) Has been cancelled
2025-08-22 21:50:20 -03:00
442ff12039
new try
Check scripts syntax / check-scripts-syntax (push) Successful in 6s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Has been cancelled
Haven Notify Build and Deploy / Build Haven Notify Image (push) Has been cancelled
2025-08-22 21:41:31 -03:00
12920c10d4
anoter retry
Check scripts syntax / check-scripts-syntax (push) Successful in 6s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Has been cancelled
Haven Notify Build and Deploy / Build Haven Notify Image (push) Has been cancelled
2025-08-22 21:32:27 -03:00
99e110afb3
removing arch from go build
Check scripts syntax / check-scripts-syntax (push) Successful in 1m7s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Failing after 13m14s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 24s
2025-08-22 21:08:28 -03:00
8108ca7e7b
add setup for buildx
Check scripts syntax / check-scripts-syntax (push) Successful in 8s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 24s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Has been cancelled
2025-08-21 22:06:25 -03:00
100262513b
Improvements for haven-notify
Check scripts syntax / check-scripts-syntax (push) Successful in 1m19s
Haven Notify Build and Deploy / Build Haven Notify Image (push) Failing after 1m51s
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (push) Successful in 33s
2025-08-21 21:11:22 -03:00
7520d70ce9
things
2025-08-17 12:40:37 -03:00
7016ced89e
improving backup.sh
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
2025-08-16 22:58:36 -03:00
928605a696
fixing URL
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
2025-08-16 22:53:15 -03:00
b75240c693
trying to fix arch :c
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
Haven Notify Build and Deploy / Build Haven Notify Image (amd64) (push) Successful in 16s
Haven Notify Build and Deploy / Deploy Haven Notify (push) Successful in 11s
2025-08-16 22:51:35 -03:00
9ab518e149
improving dockerfile
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
Haven Notify Build and Deploy / Build Haven Notify Image (amd64) (push) Successful in 24s
Haven Notify Build and Deploy / Deploy Haven Notify (push) Successful in 10s
2025-08-16 22:48:14 -03:00