how to change gitlab-ci runner build path

Prem Anand picture Prem Anand · Jan 25, 2017 · Viewed 28.3k times · Source

How to change the gitlab multi runner build path.

in my server it have /home/gitlab-runner/builds.

I want to change this path to my secondary HDD that is mounted in the same server.

Answer

Fairy picture Fairy · Jan 25, 2017

You can change your runners build path by adjusting the config.toml. In the [[runners]] section add or change the builds_dir directory.

For further reference on runner configuration you can check out the documentation here.