File tree Expand file tree Collapse file tree
actions/setup-parity-runtime Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,18 +18,10 @@ runs:
1818 - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
1919 with :
2020 node-version : " 24"
21- # Free disk + enable the containerd image store (build-cache export). Reuses
22- # the Taskfile so the runner prep is identical to release.yml.
21+ # Free disk, enable the containerd image store (build-cache export) and turn
22+ # bake's filesystem entitlement off. Reuses the Taskfile so the runner prep
23+ # is identical to release.yml.
2324 - run : go tool task ci:prepare-runner
2425 shell : bash
25- # The TS reference builds a compose service from a Dockerfile it writes under
26- # /tmp, outside the build context. Compose builds through bake, and bake on
27- # buildx 0.38 (GitHub's runner image, 2026-10-24) refuses to read a file
28- # outside the context unless the caller passes --allow=fs.read, which the
29- # reference never does: every compose case failed with "additional
30- # privileges requested". The Go CLI passes the entitlement itself. Off for
31- # the whole job, so both sides build the same way.
32- - run : echo "BUILDX_BAKE_ENTITLEMENTS_FS=0" >> "$GITHUB_ENV"
33- shell : bash
3426 - run : go tool task reference
3527 shell : bash
Original file line number Diff line number Diff line change @@ -100,8 +100,6 @@ jobs:
100100 # Reuse the same runner prep as the go-cli.yml runtime job, or a tagged
101101 # release stalls on a default-driver runner.
102102 - run : go tool task ci:prepare-runner
103- # Bake's filesystem entitlement off, as .github/actions/setup-parity-runtime says why.
104- - run : echo "BUILDX_BAKE_ENTITLEMENTS_FS=0" >> "$GITHUB_ENV"
105103
106104 - run : go tool task reference
107105 - run : go tool task test:e2e
Original file line number Diff line number Diff line change @@ -322,9 +322,16 @@ tasks:
322322 - go test ./internal/cli -run TestPublishParity -count=1 -timeout 10m -v
323323
324324 ci:prepare-runner :
325- desc : " CI-ONLY: free disk + enable the containerd image store (uses sudo; not for local dev)"
325+ desc : " CI-ONLY: free disk + enable the containerd image store + bake's fs entitlement off (uses sudo; not for local dev)"
326326 cmds :
327327 - go run ./cmd/devtool ci-prepare-runner
328+ # The TS reference builds a compose service from a Dockerfile it writes under /tmp,
329+ # outside the build context. Compose builds through bake, and bake on buildx 0.38
330+ # (GitHub's runner image, 2026-10-24) refuses to read a file outside the context unless
331+ # the caller passes --allow=fs.read, which the reference never does: every compose case
332+ # failed with "additional privileges requested" while the Go CLI, which passes the
333+ # entitlement itself, succeeded. Off for the whole job, so both sides build the same way.
334+ - echo "BUILDX_BAKE_ENTITLEMENTS_FS=0" >> "${GITHUB_ENV:-/dev/null}"
328335
329336 ci:daily-changes :
330337 desc : " Whether the daily lanes run (run= to $GITHUB_OUTPUT, or the terminal): always on a manual dispatch, else only when HEAD changed in the last day"
You can’t perform that action at this time.
0 commit comments