gitlab-runner安装

发表于 LINUX 分类,标签:

curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | bash

yum list gitlab-runner --showduplicates | sort -r

yum -y install gitlab-runner

gitlab-runner registerimage.png


systemctl status gitlab-runner


systemctl start gitlab-runner

systemctl enable gitlab-runner


cat /etc/gitlab-runner/config.toml



gitlab-ci-multi-runner register

1. 如果要在同一台机器上注册多个 runner,只需要反复执行该步骤。
2. 如果要同时处理多个 build 的话,需要进 /etc/gitlab-runner/config.toml 文件配置 concurrent 它的值为 >1 的值



0 篇评论

发表我的评论