diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -50,12 +50,24 @@ cd some-slackbuild-dir && test-build <name> # -current test-build --stable <name> # 15.0 test-build --keep <name> # also keep the built .txz test-build --local-deps <name> # deps live in the same repo +test-build --pull <name> # refresh the image first ``` `--local-deps` also searches the target's own repo (its grandparent dir) for deps, for packages whose deps are siblings in the same repo and not on SBo. The configured SBo tree is still searched after. +A local image is pulled only when missing, so it goes stale when the registry +tag is rebuilt. `test-build --pull <name>` refreshes it for one run. To keep +every machine that runs `test-build` current, add a daily cron entry after +the image chain finishes (~08:00). `docker pull` compares digests itself and +is a no-op when the image is up to date; the prune drops the image a pull +leaves untagged: + +``` +30 9 * * * docker pull -q docker.noland.dnx:5000/sbo-testbuild:current && docker pull -q docker.noland.dnx:5000/sbo-testbuild:15.0 && docker image prune -f +``` + Build the images (on the docker host; see `image-builder/README`): ```bash |
