From aa45dd79b17b3ed0fe5f78db03d9456201a98510 Mon Sep 17 00:00:00 2001 From: Or Shoval Date: Mon, 27 Feb 2023 13:18:57 +0200 Subject: [PATCH] k3d: Skip cluster-down on CI e2e start It is not needed on CI because there is no cluster yet. On CI it will fail because it runs before k3d is installed. Signed-off-by: Or Shoval --- automation/test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/automation/test.sh b/automation/test.sh index f0b619c756a2..de7e05c57a72 100755 --- a/automation/test.sh +++ b/automation/test.sh @@ -239,7 +239,9 @@ export NAMESPACE="${NAMESPACE:-kubevirt}" # Make sure that the VM is properly shut down on exit trap '{ make cluster-down; }' EXIT SIGINT SIGTERM SIGSTOP -make cluster-down +if [ "$CI" != "true" ]; then + make cluster-down +fi # Create .bazelrc to use remote cache cat >ci.bazelrc <