New builds since this page loaded.
“e2e: the kept page of an away member is checked until the hub shows it”b6a3f390 on feat/console-uinode 7ljc8
Nothing was rebuilt: 18 steps came from cache.
When they last ran, these steps took 40 s together.
5.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 #3080383391 · compare side by side- Commit
- 49e8ad9e → b6a3f390 e2e: the kept page of an away member is checked until the hub shows it
- 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>/: the module's own and those of the folders on
21
# the way from each linked package up to the module's root (forked or
22
# vendored code keeps its licence there), at the same relative paths; Go's
23
# own (the standard library and runtime are in every Go binary) under
24
# /licenses/go/; and the project's own. /licenses/README lists the
25
# modules, their versions and where their source is (MPL-2.0 asks that its
26
# recipients are told), naming the MPL-2.0 ones.
27
COPY LICENSE /out/licenses/ci-accelerator/LICENSE
cached
28
RUN --mount=type=cache,target=/go/pkg/mod \
cached
29
GOOS=$TARGETOS GOARCH=$TARGETARCH go list -deps -f '{{with .Module}}{{if not .Main}}{{.Path}} {{.Version}} {{.Dir}}{{end}}{{end}}' ./cmd/ci-accelerator \
30
| sort -u > /tmp/modules \
31
&& GOOS=$TARGETOS GOARCH=$TARGETARCH go list -deps -f '{{with .Module}}{{if not .Main}}{{.Path}} {{.Dir}} {{$.Dir}}{{end}}{{end}}' ./cmd/ci-accelerator \
32
| sort -u > /tmp/packages \
33
&& while read -r path moddir dir; do \
34
while :; do \
35
for f in "$dir"/LICENSE* "$dir"/LICENCE* "$dir"/COPYING* "$dir"/NOTICE* "$dir"/*-LICENSE*; do \
36
[ ! -f "$f" ] || { to="/out/licenses/$path${dir#"$moddir"}"; mkdir -p "$to"; cp "$f" "$to/"; }; \
37
done; \
38
case "$dir" in "$moddir"/*) dir=$(dirname "$dir") ;; *) break ;; esac; \
39
done; \
40
done < /tmp/packages \
41
&& while read -r path version dir; do \
42
[ -n "$(find "/out/licenses/$path" -maxdepth 1 -type f 2>/dev/null)" ] || { echo "no licence file in $path ($dir)" >&2; exit 1; }; \
43
done < /tmp/modules \
44
&& mkdir -p /out/licenses/go && cp "$(go env GOROOT)/LICENSE" /out/licenses/go/LICENSE \
45
&& { echo "/ci-accelerator is Apache-2.0 (ci-accelerator/LICENSE). It links the Go modules below, unmodified;"; \
46
echo "each one's licence and notices are in the directory of its path. The source of each, at the"; \
47
echo "version listed, is published by the Go module proxy: https://proxy.golang.org/<path>/@v/<version>.zip"; \
48
echo "(also: go mod download <path>@<version>)."; \
49
echo "It also links the Go standard library and runtime of $(go env GOVERSION): its licence is go/LICENSE."; \
50
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); \
51
[ -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; }; \
52
echo; echo "Modules (path version):"; cut -d' ' -f1,2 /tmp/modules; } > /out/licenses/README
53
54
FROM gcr.io/distroless/static-debian13:nonroot@sha256:25ac8f0c3b2334a9eb05452266bd4697864a8c8ef0ef71e5e6480d7f92868329
on node
55
COPY --from=build /out/ci-accelerator /ci-accelerator
cached
56
COPY --from=build /out/licenses /licenses
cached
57
USER 65532:65532metadata only
58
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 · 18117868145 · 16 s in all, 5.3 s of it building
- Before the build
- the runner preparing the job's pod 1.0 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.0 s (the pod's times are whole seconds, as Kubernetes records them)
- Waited for a runner
- 2.0 s
- Runner
- ci-accelerator box (Hetzner, the project's own builds)
- Build context sent
- 3.5 MiB
- Steps not run here took, when they last ran
- 40 s
- Started
- 17 Nov 18:31:48 UTC
- Pushed
- registry.gitlab.com/ci-accelerator/ci-accelerator:b6a3f390
- Trace id
- 019931960000b79ccb2e000437e8ba71
- Record
- llxtmropl08nr9clbnhluoru0
- API
- GET /api/v1/builds?limit=50 (this build is id 256)
[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 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 270.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 270.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 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 430.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 && GOOS=linux GOARCH=amd64 go list -deps -f '{{with .Module}}{{if not .Main}}{{.Path}} {{.Dir}} {{$.Dir}}{{end}}{{end}}' ./cmd/ci-accelerator | sort -u > /tmp/packages && while read -r path moddir dir; do while :; do for f in "$dir"/LICENSE* "$dir"/LICENCE* "$dir"/COPYING* "$dir"/NOTICE* "$dir"/*-LICENSE*; do [ ! -f "$f" ] || { to="/out/licenses/$path${dir#"$moddir"}"; mkdir -p "$to"; cp "$f" "$to/"; }; done; case "$dir" in "$moddir"/*) dir=$(dirname "$dir") ;; *) break ;; esac; done; done < /tmp/packages && while read -r path version dir; do [ -n "$(find "/out/licenses/$path" -maxdepth 1 -type f 2>/dev/null)" ] || { echo "no licence file in $path ($dir)" >&2; exit 1; }; done < /tmp/modules && mkdir -p /out/licenses/go && cp "$(go env GOROOT)/LICENSE" /out/licenses/go/LICENSE && { 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>)."; echo "It also links the Go standard library and runtime of $(go env GOVERSION): its licence is go/LICENSE."; 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->arm64 build 9/9]stage linux/amd64->arm64 buildline 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 430.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 && GOOS=linux GOARCH=arm64 go list -deps -f '{{with .Module}}{{if not .Main}}{{.Path}} {{.Dir}} {{$.Dir}}{{end}}{{end}}' ./cmd/ci-accelerator | sort -u > /tmp/packages && while read -r path moddir dir; do while :; do for f in "$dir"/LICENSE* "$dir"/LICENCE* "$dir"/COPYING* "$dir"/NOTICE* "$dir"/*-LICENSE*; do [ ! -f "$f" ] || { to="/out/licenses/$path${dir#"$moddir"}"; mkdir -p "$to"; cp "$f" "$to/"; }; done; case "$dir" in "$moddir"/*) dir=$(dirname "$dir") ;; *) break ;; esac; done; done < /tmp/packages && while read -r path version dir; do [ -n "$(find "/out/licenses/$path" -maxdepth 1 -type f 2>/dev/null)" ] || { echo "no licence file in $path ($dir)" >&2; exit 1; }; done < /tmp/modules && mkdir -p /out/licenses/go && cp "$(go env GOROOT)/LICENSE" /out/licenses/go/LICENSE && { 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>)."; echo "It also links the Go standard library and runtime of $(go env GOVERSION): its licence is go/LICENSE."; 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/arm64 stage-1 1/3]line 540.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 1/3]line 540.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 550.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 550.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 560.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 560.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