jupyter-on-openshift / jupyter-notebooks

OpenShift compatible S2I builder for basic notebook images.
Apache License 2.0
54 stars 111 forks source link

warning: Cannot check if git requires authentication. #15

Closed Mohamed-0-Hassan closed 4 years ago

Mohamed-0-Hassan commented 4 years ago

openshift v3.11.59 kubernetes v1.11.0+d4cacc0

I already created an Personal token with my application user in gitlab.

oc secret new-basicauth gitlab-jupyter --username=applicationuser --password=token oc secrets link builder user-gitlab-jupyter

oc new-build --name start-notebook --image-stream s2i-minimal-notebook:3.6 --code http://gitlab.com/jupyterhub/notebooks --source-secret gitlab-jupyter

based on the documentation i can inject the secret with --source-secret.

I'm getting the following error

warning: Cannot check if git requires authentication.

GrahamDumpleton commented 4 years ago

Use documentation at:

to verify you are setting up things correctly for using a private repository on GitLab.