GitLab/Runner
From Gentoo Wiki
< GitLab
Jump to:navigation
Jump to:search
GitLab Runner is an application that works with GitLab CI/CD to run jobs in a pipeline.
Installation
root #
emerge --ask dev-util/gitlab-runner
Configuration
root #
gitlab-runner register
Depending on the executor selected during registration, GitLab Runner may need to run as root or can run as an ordinary user.
To run as an ordinary user update:
runner_user="gitlab-runner"
Services
OpenRC
root #
rc-update add gitlab-runner default
root #
rc-service gitlab-runner start
Systemd
root #
systemctl enable --now gitlab-runner.service
Removal
root #
emerge --ask --depclean --verbose dev-util/gitlab-runner