-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Provide a proper home dir to python tests that run "docker com…
…pose". This is due to a bug in some version of docker-compose v2 that causes an unused .cache directory to be created in $HOME. Due to a bug in Bazel, tests don't have a HOME variable (it should be set to $TEST_TMPDIR but isn't set at all). So we must provide one ourselves. My previous work around of using /tmp had the potential of creating collisions in the future. This method is cleaner. It uses an output location internal to the test. This is the simplest I could manage. Tools are supposed to be enablers, but Bazel prefers to be a disabler it seems.
- Loading branch information
1 parent
6c79632
commit dc4b786
Showing
5 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters