This repository was archived by the owner on Jun 1, 2022. It is now read-only.
remove the caching and use GithubAppCredentials from github source br…#1
Open
ataylor-r7 wants to merge 4 commits intomasterfrom
Open
remove the caching and use GithubAppCredentials from github source br…#1ataylor-r7 wants to merge 4 commits intomasterfrom
ataylor-r7 wants to merge 4 commits intomasterfrom
Conversation
udangel-r7
approved these changes
May 25, 2021
cdoughty-r7
approved these changes
May 25, 2021
cdoughty-r7
left a comment
There was a problem hiding this comment.
I'm approving but before we try to put up a PR to merge this into the source repo, IMO we should:
- Create an update in the changelog
- Create additional details in the readme for usage
- Construct a more detailed PR description with things like: why we did this change, how we did this change, what problems this change solves and any details about deploying/building (such as the errors you mentioned initially).
…repo data.. should still get auth again though
|
Hope you're all doing well. I've been having some issues setting up authentication with a GitHub App with Jenkins and I think this pull request might resolve my issues. I was wondering, are you going to open a pull request with these changes back into jenkinsci/ghprb-plugin? |
|
I think the goal is to definitely push this back up to jenkinsci/ghprb-plugin however we've not been able to do so recently due to time mostly. |
|
PR opened against parent repo: jenkinsci#837 |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tldr; This allows GHPRB to constantly pull updated credentials and also gives the option to use GithubAppCredentials from github source branch which handles rotating the app installation token every hour.
Why:
Other interest we found:
jenkinsci#812
jenkinsci#813
How:
Benefits:
**
Right now on "mvn install" this fails with spotbugs plugin but packages fine with "mvn package"
Failure starts with:
It was also failing on 2 unit tests originally bc my changes broke what the test was expecting but can't replicate that presently, so I'll leave the tests as long as those don't show up again.