aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.extras/image-builder/README18
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).