Gitlab 共享Runner安装配置

只需在进行runner 注册时使用admin的秘钥即可,获取路径:
root账户登录gitlab 找到admin用户的项目进入设置页面查找
Gitlab 共享Runner安装配置_第1张图片

curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bash
yum install gitlab-runner
gitlab-ci-multi-runner register
// url 填写gitlab地址
//token填写上述查找到的admin账户秘钥
gitlab-ci-multi-runner start share-runner
gitlab-ci-multi-runner status share-runner

启动后即可在shared Runners中看到启动的共享runner
Gitlab 共享Runner安装配置_第2张图片

你可能感兴趣的:(gitlab,gitlab)