jupyterhub / binderhub

Run your code in the cloud, with technology so advanced, it feels like magic!
https://binderhub.readthedocs.io
BSD 3-Clause "New" or "Revised" License
2.57k stars 390 forks source link

Permission for private git repository on private git server. #1499

Open pedrocklein opened 2 years ago

pedrocklein commented 2 years ago

Hello everyone!

I am trying to configure a BinderHub to have access to a private gitlab repository and I am getting the following error: Unable to run git ls-remote to get the resolved_ref: fatal: could not read Username for 'https://gitlab.': No such device or address.

This only happens for private repos, for public ones on the same server it works. As far as I understood from the documentation, I would need to set the git_credentials in the secret.yaml and enter a username and the access token as the password. Is that correct? I am having a hard time finding out how it should be formatted, and I found no information on the documentation about that. Does anyone know how to set this up?

Thank you! Pedro

welcome[bot] commented 2 years ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada: