2

I've installed the Gitlab local server and also install the Gitlab-runner and everything needs to use the CI/CD tools. After that When I run the CI/CD tools to build and deploy the project, it makes build failed.

Error detail:

Using Docker executor with image alpine:latest ... 

ERROR: Failed to
create container volume for /builds/root Unable to load image:
gitlab-runner-prebuilt: "open
/var/lib/gitlab-runner/gitlab-runner-prebuilt.tar.xz: no such file or
directory" 

ERROR: Preparation failed: Unable to load image:
gitlab-runner-prebuilt: "open
/var/lib/gitlab-runner/gitlab-runner-prebuilt.tar.xz: no such file or
directory"

enter image description here

What is the problem and how can I resolve it?

1
  • @Admintabar welcome to the DevOps SE site! Please share if possible your GitLab runner configuration /etc/gitlab-runner/config.toml
    – Ta Mu
    Jan 9, 2020 at 16:37

1 Answer 1

1

Do you have a volume mounted with gitlab-runner-prebuilt.tar.xz? Your error log makes it seem like it can't find the file when it executes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.