cibuild: the org model, which runs every check uncached (closes #37)
check / check (push) Failing after 16s
check / check (push) Failing after 16s
script/cibuild was a plain docker build ., so on a tree Docker had seen before every check step came from the build cache and the build still passed. It is now the org model from sneak/prompts, byte for byte: it runs script/bootstrap and script/check, then builds the image with --no-cache and the git describe version as the VERSION build argument, which the Dockerfile's builder stage already declares. README.md's entry for the script says what it now does. Model: opus-5-5
This commit is contained in:
@@ -65,7 +65,8 @@ halves, so the root `make check` fails if either one is broken. We provide:
|
||||
`script/check`: it needs Docker and takes minutes.
|
||||
- `script/docker` — build the image from `Dockerfile` without the build cache,
|
||||
tagged `netwatch` via `script/projectname`
|
||||
- `script/cibuild` — CI entrypoint: builds the image
|
||||
- `script/cibuild` — CI entrypoint: runs `script/bootstrap` and `script/check`,
|
||||
then builds the image as `script/docker` does, without the build cache
|
||||
- `script/precommit` — run by the git pre-commit hook; runs `script/check`
|
||||
- `script/install-precommit` — install the git pre-commit hook
|
||||
|
||||
|
||||
Reference in New Issue
Block a user