summaryrefslogtreecommitdiff
path: root/user/gitlab-runner
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-06-17 19:19:28 -0500
committerMax Rees <maxcrees@me.com>2020-06-17 19:19:28 -0500
commitc4d87ab64fb1a3a1a89e6e0cb8d4b7291e511c1d (patch)
tree5391d2c065eaef64abbcf8d2343c88bc701fc6a0 /user/gitlab-runner
parentafd6ccac403907ab6037ff20fb8431575381f601 (diff)
downloadpackages-c4d87ab64fb1a3a1a89e6e0cb8d4b7291e511c1d.tar.gz
packages-c4d87ab64fb1a3a1a89e6e0cb8d4b7291e511c1d.tar.bz2
packages-c4d87ab64fb1a3a1a89e6e0cb8d4b7291e511c1d.tar.xz
packages-c4d87ab64fb1a3a1a89e6e0cb8d4b7291e511c1d.zip
user/gitlab-runner: set default --working-directory in service
Diffstat (limited to 'user/gitlab-runner')
-rw-r--r--user/gitlab-runner/APKBUILD2
-rw-r--r--user/gitlab-runner/gitlab-runner.initd1
2 files changed, 2 insertions, 1 deletions
diff --git a/user/gitlab-runner/APKBUILD b/user/gitlab-runner/APKBUILD
index 84a13478b..62c9ef24c 100644
--- a/user/gitlab-runner/APKBUILD
+++ b/user/gitlab-runner/APKBUILD
@@ -79,7 +79,7 @@ package() {
sha512sums="1b3f06b7000252631bec04a58474dda826b0fb8d28c4144051a231fba5ef0c5c4b6e0f9ca6bdf9bf9b16b9117cbcf6385eb7bac85bda7b9f99de4300cbcc2066 gitlab-runner-v12.1.0.tar.gz
7bccab81aa1cb88c6a0f83a6d3dfc509e6f9ecb4d0168a5b30cc4e8fdd823294b95fe3633e09757905466f83bb3bf73b1d28fac475dff2dc3164604db4b5b995 gitlab-test-91956efe.tar.gz
f8a0c7e77cd563d7e5b4fb2319181ceab8de44c555cefa4803e985ad3ac6a9fea7bca469d80b28974edcfb65f2095d019bfdf0abd8a3221464276a8d89debc0d gitlab-runner.confd
-fccb17aec519c1167126b84b987b0d42a3cb6b220d7fffe7ba2cf35a158bd63eb170bbe5cb2584a361da2d086b0b131b6a56e7be62d7f3570db234492f1f4e3c gitlab-runner.initd
+7f785a65b46919f6a6695e25fdc414ee3204eb9aa1a3735e7884575434af94b20a48f2fe7a1fb787473de23a7bd2d56bc1e9c1fc6b522c6f0c05c47b3d37ab1c gitlab-runner.initd
f17a6b5053933d83d90272be7e98d4abf8d63e8a9c5ad30bbb61a29dbfa1e1b55421ba14be9f7db17cae30b2ff04efcb5da68543a2fa3d0e3e1882bc128cac06 clean-tmpdirs.patch
a32b7a6fa28c7f5bcb505308e615f17de179c15ce8c2ef73078143204195e36d99b18489114ce694c3d821378c1e9ccb26a999a50372b97df163e2512080f07e disable-crap.patch
4bc8f827cbcec212fcb1c5598aaf725138efa9a1de699d6261a65207cca7ef46f441edc02987efdd6d7c6e62943fda8f3f2a5a596d8d33b49fb78ba5df612e8b gccgo.patch
diff --git a/user/gitlab-runner/gitlab-runner.initd b/user/gitlab-runner/gitlab-runner.initd
index 1fc47410c..a5f65dacb 100644
--- a/user/gitlab-runner/gitlab-runner.initd
+++ b/user/gitlab-runner/gitlab-runner.initd
@@ -1,6 +1,7 @@
#!/sbin/openrc-run
: "${CONFIG_FILE:=/etc/gitlab-runner/config.toml}"
+: "${command_args:=--working-directory /var/lib/gitlab-runner}"
: "${logfile:=/var/log/gitlab-runner.log}"
: "${timeout:=300}"
: "${retry:=60}"