-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The new extremely-dangerous-public-oidc-beacon current-token branch allows us to fetch the JWT without a GitHub token. This makes local tests much nicer. Changes: * git clone the beacon repo to get the token * Do this in a loop until token is valid * Cache the token so we only do this once in a test run * Remove all mention of github token in arguments, comments and docs Some additional notes: * retry times are tweaked from the values upstream (and special values are set for the interactive case) * The caching could be smarter (could return cached value only if it's valid) but maybe this simple thing works? Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
- Loading branch information
Showing
3 changed files
with
46 additions
and
94 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