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

Compare two builds of test

Earlier #3068661145 · 14 Nov 17:09 UTC From cache this buildLater #3080012584 · 17 Nov 16:31 UTC Your change compared with
Time0.6 s4 min 52 s
Steps run0 of 84 of 12
Commitdb316a00 (docs: the order speed-up (ADR-0062), the Dockerfile guide, …)3707a191 (router: the connection-cap test needs a second loopback add…)
Node7ljc87ljc8
Build context sent8.8 MiB10 MiB

Build arguments

Neither build set a build argument.

Dockerfile

# (cmd/ci-accelerator/Dockerfile, the same lines): jobs running at once
# share them on the daemon, and the Go caches live in cache mounts.
- FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.27.3-trixie@sha256:fbb7ae40b62ff8afe31662df570d39b4f5052ac32b90dae8e60d7657a20a74f4 AS src
+ FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.27.4-trixie@sha256:b54b2639de8c1bfe538ec5ffc45f29b1932235ac5f6d63c059853646677112d9 AS src
ARG TARGETOS TARGETARCH
ARG VERSION=dev COMMIT=
…
# The API test holds the responses to the contract (src stays the image's).
COPY docs/api docs/api
+ # The fleet test compares the values it generates with this golden file.
+ COPY charts/ci-accelerator/tests/values/fleet-member.yaml charts/ci-accelerator/tests/values/
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 this buildLater compared withTime
[linux/amd64 build 1/9] golang:1.27.4-trixie not reported base image 0.0 s
[linux/amd64 build 4/9] RUN --mount=type=cache,target=/go/pkg/mod go mod download not reported from another job 0.3 s
[linux/amd64 build 5/9] COPY cmd cmd not reported from another job 0.0 s
[linux/amd64->arm64 build 2/9] WORKDIR /src not reported from cache 0.0 s
[linux/amd64->arm64 build 3/9] COPY go.mod go.sum ./ not reported from another job 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 from cache 0.0 s built 0.1 s
[test 1/3] COPY docs/api docs/api not reported built 0.0 s
[test 2/3] COPY charts/ci-accelerator/tests/values/fleet-member.yaml charts/ci-accelerator/tests/values/ not reported built 0.0 s
[test 3/3] RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build go test ./... not reported built 4 min 51 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/2] COPY docs/api docs/api from cache 0.0 s not reported
[test 2/2] RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build go test ./... from cache 0.0 s not reported

Compare with another build of test

the last 29 · pick in the builds list