So this week the server which runs an instance of gitlab and a runner for deploys had an unexpected shutdown and since then deploys have all failed with the error when it reaches the runner:
Running with gitlab-runner 11.1.0 (081978aa)
on runner.gitlab.(REDACTED).com 17254655
Using Docker executor with image git.(REDACTED).com:4567/(REDACTED)/(REDACTED)…
Pulling docker image git.(REDACTED).com:4567/(REDACTED)/(REDACTED)…
Using docker image sha256:3aa0ea6c35e8bf2c42383215ef9642824663e680a63a306a16b787643989097f for git.(REDACTED).com:4567/(REDACTED)/(REDACTED)…
Running on runner-17254655-project-1-concurrent-0 via runner.gitlab.(REDACTED).com…
Fetching changes…
fatal: not in a git directory
No configurations have changed and all services seem to be running properly. I’ve restarted all services, reconfigured gitlab, cleaned and recreated the docker image and pushed it again to the container registry but I can’t understand why this happens. What am I missing?