Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bazel,ci: propagate
TEST_TMPDIR
down to go tests and capture artifacts
This fulfills a long-standing request to capture left-over artifacts in `TMPDIR` (see cockroachdb#59045 (comment)). Bazel sets the `TEST_TMPDIR` environment variable for the temporary directory and expects all tests to write temporary files to that directory. In our Go tests, however, we consult the `TMPDIR` environment variable to find that directory. So we pull in a custom change to `rules_go` to copy `TEST_TMPDIR` to `TMPDIR`. Update `.bazelrc` to use `/artifacts/tmp` as the `TEST_TMPDIR`. Closes cockroachdb#59045. Closes cockroachdb#69372. Release justification: Non-production code change Release note: None
- Loading branch information