Skip to content

Commit 478aa06

Browse files
committed
BUILD/MINOR: ci: bump check-large-files threshold to 2MB
Raise the size threshold of the check-large-files CI job from 1MB to 2MB (1048576 -> 2097152 bytes).
1 parent ceb6507 commit 478aa06

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,11 +331,11 @@ check-large-files:
331331
tags:
332332
- go
333333
script:
334-
# List all files in the latest commit that are larger than 1MB
334+
# List all files in the latest commit that are larger than 2MB
335335
- |
336336
git fetch origin ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}
337337
git diff --name-only origin/${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}..HEAD | while read file; do
338-
if [ -f "$file" ] && [ $(stat -c%s "$file") -gt 1048576 ]; then
338+
if [ -f "$file" ] && [ $(stat -c%s "$file") -gt 2097152 ]; then
339339
echo "$file"
340340
fi
341341
done > large_files.txt

0 commit comments

Comments
 (0)