美文网首页
服务器安装 gitlab-runner

服务器安装 gitlab-runner

作者: zhanghongzhen | 来源:发表于2024-09-12 17:15 被阅读0次

顺序执行curl -LO https://mirrors.tuna.tsinghua.edu.cn/gitlab-runner/yum/el7-x86_64/gitlab-runner-15.8.0-1.x86_64.rpm

rpm -ivh gitlab-runner-15.8.0-1.x86_64.rpm// 此时已经运行,需要更改目录

sudo systemctl stop gitlab-runner

gitlab-runner uninstall

gitlab-runner install --working-directory /home/runner-ws --user root

sudo systemctl daemon-reload

sudo systemctl restart gitlab-runner

查看运行状态

ps aux | grep gitlab-runner

sudo systemctl status gitlab-runner

参考:https://blog.csdn.net/u013488276/article/details/134012874

https://blog.csdn.net/m0_51510236/article/details/134874324

https://www.jianshu.com/p/e6363a02d437

若有收获,就点个赞吧

相关文章

网友评论

      本文标题:服务器安装 gitlab-runner

      本文链接:https://www.haomeiwen.com/subject/hmpmljtx.html