New builds since this page loaded.
“after 0.6.0: the upgrade test starts from it”427c7950 on mainnode mdkjr
Nothing was rebuilt: 18 steps came from cache.
When they last ran, these steps took 6 min 14 s together.
6.4 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 #3068143035 · compare side by side- Commit
- 1f05cab1 → 427c7950 after 0.6.0: the upgrade test starts from it
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.
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:25ac8f0c3b2334a9eb05452266bd4697864a8c8ef0ef71e5e6480d7f92868329
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-mdkjr
- 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 · 18031510571 · 17 s in all, 6.4 s of it building
- Before the build
- the runner preparing the job's pod 0.3 s · the job's pod starting: scheduled, images pulled 2.0 s · the runner attaching to the pod, the checkout and the job's script up to the build 4.3 s (the pod's times are whole seconds, as Kubernetes records them)
- Waited for a runner
- 3.0 s
- Runner
- ci-accelerator box (Hetzner, the project's own builds)
- Build context sent
- 2.1 MiB
- Steps not run here took, when they last ran
- 6 min 14 s
- Started
- 14 Nov 11:40:33 UTC
- Pushed
- registry.gitlab.com/ci-accelerator/ci-accelerator:427c7950, registry.gitlab.com/ci-accelerator/ci-accelerator:edge
- Trace id
- 019931960000b6e09c6f000432c3042b
- Record
- 5vj5m0vdiiuel7mhq49h6wofa
- API
- GET /api/v1/builds?limit=50 (this build is id 214)
[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 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