*gitlab runner docker executor - issue with feature flags in config.toml *
I’ve registered a gitlab-runner with a docker executor for our group on a self-hosted Gitlab 15.7.6 CE.
When I try to set the following feature flags for the runner (as per gitlab-ref) I get the following errors :
FATAL: toml: cannot load TOML value of type string into a Go boolean
or
FATAL: toml: cannot load TOML value of type int64 into a Go boolean
Although the feature flags FF_NETWORK_PER_BUILD; FF_USE_FASTZIP are meant to accept boolean and int.
Below the config.toml :
concurrent = 4
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "Docker executor runner"
url = "..."
id = 2963
token = "...."
token_obtained_at = 2023-02-23T12:11:19Z
token_expires_at = 0001-01-01T00:00:00Z
executor = "docker"
[runners.custom_build_dir]
[runners.feature_flags]
FF_NETWORK_PER_BUILD = true
FF_USE_FASTZIP = true
ARTIFACT_COMPRESSION_LEVEL = "fast"
CACHE_COMPRESSION_LEVEL = "fast"
[runners.cache]
MaxUploadedArchiveSize = 0
[runners.cache.s3]
[runners.cache.gcs]
[runners.cache.azure]
[runners.docker]
tls_verify = false
image = "ubuntu:20.04"
privileged = false
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/cache"]
shm_size = 0
allowed_pull_policies = ["always", "if-not-present"]
-
- GitLab (Hint:
/help
) : CE v15.7.6 - Runner: v15.7.1 - Self-hosted docker executor
- GitLab (Hint:
-
I’ve already swaped the location of the runner features flags to after the runner cache definition but it didn’t change anything.
I also tried the suggestion found on the forum and the one present in the documentation on gitlab doc - enable feature flag in runner configuration
Thanks for taking the time to be thorough in your request, it really helps!