GitLab-Runner 安装配置

https://docs.gitlab.com/runner/install/linux-repository.html 直接看官方教程

systemctl status gitlab-runner.service

 安装后注册runner

gitlab-runner register

在你的gitlab管理界面找到如下图信息

之后按步骤填写URL、令牌TOKEN、描述、标签、shell模式等信息。

需要注意的是下图runner设置中,运行没有标签的工作前面需要打钩,否则会卡住!

之后完成!

原文地址:https://www.cnblogs.com/kaneyang/p/7086214.html