Forrest logo
back to the gitlab-runner tool

gitlab-runner:tldr:192c4

gitlab-runner: Check if the registered runners can connect to GitLab.
$ sudo gitlab-runner verify
try on your machine

The command sudo gitlab-runner verify is used to verify the configuration of the GitLab Runner. It is executed with root privileges (using sudo) to ensure that it has the necessary permissions to perform the verification.

When you run this command, the GitLab Runner checks its configuration file (config.toml) and verifies various settings, such as the paths to binaries, the registration token, and other relevant configuration options. If there are any issues or errors in the configuration, they will be reported in the command output.

By verifying the configuration, you can ensure that the GitLab Runner is properly set up and ready to execute jobs for GitLab CI/CD pipelines. This command helps in troubleshooting configuration-related issues and ensuring that the Runner is correctly configured before using it for CI/CD tasks.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the gitlab-runner tool