diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-25 10:05:08 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-25 10:05:08 +0200 |
| commit | ded593dc529916f1bf23f2df38f975db1c1e69e8 (patch) | |
| tree | 7f3c60069cddd61789c068d30578cb69755dfeec /skills | |
| parent | 2fd4fa399e980e3ea351df435d0f0eb2841679d8 (diff) | |
| download | sbo-dockerbuild-ded593dc529916f1bf23f2df38f975db1c1e69e8.tar.gz sbo-dockerbuild-ded593dc529916f1bf23f2df38f975db1c1e69e8.zip | |
test-build: add --pull to refresh a stale local image
require_image pulled only when the image was missing, so once the
image-builder rebuilt a registry tag the local copy went stale with no
warning. --pull runs `docker pull` first, which compares digests itself
and costs one manifest request when nothing changed. If the registry is
unreachable it falls back to the local copy with a warning, and still
fails when there is none.
The README documents a daily cron pull for machines that run test-build,
and the skill notes that local images are not refreshed automatically.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'skills')
| -rw-r--r-- | skills/test-build-slackbuild/SKILL.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/skills/test-build-slackbuild/SKILL.md b/skills/test-build-slackbuild/SKILL.md index e8b553c..dc23896 100644 --- a/skills/test-build-slackbuild/SKILL.md +++ b/skills/test-build-slackbuild/SKILL.md @@ -73,6 +73,7 @@ The local deps must themselves be valid, buildable SlackBuilds. Without the flag | `--no-cache` | Rebuild all deps this run. | | `--keep` | Copy the built target `.txz` to `kept/` so it can be installed on the host. | | `--local-deps` | Also resolve deps from the target's own repo (grandparent dir), for deps that are siblings in the same repo and not on SBo. | +| `--pull` | Refresh the image from the registry before building (no-op if already current; falls back to the local copy if the registry is down). Use when the image-builder rebuilt the tag since the last pull. | | `--no-color` | Disable ANSI color (auto-off when not a TTY). | | `-V`, `--version` | Print version. | @@ -91,7 +92,7 @@ Lint runs in-container on the target only. Findings are **fail-soft**: `LINT-FIN ## Setup that must exist - `~/.config/sbo-testbuild/config` (from `test-build-config.example`): trees, image tags, `LOG_ROOT`, `PKG_CACHE`. Missing config = hard exit with a copy-the-example message. -- Docker reachable, and the `sbo-testbuild:{current,15.0}` images built by the image-builder (pulled from the LAN registry if not local). A pure `--dry-run` skips the image check. +- Docker reachable, and the `sbo-testbuild:{current,15.0}` images built by the image-builder (pulled from the LAN registry if not local). A local copy is **not** refreshed automatically: it goes stale when the registry tag is rebuilt, unless a daily cron pull is set up (see README) or you pass `--pull`. A pure `--dry-run` skips the image check. - `~/.config/sbo-testbuild/overrides` only if you need override rules. ## Do not |
