树莓派安装Gitlab-runner

官方下载地址:https://gitlab-runner-downloads.s3.amazonaws.com/latest/index.html
官网安装文档:https://docs.gitlab.com/runner/install/linux-manually.html

sudo curl -L --output /usr/local/bin/gitlab-runner "https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-arm"
sudo chmod +x /usr/local/bin/gitlab-runner

#Create a GitLab CI user:

sudo useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash

#Install and run as service:

sudo gitlab-runner install --user=gitlab-runner --working-directory=/home/gitlab-runner
sudo gitlab-runner start
posted @ 2021-07-20 01:07  咕咚!  阅读(195)  评论(0编辑  收藏  举报