ci-accelerator/ci-accelerator
Builds/test/Compare

Compare two builds of test

Earlier #3028727227 · 4 Nov 19:26 UTC Your change compared withLater #3047144016 · 9 Nov 21:55 UTC Your change this build
Time51 s4.2 s
Steps run2 of 72 of 8
Commit447fc9e1 (release 0.5.1)677e6374 (showcase: the go test build sees the API contract)
Nodemdkjrmdkjr
Build context sent5.5 MiB7.8 MiB

Build arguments

Neither build set a build argument.

Dockerfile

FROM src AS test
+ # The API test holds the responses to the contract (src stays the image's).
+ COPY docs/api docs/api
RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build \
go test ./...

Steps

by their place in the Dockerfile
StepEarlier compared withLater this buildTime
[linux/amd64 build 1/9] golang:1.27.3-trixie not reported base image 0.0 s
[linux/amd64 build 2/9] WORKDIR /src not reported from cache 0.0 s
[src 3/6] COPY go.mod go.sum ./ from cache 0.0 s from cache 0.0 s
[src 4/6] RUN --mount=type=cache,target=/go/pkg/mod go mod download from cache 0.0 s from cache 0.0 s
[src 5/6] COPY cmd cmd from cache 0.0 s from cache 0.0 s
[src 6/6] COPY internal internal built 0.1 s from cache 0.0 s
[test 1/2] COPY docs/api docs/api not reported built 0.1 s
[test 2/2] RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build go test ./... not reported built 4.0 s
[src 1/6] golang:1.27.3-trixie base image 0.0 s not reported
[src 2/6] WORKDIR /src from cache 0.0 s not reported
[test 1/1] RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build go test ./... built 50 s not reported

Compare with another build of test

the last 30 · pick in the builds list