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

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.1 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.1 s
Started
+11 s into the build
Node
mdkjr
CPU time
2.3 s — 0.7 cores busy on average over the step's 3.1 s
Memory, the highest sample
71 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
23 MiB
Written to disk while it ran
396 KiB
Job
build-image

Output

This step printed nothing.

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

846ce151a70b1888976ec73a9b141a677e63e872e206fb54cbcd5fa1d13e48572e0ff89b

Rebuilt in 4 of 12 builds that had this step · median 2.2 s when rebuilt. A bar opens that build's step.