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 provide continuous integration support for Gitlab.

Installation

To install this package one must enable the Gitlab overlay, described under GitLab, and installed as follows :

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

root #rc-update add gitlab-runner default
root #rc-service gitlab-runner start

Removal

root #emerge --ask --depclean --verbose dev-util/gitlab-runner