New builds since this page loaded.
Nothing was rebuilt: 18 steps came from cache.
When they last ran, these steps took 26 s together.
7.1 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 #3076264583 · compare side by side- Commit
- d1e6b512 → 7e609114 member: derive the store id from the store's key with HKDF
- Steps run
- 0, last time 14
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.4-trixie@sha256:b54b2639de8c1bfe538ec5ffc45f29b1932235ac5f6d63c059853646677112d9 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; /licenses/README lists
21
# the modules, their versions and where their source is (MPL-2.0 asks
22
# that its recipients are told), naming the MPL-2.0 ones.
23
COPY LICENSE /out/licenses/ci-accelerator/LICENSE
cached
24
RUN --mount=type=cache,target=/go/pkg/mod \
cached
25
GOOS=$TARGETOS GOARCH=$TARGETARCH go list -deps -f '{{with .Module}}{{if not .Main}}{{.Path}} {{.Version}} {{.Dir}}{{end}}{{end}}' ./cmd/ci-accelerator \
26
| sort -u > /tmp/modules && while read -r path version dir; do \
27
mkdir -p "/out/licenses/$path"; \
28
for f in "$dir"/LICENSE* "$dir"/LICENCE* "$dir"/COPYING* "$dir"/NOTICE*; do [ ! -f "$f" ] || cp "$f" "/out/licenses/$path/"; done; \
29
[ -n "$(ls "/out/licenses/$path")" ] || { echo "no licence file in $path ($dir)" >&2; exit 1; }; \
30
done < /tmp/modules \
31
&& { echo "/ci-accelerator is Apache-2.0 (ci-accelerator/LICENSE). It links the Go modules below, unmodified;"; \
32
echo "each one's licence and notices are in the directory of its path. The source of each, at the"; \
33
echo "version listed, is published by the Go module proxy: https://proxy.golang.org/<path>/@v/<version>.zip"; \
34
echo "(also: go mod download <path>@<version>)."; \
35
mpl=$(grep -rlE --include=LICENSE --include=LICENSE.txt --include=LICENSE.md 'Mozilla Public License,? [Vv]ersion 2\.0' /out/licenses | sed -e 's|^/out/licenses/||' -e 's|/[^/]*$||' | sort -u); \
36
[ -z "$mpl" ] || { echo; echo "Under MPL-2.0 (its source as above):"; for m in $mpl; do grep "^$m " /tmp/modules | cut -d' ' -f1,2; done; }; \
37
echo; echo "Modules (path version):"; cut -d' ' -f1,2 /tmp/modules; } > /out/licenses/README
38
39
FROM gcr.io/distroless/static-debian13:nonroot@sha256:25ac8f0c3b2334a9eb05452266bd4697864a8c8ef0ef71e5e6480d7f92868329
on node
40
COPY --from=build /out/ci-accelerator /ci-accelerator
cached
41
COPY --from=build /out/licenses /licenses
cached
42
USER 65532:65532metadata only
43
ENTRYPOINT ["/ci-accelerator"]metadata only
Detailsnode, job, context, trace, record
- Build node
- ci-accelerator-buildkit-7ljc8 (ubuntu-8gb-hel1-2)
- 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 · 18094525264 · 17 s in all, 7.1 s of it building
- Before the build
- the runner preparing the job's pod 0.2 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 3.3 s (the pod's times are whole seconds, as Kubernetes records them)
- Waited for a runner
- 1.1 s
- Runner
- ci-accelerator box (Hetzner, the project's own builds)
- Build context sent
- 3.1 MiB
- Steps not run here took, when they last ran
- 26 s
- Started
- 17 Nov 06:26:30 UTC
- Pushed
- registry.gitlab.com/ci-accelerator/ci-accelerator:7e609114, registry.gitlab.com/ci-accelerator/ci-accelerator:edge
- Trace id
- 019931960000b76ede44000436848b50
- Record
- bkmmn8hq2z0zxsfcgeatnr85v
- API
- GET /api/v1/builds?limit=50 (this build is id 232)
[linux/amd64 build 1/9]line 50.0 s
golang:1.27.4-trixie
base image The base image of this stage.
Click or press Enter for the output and the step's history
[linux/amd64->arm64 build 2/9]stage linux/amd64->arm64 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->arm64 build 3/9]stage linux/amd64->arm64 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->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 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 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 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 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 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 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 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 8/9]stage linux/amd64->arm64 buildline 230.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 8/9]stage linux/amd64 buildline 230.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 9/9]stage linux/amd64->arm64 buildline 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 370.0 s
RUN --mount=type=cache,target=/go/pkg/mod GOOS=linux GOARCH=arm64 go list -deps -f '{{with .Module}}{{if not .Main}}{{.Path}} {{.Version}} {{.Dir}}{{end}}{{end}}' ./cmd/ci-accelerator | sort -u > /tmp/modules && while read -r path version 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 < /tmp/modules && { echo "/ci-accelerator is Apache-2.0 (ci-accelerator/LICENSE). It links the Go modules below, unmodified;"; echo "each one's licence and notices are in the directory of its path. The source of each, at the"; echo "version listed, is published by the Go module proxy: https://proxy.golang.org/<path>/@v/<version>.zip"; echo "(also: go mod download <path>@<version>)."; mpl=$(grep -rlE --include=LICENSE --include=LICENSE.txt --include=LICENSE.md 'Mozilla Public License,? [Vv]ersion 2\.0' /out/licenses | sed -e 's|^/out/licenses/||' -e 's|/[^/]*$||' | sort -u); [ -z "$mpl" ] || { echo; echo "Under MPL-2.0 (its source as above):"; for m in $mpl; do grep "^$m " /tmp/modules | cut -d' ' -f1,2; done; }; echo; echo "Modules (path version):"; cut -d' ' -f1,2 /tmp/modules; } > /out/licenses/README
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 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 370.0 s
RUN --mount=type=cache,target=/go/pkg/mod GOOS=linux GOARCH=amd64 go list -deps -f '{{with .Module}}{{if not .Main}}{{.Path}} {{.Version}} {{.Dir}}{{end}}{{end}}' ./cmd/ci-accelerator | sort -u > /tmp/modules && while read -r path version 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 < /tmp/modules && { echo "/ci-accelerator is Apache-2.0 (ci-accelerator/LICENSE). It links the Go modules below, unmodified;"; echo "each one's licence and notices are in the directory of its path. The source of each, at the"; echo "version listed, is published by the Go module proxy: https://proxy.golang.org/<path>/@v/<version>.zip"; echo "(also: go mod download <path>@<version>)."; mpl=$(grep -rlE --include=LICENSE --include=LICENSE.txt --include=LICENSE.md 'Mozilla Public License,? [Vv]ersion 2\.0' /out/licenses | sed -e 's|^/out/licenses/||' -e 's|/[^/]*$||' | sort -u); [ -z "$mpl" ] || { echo; echo "Under MPL-2.0 (its source as above):"; for m in $mpl; do grep "^$m " /tmp/modules | cut -d' ' -f1,2; done; }; echo; echo "Modules (path version):"; cut -d' ' -f1,2 /tmp/modules; } > /out/licenses/README
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 390.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 390.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 2/3]stage linux/arm64 stage-1line 400.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 2/3]stage linux/amd64 stage-1line 400.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 3/3]stage linux/arm64 stage-1line 410.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/amd64 stage-1 3/3]stage linux/amd64 stage-1line 410.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