From: Maria Matejka Date: Thu, 22 May 2025 15:57:00 +0000 (+0200) Subject: Gitlab: fix cleanup after failed netlab X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7656bff906a2cf35f4bd054f46cf31fc671a38bf;p=thirdparty%2Fbird.git Gitlab: fix cleanup after failed netlab I forgot to add cd command to move to the right directory. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3b28907f2..49ddcb24b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1122,6 +1122,7 @@ build-netlab: - sudo ./stop - sudo ./runtest -s v2 -m check $TEST_NAME after_script: + - cd $TOOLS_DIR/netlab - sudo ./stop artifacts: when: on_failure diff --git a/misc/gitlab/template.yml.j2 b/misc/gitlab/template.yml.j2 index 5bb5a6b79..046be964f 100644 --- a/misc/gitlab/template.yml.j2 +++ b/misc/gitlab/template.yml.j2 @@ -392,6 +392,7 @@ build-netlab: - sudo ./stop - sudo ./runtest -s v2 -m check $TEST_NAME after_script: + - cd $TOOLS_DIR/netlab - sudo ./stop artifacts: when: on_failure