ci-box: keep the job's private-module settings out of the box
Hosted CI is about to set GOPRIVATE and GOAUTH with a git credential that lives outside the box. Every module Equipo uses is on the public proxy.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1 file changed,
+3
−1
scripts/ci-box.py+3 −1
Intent
diff --git a/scripts/ci-box.py b/scripts/ci-box.py| index 1317fe87..5192fc89 100755 |
| --- a/scripts/ci-box.py |
| +++ b/scripts/ci-box.py |
| @@ -68,8 +68,10 @@ FILE_TIME_SPAN = 5 * 365 * 86400 |
| CACHE_LIMIT = 4 * 1024 ** 3 |
| # Environment a step may see inside the box, besides what run() sets. |
| +# Not GOPRIVATE or GOAUTH: the job's git credential stays outside the |
| +# box, and every module Equipo uses is on the public proxy. |
| PASS_PREFIXES = ("AMADAN_", "EQUIPO_") |
| -PASS_NAMES = ("CI", "GOFLAGS", "GOPROXY", "GOPRIVATE", "GONOSUMDB", "GONOPROXY", "GOSUMDB", "GOAUTH", "TERM") |
| +PASS_NAMES = ("CI", "GOFLAGS", "GOPROXY", "TERM") |
| def say(text): |