]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Gitlab: fix cleanup after failed netlab
authorMaria Matejka <mq@ucw.cz>
Thu, 22 May 2025 15:57:00 +0000 (17:57 +0200)
committerMaria Matejka <mq@ucw.cz>
Thu, 22 May 2025 15:57:00 +0000 (17:57 +0200)
I forgot to add cd command to move to the right directory.

.gitlab-ci.yml
misc/gitlab/template.yml.j2

index 3b28907f2683345c3a8aca7bc34be805e1995717..49ddcb24b918400efbc47a8f52aad5663c70fd71 100644 (file)
@@ -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
index 5bb5a6b797c2ae7a76cb353b167080fd3cf81c81..046be964fc1c66adef3baef01c2083ce57da9660 100644 (file)
@@ -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