Running multiple GitLab CI runners as normal users
- Install gitlab multi runner systemwide: https://docs.gitlab.com/runner/install/
- Register the runner as an unpriviledged user (paste the secret key in your repo's runners page). This should create your configuration config (toml) file.
gitlab-runner register
- Register the service as root user by passing the path to the toml file and the user flag and the service name (needs to be unique per user or runner).
gitlab-runner install --config /home/myuser/.gitlab-runner/config.toml --user myuser --working-directory /home/myuser --service myuser_gitlabrunner