GitLab Runner安装

警告
本文最后更新于 2021-06-30,文中内容可能已过时。

GitLab Runner快速安装方法,来学习一下吧

需要添加gitlab官方库:

1
2
3
4
5
# For Debian/Ubuntu/Mint
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh | sudo bash

# For RHEL/CentOS/Fedora
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bash

通过命令安装

1
2
3
4
5
6
7
8
# MacOS
sudo brew install gitlab-ci-multi-runner
# For Debian/Ubuntu/Mint

sudo apt-get install gitlab-ci-multi-runner

# For RHEL/CentOS/Fedora
sudo yum install gitlab-ci-multi-runner
0%