Skip to content

Commit

Permalink
k3d: Skip cluster-down on CI e2e start
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
oshoval committed Mar 20, 2023
1 parent 1760d04 commit aa45dd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion automation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF
Expand Down

0 comments on commit aa45dd7

Please sign in to comment.