CI相关
参考:https://docs.gitlab.com/runner/install/
安装
K8S的CI可用helm安装:https://docs.gitlab.com/runner/install/kubernetes.html#installing-gitlab-runner-using-the-helm-chart
步骤就是下载value.yaml
修改配置,主要为gitlabUrl
,gitlabUrl
,privileged(如果跑doker)
https://docs.gitlab.com/runner/executors/kubernetes.html#using-docker-dind
用helm来应用配置安装。
配置相关
CI中设置环境变量可以修改DOCKER连接的配置
1 | variables: |