Fix: add CI_JOB_TOKEN authentication for manual git clone2
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ before_script:
|
||||
# Menggunakan CI_JOB_TOKEN bawaan GitLab agar tidak minta login/password
|
||||
- git clone http://gitlab-ci-token:${CI_JOB_TOKEN}@10.15.39.187/izuddin/sidata.git . || git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.dashboard-bpkd.drc-bpkd.data-center.id/izuddin/sidata.git .
|
||||
- git checkout $CI_COMMIT_SHA
|
||||
script:
|
||||
script:
|
||||
- echo '1. SETUP KUBECONFIG LOKAL & BYPASS PROXY'
|
||||
- unset http_proxy https_proxy HTTP_PROXY HTTPS_PROXY
|
||||
- export NO_PROXY="*"
|
||||
|
||||
Reference in New Issue
Block a user