Test that the shipped data stays under 100 MiB and that publish_release.py stops on a tag at another commit, both in the gate

This commit is contained in:
2026-10-12 17:35:58 +02:00
committed by Lillem4n
parent 95af089778
commit 2c9ff3b014
4 changed files with 107 additions and 1 deletions
+6
View File
@@ -11,6 +11,12 @@ RUN go vet ./... && \
go run github.com/fzipp/gocyclo/cmd/gocyclo@v0.6.0 -over 14 -ignore _test . && \
go test -race ./...
FROM python:3.14.8-slim AS release-tooling
COPY release-tooling/ /release-tooling/
RUN python3 -m unittest discover -s /release-tooling -p '*_test.py' && touch /tested
FROM portable
# BuildKit skips a stage nothing copies from.
COPY --from=release-tooling /tested /tmp/release-tooling-tested
RUN unformatted="$(gofmt -l .)"; test -z "$unformatted" || \
{ echo "unformatted files:"; echo "$unformatted"; exit 1; }