summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorAmit Rathi <amit.juschill@gmail.com>2019-06-25 13:17:57 +0530
committerAmit Rathi <amit.juschill@gmail.com>2019-06-25 13:17:57 +0530
commit13a6b7ed899502c16731d4c66778cb182ea76857 (patch)
treee3ed8f2765daaa88c553af40353c131653a198df /vendor
parent5d2e03233686d190d015da80cc4fefbf6421611f (diff)
downloadgitlab-ce-13a6b7ed899502c16731d4c66778cb182ea76857.tar.gz
Use oauth2 in .git-credentials
Diffstat (limited to 'vendor')
-rw-r--r--vendor/jupyter/values.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/jupyter/values.yaml b/vendor/jupyter/values.yaml
index 0fbf36b39cc..2aadd3dbe1e 100644
--- a/vendor/jupyter/values.yaml
+++ b/vendor/jupyter/values.yaml
@@ -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}";