commit | db6455053bc4b0c17fcc9f165dd06272e5bcc7b9 | [log] [tgz] |
---|---|---|
author | Cristian Hancila <chancila@gmail.com> | Mon Mar 09 11:12:52 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Mar 09 11:14:10 2020 -0700 |
tree | 5871f943e475f63b5d65a32bb8eab34770db55d0 | |
parent | d2701c88e8168f2843a7850896953489077d21db [diff] |
Extend http downloader to add support for non-standard authorization headers In order to leverage downloading from certain cloud storage providers that don't support basic authentication, this PR extends the existing authentication mechanism in bazel to forward an oauth2 token to the request header. Sample netrc ``` machine storage.googleapis.com oauth2-token aaabbbbccccdddd ``` See https://github.com/bazelbuild/bazel/issues/10442 Closes #10445. PiperOrigin-RevId: 299885980
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md