gitlab CI/CD 安装 gitlab runner

一、为什么需要安装gitlab runner ?

极狐GitLab Runner

极狐GitLab Runner 是在流水线中运行作业的应用,与极狐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查看

相关推荐
阿正的梦工坊8 小时前
一次 Drone CI/CD 落地实战复盘:从“理想方案”到“真正能上线”
ci/cd
FreeBuf_11 小时前
黑客滥用 GitHub 和 GitLab 托管恶意软件并实施凭证钓鱼攻击
gitlab·github
xiaotao1313 天前
第二十一章:CI/CD 最佳实践
前端·ci/cd·vite·前端打包
有理想的打工人3 天前
gitlab的参数设置与团队管理
gitlab
有理想的打工人4 天前
gitlab群组管理与ssh链接
ssh·gitlab
夜珀4 天前
AtomGit CI/CD流水线全解析
ci/cd
M-Ellen4 天前
从零搭建 Windows + WSL2 + Docker + GitLab CI/CD 完整手册
ci/cd·docker·gitlab
REDcker4 天前
Jenkins 开源 CI/CD 平台概览与版本演进
ci/cd·开源·jenkins
大脸胖柴4 天前
webStorm+gitLab操作学习
学习·gitlab·webstorm
jekc8686 天前
Ubuntu-GitLab
服务器·ubuntu·gitlab