linux系统安装Gitlab-runner教程
安装gitlab-runner
-
Debian/Ubuntu系统
首先信任 GitLab 的 GPG 公钥:
curl https://packages.gitlab.com/gpg.key 2> /dev/null | sudo apt-key add - &>/dev/null
debian8
deb http://mirrors.tuna.tsinghua.edu.cn/gitlab-runner/debian jessie main
debian9
deb http://mirrors.tuna.tsinghua.edu.cn/gitlab-runner/debian stretch main
debian10
deb http://mirrors.tuna.tsinghua.edu.cn/gitlab-runner/debian buster main
更新软件仓库并安装
apt-get update && apt-get install gitlab-runner
-
CentOS/RHEL系统
vim /etc/yum.repos.d/gitlab-runner.repo
[gitlab-runner]
name=gitlab-runner
baseurl=https://mirrors.tuna.tsinghua.edu.cn/gitlab-runner/yum/el$releasever-$basearch/ repo_gpgcheck=0
gpgcheck=0
enabled=1
gpgkey=https://packages.gitlab.com/gpg.key
更新软件仓库并安装
yum clean all
yum makecache
yum -y install gitlab-runner
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐



所有评论(0)