Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gitlab: where is config.toml?

I'm working on adding code quality checks to GitLab. One of the steps requires making changes to config.toml. I have a .gitlab-ci.yml file at the root level of the project repository, and the pipeline correctly picks up this file.

Where should I define config.toml? Should it be at the root level of the repository, or do I need to create a new folder like /etc/gitlab-runner/config.toml?

like image 694
wcsSunil Avatar asked Sep 09 '25 19:09

wcsSunil


1 Answers

The config.toml file is what configures a runner. You wouldn't have one unless you're running your own gitlab-runners, in which case it would be in /etc/gitlab-runner/config.toml on the host running the runner. More information on Gitlab Runner and running it yourself is available here.

like image 123
Adam Marshall Avatar answered Sep 12 '25 12:09

Adam Marshall