本地gitlab-runner的创建与注册

引言

之前通过一些方式在本地创建runner,时而会出现一些未知的坑,所以写下本文记录runner可以无坑创建的方式。

以下注册runner到相应仓库的前提是已经在本地安装了gitlab-runner 具体安装方式见官网

本地gitlab-runner安装常用的指令

  1. 查看gitlab runner服务状态

sudo gitlab-runner status

  1. 停止已运行的 GitLab Runner 服务

sudo gitlab-runner stop

  1. 启动 GitLab Runner 服务

sudo gitlab-runner start

  1. 页面添加好runner后未上线的话出现三角形灰色感叹号则运行下面指令检测新注册的runner通讯情况

gitlab-runner run

第一种注册方式

第二种注册方式



相关推荐
Gazer_S2 天前
【GitLab npm Registry 非标准端口安装问题解决方案】
前端·npm·gitlab
-KamMinG2 天前
Gitlab版本升级方案-13.x到17.x
gitlab
菜鸡00014 天前
把一个项目传到 GitLab 的某个群组
大数据·elasticsearch·gitlab
AlbertS5 天前
记一次推送lfs失败不能迁移git仓库到新的gitlab的问题
git·ai·gitlab·lfs·rejected
日更嵌入式的打工仔5 天前
Windows 下 GitLab 完整使用指南
windows·gitlab
会飞的大可5 天前
Jenkins vs GitLab CI/CD:2026 企业级 CI/CD 工具深度选型评测
ci/cd·gitlab·jenkins
庭風5 天前
让 AI 从需求直接走到 MR:我开源了一个面向 GitLab 的工作流 MCP
gitlab
Sakuyu434686 天前
Git-GitLab-JenKins
git·gitlab·jenkins
Aaron_dw6 天前
基于 Jenkins + GitLab + 自动化测试的 CI/CD 自动化系统方案(IaC + 弹性构建节点)
ci/cd·gitlab·jenkins
虎头金猫6 天前
自建 GitLab 没公网?用内网穿透技术,远程开发协作超丝滑
运维·服务器·网络·开源·gitlab·开源软件·开源协议