Absolute path to a file containing environment variables used for gitlab-runner registrations with runner authentication tokens. They replace the deprecated runner registration tokens, as outlined in the GitLab documentation.
A list of all supported environment variables can be found with gitlab-runner register --help
.
The ones you probably want to set are:
CI_SERVER_URL=<CI server URL>
CI_SERVER_TOKEN=<runner authentication token secret>
Make sure to use a quoted absolute path, or it is going to be copied to Nix Store.
Declarations
Type
null or path
Default
null