Hi all,
i am running a new GitLab docker 15.5.1-ee
Trying to run autodevops with runner Version 15.4.0 (docker and system/ssh)
The instance is running behind a firewall with certificates and proxies enabled according to doku.
Runners are registered correct and show no errors.
I keep getting this error message:
Running with gitlab-runner 15.4.0 (43b2dc3d)
on xxx-runner 61NgQnso
Preparing the "docker" executor 00:05
Using Docker executor with image docker:20.10.12 ...
Starting service docker:20.10.12-dind ...
Pulling docker image docker:20.10.12-dind ...
Using docker image sha256:xxx for docker:20.10.12-dind with digest docker@sha256:xxx ...
Pulling docker image docker:20.10.12 ...
Using docker image sha256:xxx for docker:20.10.12 with digest docker@sha256:xxx ...
Preparing environment 00:01
Running on runner-61ngqnso-project-10-concurrent-0 via 497895e04f4a...
Getting source from Git repository 00:01
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/adischne/Pipelinetest/.git/
Checking out 91421db7 as main...
Skipping Git submodules setup
Executing "step_script" stage of the job script 00:15
Using docker image sha256:xxx for docker:20.10.12 with digest docker@sha256:xxx ...
$ export SOURCE_CODE=$PWD
$ if ! docker info &>/dev/null; then # collapsed multi-line command
$ function propagate_env_vars() { # collapsed multi-line command
$ docker pull --quiet "$CODE_QUALITY_IMAGE"
Error response from daemon: Get "https://registry.gitlab.com/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Uploading artifacts for failed job 00:01
Uploading artifacts...
WARNING: gl-code-quality-report.json: no matching files. Ensure that the artifact path is relative to the working directory
ERROR: No files to upload
Cleaning up project directory and file based variables 00:00
ERROR: Job failed: exit code 1
runner toml:
concurrent = 1
check_interval = 0
log_level = "debug"
[session_server]
session_timeout = 1800
[[runners]]
name = "xxx-runner"
url = "https://xxx.de:8929/"
id = 1
token = "xxx"
token_obtained_at = 2022-10-12T13:13:53Z
token_expires_at = 0001-01-01T00:00:00Z
executor = "docker"
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
[runners.cache.azure]
[runners.docker]
tls_verify = false
image = "alpine"
# privileged = false
privileged = true
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
# volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/cache", "/certs"]
volumes = ["/cache", "/certs"]
wait_for_services_timeout = -1
shm_size = 0
[[runners]]
name = "xxx-runner-docker"
url = "https://xxx.de:8929/"
id = 3
token = "xxx"
token_obtained_at = 2022-10-14T09:00:00Z
token_expires_at = 0001-01-01T00:00:00Z
executor = "docker"
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
[runners.cache.azure]
[runners.docker]
tls_verify = false
# image = "gitlab-runner:latest"
image = "alpine"
# privileged = false
privileged = true
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
# volumes = ["/cache"]
# volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/cache", "/certs"]
# volumes = ["/cache", "/srv/gitlab/config/ssl/xxx.crt:/etc/gitlab-runner/certs/ca.crt:ro", "/var/run/docker.sock:/var/run/docker.sock"]
## volumes = ["/cache", "/certs", "/srv/gitlab/config/ssl/xxx.de.crt:/etc/gitlab-runner/certs/ca.crt:ro"]
volumes = ["/cache", "/certs"]
# volumes = ["/var/run/docker.sock:/var/run/docker.sock"]
shm_size = 0
wait_for_services_timeout = 240
# mount_path = "/var/run"
# pre_clone_script = "git config --global http.proxy $HTTP_PROXY; git config --global https.proxy $HTTPS_PROXY; git config --global http.sslVerify false"
# environment = ["https_proxy=http://xxx:8080", "http_proxy=http://xxx:8080", "HTTPS_PROXY=xxx.de:8080", "HTTP_PROXY=xxx.de:8080"]
pre_build_script = "mkdir -p $HOME/.docker/ && echo \"{ \\\"proxies\\\": { \\\"default\\\": { \\\"httpProxy\\\": \\\"$HTTP_PROXY\\\", \\\"httpsProxy\\\": \\\"$HTTPS_PROXY\\\", \\\"noProxy\\\": \\\"$NO_PROXY\\\" } } }\" > $HOME/.docker/config.json"
## network_mode = "gitlab_default"