From e1dc84e1233607b41d55442c56e4e1376b771f42 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 28 Mar 2024 13:07:41 +0100 Subject: [PATCH] [fix-ci] CI: properly cleanup between garage integration tests --- .woodpecker/debug.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.woodpecker/debug.yaml b/.woodpecker/debug.yaml index 9e1443dc..51a8e14c 100644 --- a/.woodpecker/debug.yaml +++ b/.woodpecker/debug.yaml @@ -34,7 +34,9 @@ steps: - ./result/bin/garage_web-* - ./result/bin/garage-* - GARAGE_TEST_INTEGRATION_DB_ENGINE=sled ./result/bin/integration-* || (cat tmp-garage-integration/stderr.log; false) + - nix-shell --attr ci --run "killall -9 garage" || true - GARAGE_TEST_INTEGRATION_DB_ENGINE=lmdb ./result/bin/integration-* || (cat tmp-garage-integration/stderr.log; false) + - nix-shell --attr ci --run "killall -9 garage" || true - GARAGE_TEST_INTEGRATION_DB_ENGINE=sqlite ./result/bin/integration-* || (cat tmp-garage-integration/stderr.log; false) - rm result - rm -rv tmp-garage-integration