Commit Graph
106 Commits
Author SHA1 Message Date
ivanch 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
ivanch 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
ivanch d5fb0b7df6 small things 2026-07-13 09:34:57 -03:00
ivanch 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
ivanch 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
ivanch 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
ivanch 94deda4372 simplifying automated nfs backup 2026-07-04 20:21:10 -03:00
ivanch 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
ivanch 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
ivanch 2f2ad759c1 more fixes
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
2026-06-21 12:50:29 -03:00
ivanch 7ac6d16180 fixes and improves
Check scripts syntax / check-scripts-syntax (push) Successful in 40s
2026-06-21 12:09:14 -03:00
ivanch 36a0444344 updating script
Check scripts syntax / check-scripts-syntax (push) Successful in 40s
2026-06-20 18:53:59 -03:00
ivanch 941b0f97e3 fixing script
Check scripts syntax / check-scripts-syntax (push) Successful in 42s
2026-06-16 08:50:10 -03:00
ivanch 4149e15fea small changes
Check scripts syntax / check-scripts-syntax (push) Successful in 30s
2026-05-26 20:05:12 -03:00
ivanch 2de4ca75a1 fixing counter
Check scripts syntax / check-scripts-syntax (push) Successful in 50s
2026-05-26 15:50:10 -03:00
ivanch 4870ede3ad adding k8s pack
Check scripts syntax / check-scripts-syntax (push) Successful in 34s
2026-05-21 12:45:07 -03:00
ivanch 9db7273ae9 removing dns override options
Check scripts syntax / check-scripts-syntax (push) Successful in 23s
2026-05-16 11:29:32 -03:00
ivanch 4976227ce8 updating dns override
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
2026-05-16 11:16:59 -03:00
ivanch c800ec1888 adding dns override
Check scripts syntax / check-scripts-syntax (push) Successful in 41s
2026-05-16 11:09:03 -03:00
ivanch 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
ivanch 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
ivanch 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
ivanch 61ade81d39 updating things
Check scripts syntax / check-scripts-syntax (push) Successful in 35s
2025-09-20 20:53:54 -03:00
ivanch 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
ivanch c34ee5185d fixing docker update
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
2025-08-24 21:07:13 -03:00
ivanch 1489062943 removing auto update
Check scripts syntax / check-scripts-syntax (push) Successful in 36s
2025-08-24 20:59:49 -03:00
ivanch eb8ca78f4f tweaks to the scripts
Check scripts syntax / check-scripts-syntax (push) Successful in 41s
2025-08-24 20:55:14 -03:00
ivanch 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
ivanch 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
ivanch 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
ivanch 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
ivanch 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
ivanch 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
ivanch 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
ivanch 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
ivanch 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
ivanch 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
ivanch 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
ivanch 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
ivanch 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
ivanch 7520d70ce9 things 2025-08-17 12:40:37 -03:00
ivanch 7016ced89e improving backup.sh
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
2025-08-16 22:58:36 -03:00
ivanch 928605a696 fixing URL
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
2025-08-16 22:53:15 -03:00
ivanch 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
ivanch 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
ivanch 89f0afe334 improving logging
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
Haven Notify Build and Deploy / Build Haven Notify Image (amd64) (push) Successful in 20s
Haven Notify Build and Deploy / Deploy Haven Notify (push) Successful in 10s
2025-08-16 22:46:02 -03:00
ivanch 018a4a5d60 updating haven notify
Check scripts syntax / check-scripts-syntax (push) Successful in 3s
Haven Notify Build and Deploy / Build Haven Notify Image (amd64) (push) Successful in 15s
Haven Notify Build and Deploy / Deploy Haven Notify (push) Successful in 11s
2025-08-16 22:41:41 -03:00
ivanch cbd813a76e whoops
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
Haven Notify Build and Deploy / Build Haven Notify Image (amd64) (push) Successful in 18s
Haven Notify Build and Deploy / Deploy Haven Notify (push) Successful in 11s
2025-08-16 22:38:07 -03:00
ivanch 5f77376a46 updating backup.sh
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
2025-08-16 22:35:10 -03:00
ivanch a32bcb34a3 haven notify!
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:31:54 -03:00