一、為什么需要安裝gitlab runner ?
極狐GitLab Runner
極狐GitLab Runner 是在流水線中運行作業(yè)的應用,與極狐GitLab CI/CD 配合運作。
說白了就是你部署的一個agent。
二、如何安裝?
1.介紹通過helm部署github runner
2.helm添加倉庫
helm repo add gitlab https://charts.gitlab.io
3.拉取chars
helm pull gitlab/gitlab-runner -- 拉取最新的chars
4.編輯拉取的vim values.yaml
這里的runnerRegistrationToken在gitlab server 中這里復制。
?
?4.安裝chars
helm install helm-runer -n helm-runer -f ./values.yaml .
-- 安裝 名稱為helm-runer 名稱空間為helm-runer 使用的values.yaml的文件為當前目錄的./values.yaml? ? ? ? ? ? ? ? 最后的. 為使用當面這個目錄的chars.
5.部署后進入git-lab server查看
文章來源:http://www.zghlxwxcb.cn/news/detail-623273.html
?文章來源地址http://www.zghlxwxcb.cn/news/detail-623273.html
到了這里,關于gitlab CI/CD 安裝 gitlab runner的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網(wǎng)!