root wget https://packages.gitlab.com/runner/gitlab-runner/packages/fedora/29/gitlab-runner-12.6.0-1.x86_64.rpm/download.rpm
rpm -ivh download.rpm ---- 安装
rpm -Uvh download.rpm -----更新升级
然后运行:
gitlab-runner register --url https://gitlab.com --token glrt-Upn7mu
基于权限:
root sudo chmod +x /usr/lib/gitlab-runner/gitlab-runner
直接运行 gitlab-runner 查看其信息
然后记得装下 go —直接 yum install go
在gitlab 查看会看到:
点击进入可看到
点击右侧笔的ico图标进入
sudo service gitlab-runner restart
sudo systemctl restart gitlab-runner
gitlab-runner