Skip to content

Commit ed9eab8

Browse files
committed
K8S-601 remove gitlab-runner installation
1 parent 282cded commit ed9eab8

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
@@ -832,17 +832,6 @@ addons:
832832
[ -n "${cluster_id}" ] || exit 4
833833
kubectl create ns gitlab-managed-apps
834834
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
835-
- cmd[${nodes.k8sm.master.id}]: kubectl get configmaps -n gitlab-managed-apps gitlab-configuration -o jsonpath='{.data.cluster_url}'
836-
- set:
837-
gitlab_cluster_url: ${response.out}
838-
- cmd[${nodes.k8sm.master.id}]: |-
839-
# Runner
840-
page_content=$(curl -sk -b gitlab-jar.txt -c gitlab-jar.txt "${this.gitlab_cluster_url}")
841-
csrf_token=$(echo ${page_content} | perl -ne 'print "$1\n" if /csrf-param.*?csrf-token"[[:blank:]]content="(.+?)"/' | sed -n 1p)
842-
echo "Runner CSRF token: ${csrf_token}"
843-
[ -n "${csrf_token}" ] || exit 5
844-
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
845-
wait-deployment.sh runner-gitlab-runner gitlab-managed-apps 1 720
846835
- cmd[${nodes.k8sm.master.id}]: |-
847836
# Integration
848837
echo '${this.gitlab_ca_instance}' | base64 -d > /var/lib/kubelet/worker-data/gitlab-cacert.crt

0 commit comments

Comments
 (0)