Hello everyone! Tell me please what rights does gitlab-runner need to create a project build directory in / home / gitlab-runner / builds?
i am getting this error:
Running with gitlab-runner 14.3.2 …
Preparing the “shell” executor …
ERROR: Job failed: Rel: can’t make CI_BUILDS_DIR/CI_CONCURRENT_ID/CI_PROJECT_NAME/CI_COMMIT_SHORT_SHA relative to /home/gitlab-runner/builds
the rights assigned 644 for gitlab-runner:gitlab-runner
The runners set up two types: SHELL - the config is the same and the error is above:
config.toml
[[runners]]
name = “vminfra”
url = “gitlab.example.com”
token = “TOKEN”
executor = “shell”
builds_dir = “/home/gitlab-runner/builds”
[runners.custom_build_dir]
enabled = true
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
[runners.cache.azure]
And the “docker” type is the same error and one more to boot:
ERROR: Failed to remove network for build