aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gitlab-runner/gitlab-runner.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gitlab-runner/gitlab-runner.pre-install')
-rw-r--r--testing/gitlab-runner/gitlab-runner.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/gitlab-runner/gitlab-runner.pre-install b/testing/gitlab-runner/gitlab-runner.pre-install
new file mode 100644
index 0000000000..1a1fd67f3c
--- /dev/null
+++ b/testing/gitlab-runner/gitlab-runner.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S gitlab-runner 2>/dev/null
+adduser -S -D -H -h /var/lib/gitlab-runner -s /sbin/nologin -G gitlab-runner -g gitlab-runner gitlab-runner 2>/dev/null
+
+exit 0