mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-24 02:31:18 -08:00
Instead of restoring the module cache from actions/cache, the Windows jobs now install WinFsp and mount a gomodfs remote store (on the Azure VNet, at vars.GOMODFS_AZURE_URL, defaulting to ci-gocached-azure-1:8090) on M:, which also provides the tsgo toolchain via ~/.cache/tsgo. gomodfs is started via ShellExecute so it doesn't inherit the step's pipes, which would make the runner kill it at the end of the step, and a separate step checks that it survived before pointing GOMODCACHE at it. If anything fails, the jobs warn and fall back to downloading modules and the toolchain directly. Updates tailscale/corp#34812 Change-Id: I26cea9cfa483d5fb3fd51b1d0f87a9204f792690 Signed-off-by: Brad Fitzpatrick <[email protected]>