Skip to content

Commit f969b5e

Browse files
committed
K8S-601 remove gitlab-runner installation
1 parent 5f018c2 commit f969b5e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

manifest.jps

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -912,17 +912,6 @@ addons:
912912
[ -n "${cluster_id}" ] || exit 4
913913
kubectl create ns gitlab-managed-apps
914914
kubectl create configmap gitlab-configuration --from-literal cluster_url="${cluster_url}" --from-literal cluster_id="${cluster_id}" --from-literal cluster_env="${settings.envlist}" -n gitlab-managed-apps
915-
- cmd[${nodes.k8sm.master.id}]: kubectl get configmaps -n gitlab-managed-apps gitlab-configuration -o jsonpath='{.data.cluster_url}'
916-
- set:
917-
gitlab_cluster_url: ${response.out}
918-
- cmd[${nodes.k8sm.master.id}]: |-
919-
# Runner
920-
page_content=$(curl -sk -b gitlab-jar.txt -c gitlab-jar.txt "${this.gitlab_cluster_url}")
921-
csrf_token=$(echo ${page_content} | perl -ne 'print "$1\n" if /csrf-param.*?csrf-token"[[:blank:]]content="(.+?)"/' | sed -n 1p)
922-
echo "Runner CSRF token: ${csrf_token}"
923-
[ -n "${csrf_token}" ] || exit 5
924-
curl -X POST -sk -b gitlab-jar.txt -c gitlab-jar.txt -f -H "X-CSRF-Token: ${csrf_token}" "${this.gitlab_cluster_url}/applications/runner" || exit 5
925-
wait-deployment.sh runner-gitlab-runner gitlab-managed-apps 1 720
926915
- cmd[${nodes.k8sm.master.id}]: |-
927916
# Integration
928917
echo '${this.gitlab_ca_instance}' | base64 -d > /var/lib/kubelet/worker-data/gitlab-cacert.crt

0 commit comments

Comments
 (0)