Fix: bypass helper SSL check using manual git clone
This commit is contained in:
+11
-1
@@ -3,7 +3,7 @@ stages:
|
|||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GIT_SSL_NO_VERIFY: "true" # Bypass SSL check saat Runner fetch source code
|
GIT_STRATEGY: none # Matikan auto-clone bawaan runner helper yang error 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
|
||||||
@@ -26,6 +26,11 @@ build:
|
|||||||
image: 10.15.39.186:8083/buildah:stable
|
image: 10.15.39.186:8083/buildah:stable
|
||||||
tags:
|
tags:
|
||||||
- skpp
|
- skpp
|
||||||
|
before_script:
|
||||||
|
- echo '0. FETCHING CODE MANUALLY (BYPASS SSL)'
|
||||||
|
- git config --global http.sslVerify false
|
||||||
|
- git clone https://gitlab.dashboard-bpkd.drc-bpkd.data-center.id/izuddin/sidata.git .
|
||||||
|
- git checkout $CI_COMMIT_SHA
|
||||||
script:
|
script:
|
||||||
- echo '1. MENERAPKAN PENGATURAN REGISTRY'
|
- echo '1. MENERAPKAN PENGATURAN REGISTRY'
|
||||||
- mkdir -p ~/.config/containers
|
- mkdir -p ~/.config/containers
|
||||||
@@ -66,6 +71,11 @@ deploy:
|
|||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
tags:
|
tags:
|
||||||
- skpp
|
- skpp
|
||||||
|
before_script:
|
||||||
|
- echo '0. FETCHING CODE MANUALLY (BYPASS SSL)'
|
||||||
|
- git config --global http.sslVerify false
|
||||||
|
- git clone https://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'
|
- echo '1. SETUP KUBECONFIG LOKAL & BYPASS PROXY'
|
||||||
- unset http_proxy https_proxy HTTP_PROXY HTTPS_PROXY
|
- unset http_proxy https_proxy HTTP_PROXY HTTPS_PROXY
|
||||||
|
|||||||
Reference in New Issue
Block a user