-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use oauth/google library to check for ADC validity
This change actually does: 1. ADC login will not be triggered interactively, only an error message with the gcloud command will be shown. 2. automatic_auth is now supported anywhere that has an ADC token available such as GCE 3. Bootstrap will now verify that it can get a token in the critical path of startup for ADC, manually specified or automatic auth ADC. This may add 200-300ms of latency to startup but will ensure that all builds with ADC have valid credentials. Branched from original change: [] Test: Added integration and unit tests Bug: b/300945159 Change-Id: I95eb26acb2a7fa0a1e4c2d9823521b3e9695f23b GitOrigin-RevId: f4832cfb64ec25d5ab2afed3017eae568e307eb3
- Loading branch information
1 parent
74710a8
commit 565f0f5
Showing
2 changed files
with
41 additions
and
9 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