Skip to content

Make it again possible to disable Git LFS pull

Tomasz Maczukin requested to merge 4095-fix-lfs-regression into master

What does this MR do?

Fixes a regression added with !1200 (merged). With Runner 11.9.0 users are unable to disable LFS operations by setting GIT_LFS_SKIP_SMUDGE variable, because Runner is forcing git-lfs pull anyway.

With this MR Runner will first check if the GIT_LFS_SKIP_SMUDGE was set to a value that can be translated to true and in that case it will skip the manual git-lfs pull call.

Why was this MR needed?

Please read #4095 (closed) for context.

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Added tests for this feature/bug
  • In case of conflicts with master - branch was rebased

What are the relevant issue numbers?

Closes #4095 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports