|
All checks were successful
CI / verification (pull_request) Successful in 31s
The CI runs the tests in node:22-alpine, where 9 of the 12 cases failed: no ssh on PATH, and busybox has neither `find -printf` nor `date -d "... days"`. The newest dated directory is now found by a loop over the glob, and the rotation cutoff by epoch arithmetic, which GNU date and busybox both read. The tests add a fake ssh, and a fake flock where the host has none. The rotation_failed case failed the pass through a read-only directory, which root ignores: it now uses a fake rm. Review suggestions: the rsync argv must put --include=*/ before --exclude=* (without it nothing crosses and the pass still says ok), and a case runs the real rsync through the fake ssh when rsync is present. A pass whose newest directory is not today's logs a warning. Refs maximus/la-compagnie-maximus#220 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| maximus-pg-backup-pull.service | ||
| maximus-pg-backup-pull.timer | ||
| run-pg-backup-pull.sh | ||