Merge branch 'fix/jupyter-git-v3' into 'master'

Fix Jupyter-Git integration

See merge request gitlab-org/gitlab-ce!30020
This commit is contained in:
Thong Kuah 2019-06-25 23:07:17 +00:00
commit 4633df7b9e
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
title: Fix Jupyter-Git integration
merge_request: 30020
author: Amit Rathi
type: fixed

View File

@ -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}";