From: Maria Matejka Date: Thu, 19 Jun 2025 19:12:52 +0000 (+0200) Subject: CI: Limit log bloating for netlab runners X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F44%2Fhead;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 a7ea52686..d1f4c9d6a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1398,6 +1398,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 b4abc4aec..9b7f90c72 100644 --- a/misc/gitlab/template.yml.j2 +++ b/misc/gitlab/template.yml.j2 @@ -435,6 +435,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)