Skip to content

Commit

Permalink
Add external repos required by tests and a "fetch all" filegroup.
Browse files Browse the repository at this point in the history
This is used to prefetch all external repositories required by our integration tests. A follow-up CL will then instruct the "inner Bazel" running inside the tests to use the repositories from the "outer Bazel"'s "external" folder, instead of downloading / extracting them itself. This results in a massive reduction of I/O and network traffic when running integration tests and will also allow us to disable network access in the sandbox by default for our tests, resulting in better hermeticity and reduces the risk of accidental additions of remote dependencies.

The cost is that we have to take a bit more care when maintaining our dependencies, especially for the "built-in" workspace files like "coverage.WORKSPACE" or "jdk.WORKSPACE", but IMHO this is worth it.

RELNOTES: None.
PiperOrigin-RevId: 291905728
  • Loading branch information
philwo authored and copybara-github committed Jan 28, 2020
1 parent 2a8cc70 commit 17506af
Show file tree
Hide file tree
Showing 6 changed files with 643 additions and 45 deletions.
Loading

0 comments on commit 17506af

Please sign in to comment.