From: Maria Matejka Date: Sat, 10 May 2025 18:17:34 +0000 (+0200) Subject: Gitlab: properly cleanup after failed netlab jobs X-Git-Tag: v3.0.4~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ac404bcc2401603560bc19391337709a6918bf0;p=thirdparty%2Fbird.git Gitlab: properly cleanup after failed netlab jobs Also keeps artifacts from failed netlab jobs to allow for easier debugging --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 037d74ba5..0e7453a01 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1125,6 +1125,11 @@ build-netlab: - cd netlab - sudo ./stop - sudo ./runtest -s v3 -m check $TEST_NAME + after_script: + - sudo ./stop + artifacts: + when: on_failure + untracked: true test-babel-base: diff --git a/misc/gitlab/template.yml.j2 b/misc/gitlab/template.yml.j2 index c9a550806..bce8bcb75 100644 --- a/misc/gitlab/template.yml.j2 +++ b/misc/gitlab/template.yml.j2 @@ -391,6 +391,11 @@ build-netlab: - cd netlab - sudo ./stop - sudo ./runtest -s v3 -m check $TEST_NAME + after_script: + - sudo ./stop + artifacts: + when: on_failure + untracked: true {% for test in netlab %} test-{{ test["name"] }}: