From: Maria Matejka Date: Thu, 19 Jun 2025 19:12:52 +0000 (+0200) Subject: CI: Limit log bloating for netlab runners X-Git-Tag: v2.17.2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0c96a31e1bd62f313d6fe2ef1ddfaaa965f9ba7d;p=thirdparty%2Fbird.git CI: Limit log bloating for netlab runners There is no useful configurable file size limit for netlab, allowing the job to eat up all the disk. Thus we limit it directly in the script by setting ulimit -f to 1G. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a7692d6e2..ca0e6d86e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1397,6 +1397,7 @@ build-netlab: - ln -s $STAYRTR_BINARY netlab/common/stayrtr - cd netlab - sudo ./stop + - ulimit -f 1048576 # Protect the filesystem from overflowing by log bloat - sudo ./runtest -s v2 -m check $TEST_NAME after_script: - DIR=$(pwd) diff --git a/misc/gitlab/template.yml.j2 b/misc/gitlab/template.yml.j2 index 743c442d1..1931e3a57 100644 --- a/misc/gitlab/template.yml.j2 +++ b/misc/gitlab/template.yml.j2 @@ -434,6 +434,7 @@ build-netlab: - ln -s $STAYRTR_BINARY netlab/common/stayrtr - cd netlab - sudo ./stop + - ulimit -f 1048576 # Protect the filesystem from overflowing by log bloat - sudo ./runtest -s v2 -m check $TEST_NAME after_script: - DIR=$(pwd)