diff options
| author | Danilo M. <danix@danix.xyz> | 2026-07-14 13:09:32 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-07-14 13:09:32 +0200 |
| commit | 78db18564c3343f8a5ecd543b29f5a4611ea9470 (patch) | |
| tree | 26f3b18b978242331e1ec2d1d9fa914f188eff52 /.extras/image-builder/README | |
| parent | 7df4fdf14a3af63034f1613eea2fc3144ac7657d (diff) | |
| download | sbo-slackbuilds-78db18564c3343f8a5ecd543b29f5a4611ea9470.tar.gz sbo-slackbuilds-78db18564c3343f8a5ecd543b29f5a4611ea9470.zip | |
image-builder: cron gates both variants, add 15.0, drop --force
All three scripts self-gate (ChangeLog hash, base digest, full digest + .txz
hash), so --force was forcing needless full rebuilds. Drop it: unchanged
nights are now cheap no-ops. Add the 15.0 variant (09:00/09:20/11:00), which
on frozen stable rebuilds only when the 15.0 repo actually changes. -current
stays at 06:00/06:20/08:00.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to '.extras/image-builder/README')
| -rw-r--r-- | .extras/image-builder/README | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/.extras/image-builder/README b/.extras/image-builder/README index d2b3ff6..9ffc464 100644 --- a/.extras/image-builder/README +++ b/.extras/image-builder/README @@ -36,11 +36,19 @@ VM setup (docker.noland.dnx, Slackware x86_64, 4 vCPU / 4 GB / 80 GB) /opt/sbo-testbuild/pkgs/sbo-maintainer-tools-*.txz 6. Install the nightly cron (root). The NAS repos sync at 04:00 and 05:00, so - the chain runs after. full-image takes ~55 min, so testbuild waits with - margin. Times below are the deployed schedule on docker.noland.dnx: - 0 6 * * * /path/to/.extras/image-builder/bootstrap.sh --version current --force >> /var/log/sbo-testbuild.log 2>&1 - 20 6 * * * /path/to/.extras/image-builder/build-full-image.sh --version current --force >> /var/log/sbo-testbuild.log 2>&1 - 0 8 * * * /path/to/.extras/image-builder/build-sbo-testbuild.sh --version current --force >> /var/log/sbo-testbuild.log 2>&1 + the chain runs after. No --force: each script self-gates (bootstrap on the + ChangeLog hash, full-image on the base-image digest, build-sbo-testbuild on + the full-image digest + tools .txz hash), so an unchanged night is a cheap + no-op. -current moves daily and rebuilds most nights; 15.0 is frozen stable + and rebuilds only on a real repo update. Deployed schedule on docker.noland.dnx: + # -current + 0 6 * * * /path/to/.extras/image-builder/bootstrap.sh --version current >> /var/log/sbo-testbuild.log 2>&1 + 20 6 * * * /path/to/.extras/image-builder/build-full-image.sh --version current >> /var/log/sbo-testbuild.log 2>&1 + 0 8 * * * /path/to/.extras/image-builder/build-sbo-testbuild.sh --version current >> /var/log/sbo-testbuild.log 2>&1 + # 15.0 + 0 9 * * * /path/to/.extras/image-builder/bootstrap.sh --version 15.0 >> /var/log/sbo-testbuild.log 2>&1 + 20 9 * * * /path/to/.extras/image-builder/build-full-image.sh --version 15.0 >> /var/log/sbo-testbuild.log 2>&1 + 0 11 * * * /path/to/.extras/image-builder/build-sbo-testbuild.sh --version 15.0 >> /var/log/sbo-testbuild.log 2>&1 7. Ensure docker.noland.dnx resolves on the LAN (static IP or DNS). |
