Fix: use internal HTTP fallback for git clone in CI/CD
This commit is contained in:
+3
-3
@@ -3,7 +3,7 @@ stages:
|
|||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none # Matikan auto-clone bawaan runner helper yang error TLS
|
GIT_STRATEGY: none # Matikan auto-clone bawaan runner helper yang menolak TLS
|
||||||
IMAGE: 10.15.39.186:8083/eosbpkd/sidata
|
IMAGE: 10.15.39.186:8083/eosbpkd/sidata
|
||||||
TAG: $CI_COMMIT_SHORT_SHA
|
TAG: $CI_COMMIT_SHORT_SHA
|
||||||
KUBE_NAMESPACE: sidata-prod
|
KUBE_NAMESPACE: sidata-prod
|
||||||
@@ -72,9 +72,9 @@ deploy:
|
|||||||
tags:
|
tags:
|
||||||
- skpp
|
- skpp
|
||||||
before_script:
|
before_script:
|
||||||
- echo '0. FETCHING CODE MANUALLY (BYPASS SSL)'
|
- echo '0. FETCHING CODE MANUALLY VIA INTERNAL HTTP'
|
||||||
- git config --global http.sslVerify false
|
- git config --global http.sslVerify false
|
||||||
- git clone https://gitlab.dashboard-bpkd.drc-bpkd.data-center.id/izuddin/sidata.git .
|
- git clone http://gitlab-external-svc.default.svc.cluster.local/izuddin/sidata.git . || git clone http://10.15.39.187/izuddin/sidata.git .
|
||||||
- git checkout $CI_COMMIT_SHA
|
- git checkout $CI_COMMIT_SHA
|
||||||
script:
|
script:
|
||||||
- echo '1. SETUP KUBECONFIG LOKAL & BYPASS PROXY'
|
- echo '1. SETUP KUBECONFIG LOKAL & BYPASS PROXY'
|
||||||
|
|||||||
Reference in New Issue
Block a user