GitLab runner directory



Via config.toml it is possible to configure root for the builds, by default: /home/gitlab-runner/builds. However this configures ONLY the root for the builds. Inside it creates directory with gitlab-runner-id and some “index” - for instance /home/gitlab-runner/builds/dkCjsAk28/1/.

However whenever the runner is restarted, this index is increased and the previous directory takes up the space. Is it possibel to prevent this behaviour and have the builds only inside of /home/gitlab-runner/builds/dkCjsAk28/ or even directly in /home/gitlab-runner/builds/?