New builds since this page loaded.
“docs: builds from a git context (ADR-0057)”3da7c8c4 on mainnode lgscp
Nothing was rebuilt: 18 steps came from cache.
When they last ran, these steps took 50 s together.
6.3 s
0 of 21 steps ran
Job logthe end of it, read from GitLab when you open this
Read from GitLab when you ask, nothing before.
What changed since the previous build
the previous build, pipeline #3023438645 · compare side by side- Commit
- cf6fd850 → 3da7c8c4 docs: builds from a git context (ADR-0057)
- Steps run
- 0, last time 12
Steps
1
# The ci-accelerator image: the control plane's roles (controller, web) and
2
# the daemons' disk probe. Build from the repository root:
3
# docker buildx build -f cmd/ci-accelerator/Dockerfile .
4
# Pure Go (no cgo): one static binary on a distroless base, non-root.
5
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.27.3-trixie@sha256:fbb7ae40b62ff8afe31662df570d39b4f5052ac32b90dae8e60d7657a20a74f4 AS build
on node
6
ARG TARGETOS TARGETARCH
7
# The version the binary reports: the image tag (v<appVersion> for a
8
# release) and the commit it was built from.
9
ARG VERSION=dev COMMIT=
10
WORKDIR /src
cached
11
COPY go.mod go.sum ./
cached
12
RUN --mount=type=cache,target=/go/pkg/mod go mod download
cached
13
COPY cmd cmd
cached
14
COPY internal internal
cached
15
RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build \
cached
16
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH \
17
go build -trimpath -ldflags="-s -w -buildid= -X main.version=$VERSION -X main.commit=$COMMIT" -o /out/ci-accelerator ./cmd/ci-accelerator
18
# The licences and notices of every module linked into the binary (the
19
# Apache-2.0 ones ask for their NOTICE files to go with it), under
20
# /licenses/<module path>/, and the project's own.
21
COPY LICENSE /out/licenses/ci-accelerator/LICENSE
cached
22
RUN --mount=type=cache,target=/go/pkg/mod \
cached
23
GOOS=$TARGETOS GOARCH=$TARGETARCH go list -deps -f '{{with .Module}}{{if not .Main}}{{.Path}} {{.Dir}}{{end}}{{end}}' ./cmd/ci-accelerator \
24
| sort -u | while read -r path dir; do \
25
mkdir -p "/out/licenses/$path"; \
26
for f in "$dir"/LICENSE* "$dir"/LICENCE* "$dir"/COPYING* "$dir"/NOTICE*; do [ ! -f "$f" ] || cp "$f" "/out/licenses/$path/"; done; \
27
[ -n "$(ls "/out/licenses/$path")" ] || { echo "no licence file in $path ($dir)" >&2; exit 1; }; \
28
done
29
30
FROM gcr.io/distroless/static-debian13:nonroot@sha256:18f4cc26c9ffa7f20a359298be7deadac5c607c8e03a02b8119f1a5fc2f82c99
on node
31
COPY --from=build /out/ci-accelerator /ci-accelerator
cached
32
COPY --from=build /out/licenses /licenses
cached
33
USER 65532:65532metadata only
34
ENTRYPOINT ["/ci-accelerator"]metadata only
Detailsnode, job, context, trace, record
- Build node
- ci-accelerator-buildkit-lgscp
- Routed by
- the build router: the job's own node, ubuntu-8gb-hel1-2, whose cache holds the project's layers
- GitLab job
- build-image · 17707284323 · 15 s in all, 6.3 s of it building
- Before the build
- the runner preparing the job's pod 0.1 s · the job's pod starting: scheduled, images pulled 3.0 s · the runner attaching to the pod, the checkout and the job's script up to the build 2.6 s (the pod's times are whole seconds, as Kubernetes records them)
- Waited for a runner
- 1.8 s
- Runner
- ci-accelerator box (Hetzner, the project's own builds)
- Build context sent
- 1.9 MiB
- Steps not run here took, when they last ran
- 50 s
- Started
- 3 Nov 16:56:32 UTC
- Pushed
- registry.gitlab.com/ci-accelerator/ci-accelerator:3da7c8c4, registry.gitlab.com/ci-accelerator/ci-accelerator:edge
- Trace id
- 019931960000b43712b000041f6fb763
- Record
- dzahbhohpaakumy3zn5iyzf9l
- API
- GET /api/v1/builds?limit=50 (this build is id 88)
[linux/amd64 build 1/9]line 50.0 s
golang:1.27.3-trixie
base image The base image of this stage.
Click or press Enter for the output and the step's history
[linux/amd64 build 2/9]stage linux/amd64 buildline 100.0 s
WORKDIR /src
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64 build 3/9]stage linux/amd64 buildline 110.0 s
COPY go.mod go.sum ./
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64 build 4/9]stage linux/amd64 buildline 120.0 s
RUN --mount=type=cache,target=/go/pkg/mod go mod download
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64->arm64 build 4/9]stage linux/amd64->arm64 buildline 120.0 s
RUN --mount=type=cache,target=/go/pkg/mod go mod download
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64 build 5/9]stage linux/amd64 buildline 130.0 s
COPY cmd cmd
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64->arm64 build 5/9]stage linux/amd64->arm64 buildline 130.0 s
COPY cmd cmd
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64 build 6/9]stage linux/amd64 buildline 140.0 s
COPY internal internal
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64->arm64 build 6/9]stage linux/amd64->arm64 buildline 140.0 s
COPY internal internal
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64 build 7/9]stage linux/amd64 buildline 15, 16, 170.0 s
RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-s -w -buildid= -X main.version=dev -X main.commit=" -o /out/ci-accelerator ./cmd/ci-accelerator
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64->arm64 build 7/9]stage linux/amd64->arm64 buildline 15, 16, 170.0 s
RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -trimpath -ldflags="-s -w -buildid= -X main.version=dev -X main.commit=" -o /out/ci-accelerator ./cmd/ci-accelerator
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64 build 8/9]stage linux/amd64 buildline 210.0 s
COPY LICENSE /out/licenses/ci-accelerator/LICENSE
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64->arm64 build 8/9]stage linux/amd64->arm64 buildline 210.0 s
COPY LICENSE /out/licenses/ci-accelerator/LICENSE
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64 build 9/9]stage linux/amd64 buildline 22, 23, 24, 25, 26, 27, 280.0 s
RUN --mount=type=cache,target=/go/pkg/mod GOOS=linux GOARCH=amd64 go list -deps -f '{{with .Module}}{{if not .Main}}{{.Path}} {{.Dir}}{{end}}{{end}}' ./cmd/ci-accelerator | sort -u | while read -r path dir; do mkdir -p "/out/licenses/$path"; for f in "$dir"/LICENSE* "$dir"/LICENCE* "$dir"/COPYING* "$dir"/NOTICE*; do [ ! -f "$f" ] || cp "$f" "/out/licenses/$path/"; done; [ -n "$(ls "/out/licenses/$path")" ] || { echo "no licence file in $path ($dir)" >&2; exit 1; }; done
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64->arm64 build 9/9]stage linux/amd64->arm64 buildline 22, 23, 24, 25, 26, 27, 280.0 s
RUN --mount=type=cache,target=/go/pkg/mod GOOS=linux GOARCH=arm64 go list -deps -f '{{with .Module}}{{if not .Main}}{{.Path}} {{.Dir}}{{end}}{{end}}' ./cmd/ci-accelerator | sort -u | while read -r path dir; do mkdir -p "/out/licenses/$path"; for f in "$dir"/LICENSE* "$dir"/LICENCE* "$dir"/COPYING* "$dir"/NOTICE*; do [ ! -f "$f" ] || cp "$f" "/out/licenses/$path/"; done; [ -n "$(ls "/out/licenses/$path")" ] || { echo "no licence file in $path ($dir)" >&2; exit 1; }; done
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64 stage-1 1/3]line 300.0 s
gcr.io/distroless/static-debian13:nonroot
base image The base image of this stage.
Click or press Enter for the output and the step's history
[linux/arm64 stage-1 1/3]line 300.0 s
gcr.io/distroless/static-debian13:nonroot
base image The base image of this stage.
Click or press Enter for the output and the step's history
[linux/amd64 stage-1 2/3]stage linux/amd64 stage-1line 310.0 s
COPY --from=build /out/ci-accelerator /ci-accelerator
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/arm64 stage-1 2/3]stage linux/arm64 stage-1line 310.0 s
COPY --from=build /out/ci-accelerator /ci-accelerator
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/amd64 stage-1 3/3]stage linux/amd64 stage-1line 320.0 s
COPY --from=build /out/licenses /licenses
from cache Came from cache on this node.
Click or press Enter for the output and the step's history
[linux/arm64 stage-1 3/3]stage linux/arm64 stage-1line 320.0 s
COPY --from=build /out/licenses /licenses
from cache Came from cache on this node.
Click or press Enter for the output and the step's history