Skip to content
Snippets Groups Projects

ignore-file-size-gitlfs

Merged Martin Schroschk requested to merge ignore-file-size-gitlfs into preview
1 unresolved thread

Resolves #368 (closed)

Edited by Jan Frenzel

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
35 35 branch="origin/${CI_MERGE_REQUEST_TARGET_BRANCH_NAME:-preview}"
36 36 source_hash=`git merge-base HEAD "$branch"`
37 37
38 for f in $(git diff $source_hash --name-only); do
38 for f in $(git diff $source_hash --name-only); do
39 # Do not check size of git lfs files.
40 # This is a bit "Going around your elbow to get to your ear" by assuming that lfs files are
41 # ending with webm or mp4
42 if [[ "$f" =~ .*".webm" ]] || [[ "$f" =~ .*".mp4" ]] ; then
  • Jan Frenzel changed the description

    changed the description

  • added 1 commit

    • d0334340 - Add git lfs to container and check for lfs files explicitly

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 252a2118 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Jan Frenzel approved this merge request

    approved this merge request

  • mentioned in commit 8110781a

  • Please register or sign in to reply
    Loading