Use oauth2 in .git-credentials
This commit is contained in:
parent
5d2e032336
commit
13a6b7ed89
1 changed files with 1 additions and 1 deletions
2
vendor/jupyter/values.yaml
vendored
2
vendor/jupyter/values.yaml
vendored
|
@ -46,7 +46,7 @@ singleuser:
|
|||
- "-c"
|
||||
- >
|
||||
git clone https://gitlab.com/gitlab-org/nurtch-demo.git DevOps-Runbook-Demo || true;
|
||||
echo "https://${GITLAB_USER_LOGIN}:${GITLAB_ACCESS_TOKEN}@${GITLAB_HOST}" > ~/.git-credentials;
|
||||
echo "https://oauth2:${GITLAB_ACCESS_TOKEN}@${GITLAB_HOST}" > ~/.git-credentials;
|
||||
git config --global credential.helper store;
|
||||
git config --global user.email "${GITLAB_USER_EMAIL}";
|
||||
git config --global user.name "${GITLAB_USER_NAME}";
|
||||
|
|
Loading…
Reference in a new issue