check / check (push) Failing after 3s
Completed Steps entries keep what landed, the traps, every disclosure and every record that a check ran; the argument and history go, with bare issue numbers turned into full links. Comment blocks in script/, Dockerfile and Dockerfile.lint keep the trap and drop the defence of past decisions. TODO.md Workflow now branches from next, targets next, and leaves merging next to main to the owner. Only comments and Markdown change. Model: opus-5-5
20 lines
585 B
Bash
Executable File
20 lines
585 B
Bash
Executable File
#!/bin/sh
|
|
# script/cibuild: run the CI build. The Gitea workflow runs this on
|
|
# push. The Dockerfile runs every gate make check runs, as build steps,
|
|
# so a successful build means the repo is green.
|
|
#
|
|
# Without a fresh CHECK_EPOCH, a rebuild of an unchanged checkout serves
|
|
# the gate layers from cache and passes having run none of them. The
|
|
# process id goes in with the epoch so two runs started in the same
|
|
# second still differ.
|
|
set -eu
|
|
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
|
|
|
|
main() {
|
|
cd "$ROOT"
|
|
docker build --build-arg CHECK_EPOCH="$(date +%s)-$$" .
|
|
}
|
|
|
|
main "$@"
|