feat(github-runner): pod-env DOTNET_INSTALL_DIR + initContainer for non-root runner #7

Merged
bluejay merged 1 commits from chore/runner-pod-env-dotnet-install-dir into main 2026-05-18 02:25:19 +00:00

1 Commits

Author SHA1 Message Date
Andrew Stoltz
9a15e4ce52 feat(github-runner): pod-env DOTNET_INSTALL_DIR + initContainer for non-root runner
Sprint 30 Cl-1 acceptance fix. Sets DOTNET_INSTALL_DIR + NUGET_PACKAGES + 4
sibling env vars on both Deployments so non-root runner (UID 1001) can
write to /home/runner/.dotnet + /home/runner/.nuget without the
per-workflow patch that ~25 flipped Linux repos currently carry.

initContainer pre-creates + chowns the dirs to runner:runner so the
runtime mkdir-or-write succeeds on first restore. emptyDir mounted at
/home/runner; the .nuget/packages PVC (Common runner) wins at its nested
mount path so the persistent NuGet cache survives ephemeral pod restarts.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-17 21:24:30 -05:00