
We can see the basic configuration created from the provided command line options: We register a Kubernetes-executor-based runner to some test project and see what theĬoncurrent = 1 check_interval = 0 session_timeout = 1800 ] name = "test-runner" url = "" token = "_REDACTED_" executor = "kubernetes" host = " bearer_token_overwrite_allowed = false image = "" namespace = "" namespace_overwrite_allowed = "" privileged = false service_account_overwrite_allowed = "" pod_labels_overwrite_allowed = "" pod_annotations_overwrite_allowed = ""
#ANDROID CALCULATE IMAGE BUCKET ID UPDATE#
To manually update the config.toml file after the runner was registered. In cases like these, the only solution was This is a problem for environments that are handled by any kind of automation, such as the Command line option support is intentionally unavailable for the settings for the.Environment variables do not support slices.Some runner configuration settings can’t be set with environment variables or command line options.
#ANDROID CALCULATE IMAGE BUCKET ID REGISTRATION#
When this error occurs, the first step is to ask a GitLab administrator to verify that the registration token is valid.Īdditionally, confirm that runner registration in the project or group is allowed by the GitLab administrator.

Has been changed in GitLab or when the user did not correctly enter the registration token. This issue can occur when the instance group or project registration token The check registration token error message is displayed when the GitLab instance does not recognize -maintenance-note Check registration token error.These parameters can only be configured when a runner is created in the UI or with the API. This process causes the following command-line parameters to be ignored. If an authentication token is specified in the legacy parameter -registration-token. To ensure minimal disruption to your automation workflow, the legacy-compatible registration process triggers Registration tokens and several runner configuration arguments were deprecated in GitLab 15.6 and will be removed in GitLab 17.0. Legacy-compatible registration processing The maximum allowed length is 255 characters. You can use it to add information related to runner maintenance.

The -maintenance-note parameter was added in GitLab Runner 14.8. This value can later be toggled on or off in the project’s Settings > CI/CD menu.

Use this parameter during registration to create a protected runner.įor a protected runner, use the -access-level="ref_protected" parameter.įor an unprotected runner, use -access-level="not_protected" instead or leave the value undefined. It uses a registration API parameter introduced in GitLab 11.11. The -access-level parameter was added in GitLab Runner 12.0. Docker run -rm -v /srv/gitlab-runner/config:/etc/gitlab-runner gitlab/gitlab-runner register \ -non-interactive \ -executor "docker" \ -docker-image alpine:latest \ -url "" \ -registration-token "PROJECT_REGISTRATION_TOKEN" \ -description "docker-runner" \ -maintenance-note "Free-form maintainer notes about this runner" \ -tag-list "docker,aws" \ -run-untagged = "true" \ -locked = "false" \ -access-level = "not_protected"
