-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added Authorization header if access_token provided #954
Conversation
Thanks for the PR! I think @sgibson91 has been looking into this as well so getting your input here would be great. I've never even tried to use the features of a BinderHub for "private" deployments so don't have a good feeling if this would break other things or if it should have been solved some other way. |
This change seems to have broken one of the tests here (sorry for the very verbose output of our CI). |
There is also #940 to look at/compare to/check with. |
@betatim I was actually looking into this, and it seems to be a weird point of failure from the CI test. The failure is from a null result of getting gitlab Is there a way to re-trigger the travis-ci tests? |
You think this is a flakey test? I restarted it now. I thought it was related to the change because something in the GitLab provider broke. |
Looked more into this and the failure was also the same as PR #951 so I looked at the actual test. I think we are getting failures because the repository we are testing against was updated from |
@betatim so the ci tests have finished for the new branch I made that rectified the
|
It's all good @betatim , it's never a wasted effort 😄 #956 is good to merge. |
… github-auth-fix
This fixes issue #952 by adding an
Authorization: token <access_token>
header to Github API requests from Binderhub if access_token is passed by eitherbinderhub_config.py
orGithubRepoProvider
insecret.yaml
.