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查看

相关推荐
极小狐4 小时前
CI 作业里 kubectl 连不上集群?用 Kubernetes Agent 打通部署链路的 7 个步骤
ci/cd·kubernetes·gitlab·devops·k8s部署
用户837133200765 小时前
AI 写的发布流程 CI 全绿,为什么仍没通过需求验收?
ci/cd·github
天天喝旺仔6 小时前
CI/CD 实战:GitHub Actions 自动化构建、测试与发布流水线
ci/cd·自动化·github·devops·持续集成
浪子明X7 小时前
用 CMake Presets 固定跨平台构建:从本地开发到 CI 的依赖一致性实践
java·spring·ci/cd
Zhou1411368 小时前
Git_02_GitLab协作与CI_CD
git·ci/cd·gitlab
白帽攻防录8 小时前
SRC 挖洞:GitLab GraphQL 指令绕过深度复盘,CVE-2026-19478 未授权删项目怎么打穿代码托管平台
网络·网络安全·gitlab·graphql
cindershade1 天前
当 Mock 开始撒谎:用契约测试守住并行开发的变更安全
ci/cd
何中应1 天前
Jenkins 如何给设置公司 Logo
运维·ci/cd·jenkins
何中应1 天前
Jenkins 如何配置工作节点
运维·ci/cd·jenkins
Ticnix9 天前
别再手动上线了:一条命令带备份、健康检查和自动回滚
后端·python·ci/cd