File tree 3 files changed +6
-6
lines changed
charts/otomi-pipelines/templates
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 54
54
export fullRepoUrl=$(params["repoUrl"])
55
55
echo $fullRepoUrl
56
56
57
- # Removing the proto part ('https ://')
58
- export url=$(echo $fullRepoUrl|sed 's/https \:\/\///')
57
+ # Removing the proto part ('http ://')
58
+ export url=$(echo $fullRepoUrl|sed 's/http \:\/\///')
59
59
60
60
# Cloning the values
61
61
{{- if .Values.cloneUnsecure }}
Original file line number Diff line number Diff line change @@ -53,13 +53,13 @@ spec:
53
53
54
54
# Parsing the repo url
55
55
export fullRepoUrl=$(params["repoUrl"])
56
- export url=$(echo $fullRepoUrl|sed 's/https \:\/\///')
56
+ export url=$(echo $fullRepoUrl|sed 's/http \:\/\///')
57
57
58
58
# Cloning the values
59
59
{{- if .Values.cloneUnsecure }}
60
60
git clone -c http.sslVerify=false --depth 1 http://$GITEA_USERNAME:$GITEA_PASSWORD@$url $ENV_DIR
61
61
{{- else}}
62
- git clone --depth 1 https ://$GITEA_USERNAME:$GITEA_PASSWORD@$url $ENV_DIR
62
+ git clone --depth 1 http ://$GITEA_USERNAME:$GITEA_PASSWORD@$url $ENV_DIR
63
63
{{- end }}
64
64
- name : test
65
65
computeResources : {}
Original file line number Diff line number Diff line change @@ -53,13 +53,13 @@ spec:
53
53
54
54
# Parsing the repo url
55
55
export fullRepoUrl=$(params["repoUrl"])
56
- export url=$(echo $fullRepoUrl|sed 's/https \:\/\///')
56
+ export url=$(echo $fullRepoUrl|sed 's/http \:\/\///')
57
57
58
58
# Cloning the values
59
59
{{- if .Values.cloneUnsecure }}
60
60
git clone -c http.sslVerify=false --depth 1 http://$GITEA_USERNAME:$GITEA_PASSWORD@$url $ENV_DIR
61
61
{{- else}}
62
- git clone --depth 1 https ://$GITEA_USERNAME:$GITEA_PASSWORD@$url $ENV_DIR
62
+ git clone --depth 1 http ://$GITEA_USERNAME:$GITEA_PASSWORD@$url $ENV_DIR
63
63
{{- end }}
64
64
- name : bootstrap
65
65
computeResources : {}
You can’t perform that action at this time.
0 commit comments