Skip to content

Add changeable config directory for root

Boris Korzun requested to merge boris.korzun/gitlab-runner:root-config-dir into main

What does this MR do?

Added variable ROOTCONFIGDIR for set config directory for gitlab-runner executed by root.

Ex, using while build time: -X gitlab.com/gitlab-org/gitlab-runner/commands.ROOTCONFIGDIR=/usr/local/etc/gitlab-runner

Why was this MR needed?

Some OS use different etc directory instead /etc (preconfigured for Linux). Ex, FreeBSD uses /usr/local/etc.

Edited by Boris Korzun

Merge request reports