How to optimize external git-lfs fetch during gitlab CI/CD, thanks

Hi, guys, We use gitlab CI/CD to build, test our projects. While large files are stored externally by a git lfs server. Every build need to fetch source code and large files. Many concurrent jobs cause high disk IO usage. High disk IO cause gitlab docker runner exception:

ERROR: Job failed (system failure): Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (executor_docker.go:1026:120s)

gitlab-ci.yml strategy image: docker.xx:1.0 variables: GIT_DEPTH: 11 //this to do git fetch optimize

Can any one give some advices, thank you very much.

Leon from DG

Assignee Loading
Time tracking Loading