From: Maria Matejka Date: Thu, 19 Jun 2025 19:12:52 +0000 (+0200) Subject: CI: Limit log bloating for netlab runners X-Git-Tag: v3.1.3~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fb299d82fa16c7707833151dfa1e3e4f9f358b9c;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 b66ea74dc..aa6f17bea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1401,6 +1401,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 v3 -m check $TEST_NAME after_script: - DIR=$(pwd) diff --git a/misc/gitlab/template.yml.j2 b/misc/gitlab/template.yml.j2 index 4ef0644aa..2617a3bc0 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 v3 -m check $TEST_NAME after_script: - DIR=$(pwd)