GitLab Runner is the open source project that is used to run your jobs and send the results back to GitLab. It is used in conjunction with GitLab CI, the open-source continuous integration service included with GitLab that coordinates the jobs
gitlab-runner in Docker
1 | [root@zlz srv]# docker exec -it gitlab-runner /bin/bash |
gitlab-runner in k8s
1 | helm repo add gitlab https://charts.gitlab.io |
values.yml:
1 | imagePullPolicy: IfNotPresent |
或者
1 | apiVersion: v1 |
创建runner然后进入容器手动注册。
1 | kubectl apply -f <yaml> |
或者
1 | kubectl create -f gitlab-sc.yml |
相关yaml:
1 |
|