ci-accelerator/ci-accelerator
Builds/#3080127810/build-image

build-image

Rebuilt · your change
“web: a redirect goes only to a path of the site, "/\host" included”09aba3f0 on fix/project-auditnode 7ljc8
Files changed
Rebuilt from COPY internal internal (Dockerfile line 14): internal/web/hubadmin.go, internal/web/sitepath_fix_test.go, internal/web/web.go changed.
Steps after it were rebuilt because their input changed. GitLab's comparison of the commits of the previous build and this one (49ee6a32..09aba3f0) lists them.
30 s 12 of 21 steps ran 0.9 of 4 cores busy on average
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 #3080087619 · compare side by side
Commit
49ee6a32 → 09aba3f0 web: a redirect goes only to a path of the site, "/\host" included
Files
internal/web/hubadmin.go, internal/web/sitepath_fix_test.go, internal/web/web.go — changed (GitLab's comparison of the commits)
LineStepResultTime
base imagegolang:1.27.4-trixiealready on this node · line 50.0 s
14 COPY internal internal↳ first rebuilt step built 0.1 s
14 COPY internal internal built 0.1 s
15 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 built 11 s
15 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 built 8.3 s
27 COPY LICENSE /out/licenses/ci-accelerator/LICENSE built 0.0 s
27 COPY LICENSE /out/licenses/ci-accelerator/LICENSE built 0.0 s
28 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 built 8.5 s
28 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 built 6.4 s
base imagegcr.io/distroless/static-debian13:nonrootpulled · line 5417 s
base imagegcr.io/distroless/static-debian13:nonrootpulled · line 5418 s
55 COPY --from=build /out/ci-accelerator /ci-accelerator built 0.1 s
55 COPY --from=build /out/ci-accelerator /ci-accelerator built 0.1 s
56 COPY --from=build /out/licenses /licenses built 0.1 s
56 COPY --from=build /out/licenses /licenses built 0.1 s
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 · 18114939344 · 40 s in all, 30 s of it building
Before the build
the runner preparing the job's pod 0.5 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.5 s (the pod's times are whole seconds, as Kubernetes records them)
Waited for a runner
2.8 s
Runner
ci-accelerator box (Hetzner, the project's own builds)
Build context sent
3.4 MiB
Steps not run here took, when they last ran
1.3 s
Executed steps
35 s of step time in 18 s: 2.0 steps at a time on average
Started
17 Nov 16:58:54 UTC
Pushed
registry.gitlab.com/ci-accelerator/ci-accelerator:09aba3f0
Trace id
019931960000b7970542000437bc09d0
Record
xm7f3o6khm1xwus7yi90bbvsj
API
GET /api/v1/builds?limit=50 (this build is id 243)