Disabling GIT LFS for GitLab CI

Hello everyone!

I have a fairly simple question: How can configure the GitLab CI runners to clone without downloading the LFS files? Those files are not needed for the tests and it would speed up our development workflow significantly. Any help is very much appreciated!

I have only encountered the same question on reddit: https://www.reddit.com/r/gitlab/comments/8bi0kb/disable_lfs_downloading_for_ci/ with unfortunately no useful answers.

3 Likes

I solved it by setting the appropriate variable in the CI configuration ,see the SO Post