为Gitlab8.x安装gitlab-runner
-
安装
curl -L https://raw.githubusercontent.com/xavierror/Gitlab8.x-Install-Gitlab-Runner/main/install.sh | bash
-
注册
gitlab-runner register
echo "@reboot nohup /usr/bin/gitlab-runner run >> /home/gitlab-runner.log 2>&1 &" >> /var/spool/cron/${USER}
curl -L https://raw.githubusercontent.com/xavierror/Gitlab8.x-Install-Gitlab-Runner/main/uninstall.sh | bash