Commit 74eca7d
bazel-hermetic: preserve cloud credential env for remote cache auth
Gemini: env -i strips the credentials bazel needs to authenticate to
cloud remote-cache / remote-execution backends (GCS, S3), so a build
that relies on the remote cache would fail to authenticate. Preserve
GOOGLE_APPLICATION_CREDENTIALS and the common AWS_* variables alongside
the proxy/TLS/bazelisk config already passed through — same rationale:
auth/cache configuration is not toolchain leakage.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent b61f9d3 commit 74eca7d
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
189 | 191 | | |
190 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
191 | 197 | | |
192 | 198 | | |
193 | 199 | | |
| |||
0 commit comments