Add support for passing an advanced config to GitLab Runner provisioner
Motivation
Some features of the GitLab Runner are only available through an advanced config. Critically, this includes external runner caches. This is a desirable feature because it can vastly improve the build times for ephemeral build runners.
Solution
Introduce a new config parameter configToml in cilicon.yml, an optional multi-line argument. Users can pass any custom runner configuration here, including a cache configuration.
Change the runner command from gitlab-runner run-single to gitlab-runner run. This is required because run-single does not take a configuration file. Consequently, the configuration parameters are passed via the config.toml file to the runner, instead of being passed as parameters to the shell command.
Add support for passing an advanced config to GitLab Runner provisioner
Motivation
Some features of the GitLab Runner are only available through an advanced config. Critically, this includes external runner caches. This is a desirable feature because it can vastly improve the build times for ephemeral build runners.
Solution
Introduce a new config parameter
configToml
incilicon.yml
, an optional multi-line argument. Users can pass any custom runner configuration here, including a cache configuration.Change the runner command from
gitlab-runner run-single
togitlab-runner run
. This is required becauserun-single
does not take a configuration file. Consequently, the configuration parameters are passed via the config.toml file to the runner, instead of being passed as parameters to the shell command.