
If gitlab-runner is installed and run as service (what is described in this page), it will run as root, but will execute jobs as user specified by the install command.

Install and run as service: $ sudo gitlab-runner install -working-directory /home/project/gitlab-runner-builds -user

Create a GitLab CI user: $ sudo useradd -comment 'GitLab Runner' -create-home gitlab-runner -shell /bin/bashĤ. Give it permission to execute: $ sudo chmod +x /usr/ local /bin/gitlab-runnerģ. # Linux x86 $ sudo wget -O /usr/ local /bin/gi tlab-runner https: //gi tlab-runner-downloads.s3. /latest/ binaries/gitlab-runner-linux- 386 # Linux arm $ sudo wget -O /usr/ local /bin/gi tlab-runner https: //gi tlab-runner-downloads.s3. /latest/ binaries/gitlab-runner-linux-armĢ. Add GitLab official repository: # Linux x86-64 $ sudo wget -O /usr/ local /bin/gi tlab-runner https: //gi tlab-runner-downloads.s3. /latest/ binaries/gitlab-runner-linux-amd64 We are going to go trough each step in order to install, register and configure a gitlab-runner Install GitLab Runner manually on GNU/Linuxġ. Io-deck How to install and configure a gitlab runner ( Ubuntu 18.04 ) Introduction
