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

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 cacheCame from cache on this node — 0 s of work.

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
from cache
Duration
0.0 s
Started
+1.0 s into the build
Node
mdkjr
Job
build-image

Output

A step that comes from cache prints 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.