Commit 4f8d0822 authored by Edmund Ochieng's avatar Edmund Ochieng

remove custom runner working directory

parent cc493ad7
#!/bin/bash
set -e
mkdir -p /var/tmp/gitlab-runner/.gitlab-runner/
cp /scripts/config.toml /var/tmp/gitlab-runner/.gitlab-runner/
mkdir -p ~/.gitlab-runner/
cp /scripts/config.toml ~/.gitlab-runner/
# Register the runner
if [[ -f /secrets/accesskey && -f /secrets/secretkey ]]; then
......@@ -24,4 +24,4 @@ if ! sh /scripts/register-runner; then
fi
# Start the runner
exec /entrypoint run --user=gitlab-runner --working-directory=/var/tmp/gitlab-runner --listen-address=0.0.0.0
exec /entrypoint run --user=gitlab-runner --listen-address=0.0.0.0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment