generated from coulomb/repo-seed
Add container smoke acceptance
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user