ci-accelerator/ci-accelerator
Builds/Build 216/Step [linux/amd64 build 9/9]
Step [linux/amd64 build 9/9] · build-image · #3068626025

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

builtBuilt in this job — 3.5 s.

Dockerfile, line 22, 23, 24, 25, 26, 27, 28

22RUN --mount=type=cache,target=/go/pkg/mod \
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
Result
built
Duration
3.5 s
Started
+20 s into the build
Node
7ljc8
CPU time
2.6 s — 0.7 cores busy on average over the step's 3.5 s
Memory, the highest sample
128 MiB (anonymous memory, file cache and kernel memory of the step's processes; a short spike between BuildKit's samples is missed)
Read from disk while it ran
103 MiB
Written to disk while it ran
7.4 MiB
Job
build-image

Output

This step printed nothing.

History · registry.gitlab.com/ci-accelerator/ci-accelerator · 7 builds

08e54ef8a90fe923d91f05ca427c79860947db316a

Rebuilt in 2 of 7 builds that had this step · median 3.4 s when rebuilt. A bar opens that build's step.