Commit Graph

102 Commits

Author SHA1 Message Date
d78c4946bd Combine update.sh + clean.sh into housekeeping.sh with subcommand dispatch
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
2026-06-21 12:50:29 -03:00
7ac6d16180 fixes and improves
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 40s
2026-06-21 12:09:14 -03:00
36a0444344 updating script
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 40s
2026-06-20 18:53:59 -03:00
941b0f97e3 fixing script
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 42s
2026-06-16 08:50:10 -03:00
4149e15fea small changes
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 30s
2026-05-26 20:05:12 -03:00
2de4ca75a1 fixing counter
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 50s
2026-05-26 15:50:10 -03:00
4870ede3ad adding k8s pack
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 34s
2026-05-21 12:45:07 -03:00
9db7273ae9 removing dns override options
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 23s
2026-05-16 11:29:32 -03:00
4976227ce8 updating dns override
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
2026-05-16 11:16:59 -03:00
c800ec1888 adding dns override
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 41s
2026-05-16 11:09:03 -03:00
253c8abee3 removing QEMU requirement
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 35s
2025-09-20 20:53:54 -03:00
96548f4773 small adjustments
All checks were successful
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
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
2025-08-24 21:07:13 -03:00
1489062943 removing auto update
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 36s
2025-08-24 20:59:49 -03:00
eb8ca78f4f tweaks to the scripts
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 41s
2025-08-24 20:55:14 -03:00
45567b2242 updating templates
All checks were successful
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
Some checks failed
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
Some checks failed
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)
All checks were successful
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
All checks were successful
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
Some checks failed
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
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
2025-08-16 22:58:36 -03:00
928605a696 fixing URL
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
2025-08-16 22:53:15 -03:00
b75240c693 trying to fix arch :c
All checks were successful
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
All checks were successful
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
89f0afe334 improving logging
All checks were successful
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
018a4a5d60 updating haven notify
All checks were successful
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
cbd813a76e whoops
All checks were successful
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
5f77376a46 updating backup.sh
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 2s
2025-08-16 22:35:10 -03:00
a32bcb34a3 haven notify!
All checks were successful
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
20ef0eb4b5 haven notify only for amd64 2025-08-16 22:31:41 -03:00
6879e4d2bf pipe
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
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 10s
2025-08-16 22:30:04 -03:00
a7fcd1b4fe pipe
Some checks failed
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
Haven Notify Build and Deploy / Build Haven Notify Image (amd64) (push) Successful in 9s
Haven Notify Build and Deploy / Build Haven Notify Image (arm64) (push) Successful in 2m23s
Haven Notify Build and Deploy / Deploy Haven Notify (push) Failing after 49s
2025-08-16 22:24:25 -03:00
ee03aff009 pipe
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 4s
2025-08-16 22:16:55 -03:00