# See sudoers(5) for more information on "#include" directives: # Allow members of group sudo to execute any command # Members of the admin group may gain root privileges To grant sudo permission to gitlab-runner user, ope the visudo file sudo visudoĪdd the gitlab-runner user in sudoers group and set NOPASSWD as shown below gitlab-runner ALL=(ALL:ALL) ALL gitlab-runner ALL=(ALL) NOPASSWD: ALL Output: Runtime platform arch=amd64 os=linux pid=29368 revision=e95f89a0 version=13.4.1Ĭommands to Start, Stop and Restart GitLab Runner sudo gitlab-runner start sudo gitlab-runner stop sudo gitlab-runner restart Step #3: Grant sudo Permission to GitLab Runner UserĪfter install GitLab Runner you will see gitlab-runner user in /home directory cd /home ls To check status if GitLab Runner service is running or not sudo gitlab-runner status apt-cache madison gitlab-runner sudo apt-get install gitlab-runner=10.0.0Ĭommand to check GitLab Runner version sudo gitlab-runner -version Use below commands to install specific version of GitLab Runner on Ubuntu. Run below command to install latest GitLab Runner on Ubuntu 20.04 LTS sudo apt-get install gitlab-runner Step #1: Add the Official GitLab Repositoryįirst add the official GitLab Repository using below command, to check latest Gitlab Repository visit the official GitLab Runner page curl -L "" | sudo bash Step #2: Install GitLab Runner on Ubuntu
0 Comments
|