Add container smoke acceptance

This commit is contained in:
2026-05-15 14:46:21 +02:00
parent d8dbf4950e
commit 61b31e4ebf
6 changed files with 109 additions and 7 deletions

View File

@@ -48,6 +48,35 @@ podman run --rm \
The run output remains on the host under `runs/sample-noop`.
## Smoke Check
Run the reproducible smoke check from the repository root:
```sh
scripts/container_smoke.sh
```
The script:
- detects `podman` or `docker`,
- builds `guide-board-core:smoke`,
- mounts a host output directory at `/runs`,
- runs the bundled sample assessment,
- verifies that the expected run artifacts are present on the host.
Override the runtime, image name, or output directory when needed:
```sh
CONTAINER_RUNTIME=docker \
GUIDE_BOARD_SMOKE_IMAGE=guide-board-core:local \
GUIDE_BOARD_SMOKE_RUNS_DIR=/tmp/guide-board-container-smoke \
scripts/container_smoke.sh
```
The smoke check uses only bundled sample profiles and the dependency-light core
image. Restricted harness material and extension-specific runtime dependencies
must stay in extension-specific images or explicit mounts.
## External Profiles
Mount project-specific profiles read-only: