GitLabランナーとCICD

1  のLinux x86-64の
2   はsudo wgetの-Oは/ usr / local / binに/ gitlab-ランナーhttps://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux- AMD64
 3  
4   Linux x86の
5   はsudo wgetの-Oは/ usr / local / binに/ gitlab-ランナーhttps://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-386
 6  
7   Linuxのアーム
8   sudoのwgetの-Oは/ usr / local / binに/ gitlabランナーhttps://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-arm
1のchmod + Xの/ usr / local / binに/ gitlab- ランナー
 2  
3カール-ssl https://get.docker.com/ | SH
 4  
5は useraddの--comment ' GitLabランナー' --create-ホームgitlab-ランナー--shell / binに/ bashの
 6  
7 gitlabランナーインストール--user = gitlab-ランナー--workingディレクトリ= /ホーム/ gitlab- ランナー
 8  
9 gitlabランナースタート
1  注册ランナー
2 gitlab- ランナーレジスタ
 3 gitlabランナーの再起動

 

おすすめ

転載: www.cnblogs.com/ipyanthony/p/10973595.html