repositories / will

will

owned by bugabinga

ci: unprivileged runners cannot apt-get; use the full node image

f0cdf8460805e319824104ad2dcf0ccc6124836a

Oliver Jan Krylow <oliver@bugabinga.net> ·

SSH signature · not checked

Browse filesCompare with HEAD

Luci runs children with --userns=keep-id --cap-drop=all, so root-only
apt fails (exit 100). node:26 ships git + ca-certificates, making the
apt-get run line unnecessary.

Changed files (1)

+1 / −2 text lines

Diff layout

.ci/validate.kdl

Modified

+1 / −2 text lines

11job "validate" {
2 image "docker.io/library/node:26-slim"
2 image "docker.io/library/node:26"
33 trigger {
44 push {
55 branch "trunk"
66 branch "feature/**"
77 }
88 }
9 run "apt-get update && apt-get install -y --no-install-recommends git ca-certificates"
109 run "npm ci"
1110 run "npm run check"
1211 run "npm test"