Author SHA1 Message Date
sneak 37bde0d2a5 Run make test once so a failing test fails the build (closes #101)
check / check (push) Successful in 2m30s
make test retried a failed go test run with go test -v, and when the
retry passed, make test, make check and the Docker build all reported
success, hiding real failures. It now runs go test once, keeping
-timeout 120s, -race and -cover.

Model: opus-5-5
2026-10-03 12:36:54 +00:00
clawbot 729c671561 Remove BUILDARCH and stamp the git version in Docker builds (closes #107, closes #109)
check / check (push) Successful in 2m1s
The Makefile no longer passes a build architecture; it set a variable that
does not exist, and the architecture is available at run time.

A plain docker build now stamps neoircd with the tag or short commit:
.dockerignore sends .git, without its config, and the builder takes the
version from the VERSION build arg when given, otherwise from git describe.
With .git present, an empty, dev or unknown version fails the build.

Model: opus-5-5
2026-10-02 04:13:07 +02:00
+1 -1
View File
@@ -31,7 +31,7 @@ fmt-check:
@test -z "$$(gofmt -l .)" || (echo "Files not formatted:" && gofmt -l . && exit 1)
test: ensure-web-dist
go test -timeout 120s -race -cover ./... || go test -timeout 120s -race -v ./...
go test -timeout 120s -race -cover ./...
# check runs all validation without making changes
# Used by CI and Docker build — fails if anything is wrong