commit | cb1f9f6038f361a22b501e958bb0710985e561c5 | [log] [tgz] |
---|---|---|
author | Chi Wang <chiwang@google.com> | Thu Sep 17 23:37:19 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Sep 17 23:38:14 2020 -0700 |
tree | 0f1d006e31da76e4ed47a6494cab4b01ed820c04 | |
parent | 49c9475aa7db252c19157ee059c40862a412df5d [diff] |
Add CallCredentialsProvider and refresh credentials in ByteStreamUploader Users may get authentication error in the mid of a long remote build due to credentials timeout. This PR: 1. Add `CallCredentialsProvider` which can be used by gRPC clients to refresh credentials. 2. Update `ByteStreamUploader.java` to use the provider and refresh credentials on authentication error. The next step would be updating other places where using `CallCrendentials` currently (e.g. `RemoteCacheClient.java`) to use this provider and refresh credentials when necessary. Closes #12106. PiperOrigin-RevId: 332394306
{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