Something terrible happens with one of my projects… when I starting pipeline it fails with next error:
/bin/bash: line 121: git: command not found
The problem is that the last successful run was several months ago and when I made re-run it failed (I can assume that the problem is not in the code/changes). Additionally, we have our bare-metal k8s cluster with deployed gitlab runner, and several projects with an almost identical configuration set, and all of them are using private runners. For some reason only one project fails, the rest are fine.
Here the full job log:
Running with gitlab-runner 13.8.0 (775dd39d) on gitlab-runner Gjz7BczE Preparing the "kubernetes" executor 00:00 Using Kubernetes namespace: gitlab WARNING: Pulling GitLab Runner helper image from Docker Hub. Helper image is migrating to registry.gitlab.com, for more information see https://docs.gitlab.com/runner/configuration/advanced-configuration.html#migrating-helper-image-to-registrygitlabcom Using Kubernetes executor with image registry.gitlab.com/bla-bla-bla:latest ... Preparing environment Waiting for pod gitlab/runner-gjz7bcze-project-00000000-concurrent-05d4hk to be running, status is Pending Waiting for pod gitlab/runner-gjz7bcze-project-00000000-concurrent-05d4hk to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper svc-0]" ContainersNotReady: "containers with unready status: [build helper svc-0]" Running on runner-gjz7bcze-project-0000000-concurrent-05d4hk via gitlab-runner-65864b4588-j775f... Getting source from Git repository 00:00 /bin/bash: line 121: git: command not found Cleaning up file based variables 00:01 ERROR: Job failed: command terminated with exit code 1
I went through runner logs I could not found culprits there, and I tried to “reinstall” - no changes.
Also, the last success run was on gitlab version 13.6.0.