Skip to content

Commit

Permalink
Merge pull request #976 from weaveworks/add-set-e-to-local-e2e
Browse files Browse the repository at this point in the history
add set -e to the local e2e script
  • Loading branch information
Chanwit Kaewkasi authored Sep 14, 2023
2 parents 6c950fc + 3de9386 commit 55a2c42
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions local-e2e.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash

# Exit the script if any command fails
set -e

VERSION=e2e-$(git rev-parse --short HEAD)-$(if [[ $(git diff --stat) != '' ]]; then echo 'dirty'; else echo 'clean'; fi)

kind create cluster
Expand Down

0 comments on commit 55a2c42

Please sign in to comment.