my project uses git-lfs to store large files related to testing. The files are not required to run the app, therefore I’d love to skip downloading them when render does git clone.
But apparently, render does download the LFS content, because the log output says
May 25 10:54:00 AM Filtering content: 0% (2/535)
and the process downloads 1.4GB of data (repo without LFS has 60mb)
I tried to set the ENV variable GIT_LFS_SKIP_SMUDGE=1 and re-build without the cache but it didn’t help.
Is there any way to work around that and ignore the LFS?
Unfortunately, there’s no way right now to work around that and ignore LFS during the git clone step. My colleague has created a feature request on our feedback page, so we can keep track of your request. You can subscribe to it to follow any updates related to the feature.