-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/relui,gerrit: use application default creds for Gerrit auth
relui needs to use its service account to access the private security repository, and while I'm at it it might as well use it for the public repo too. Add support to the gerrit package and use it in relui. I adapted this code from the Gerrit team's auth daemon: https://gerrit.googlesource.com/gcompute-tools/+/refs/heads/master/git-cookie-authdaemon There may be better ways to do it but this works on my machine. For golang/go#53799. Change-Id: Iec302f4e4e336c21258019b0c20898280e249380 Reviewed-on: https://go-review.googlesource.com/c/build/+/417215 TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Run-TryBot: Heschi Kreinick <[email protected]> Auto-Submit: Heschi Kreinick <[email protected]>
- Loading branch information
Showing
8 changed files
with
77 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,6 @@ spec: | |
# Define the site header and external service configuration. | ||
- "--site-title=Go Releases" | ||
- "--site-header-css=Site-header--production" | ||
- "--gerrit-api-secret=secret:symbolic-datum-552/gobot-password" | ||
- "--sendgrid-api-key=secret:symbolic-datum-552/sendgrid-sendonly-api-key" | ||
- "[email protected]" | ||
- "[email protected]" | ||
|
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
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