GitLab/Runner

From Gentoo Wiki
< GitLab
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

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:

FILE /etc/conf.d/gitlab-runner
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