Add set -o errexit

This commit is contained in:
Daniel Albuquerque
2020-09-19 15:15:39 +01:00
parent 3b6302640f
commit 1a90392400
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -3,6 +3,8 @@
# This script runs e2e tests for when the canary analysis is skipped
# Prerequisites: Kubernetes Kind and Istio
set -o errexit
echo '>>> Initialising canary'
cat <<EOF | kubectl apply -f -
apiVersion: flagger.app/v1beta1
+2
View File
@@ -3,6 +3,8 @@
# This script runs e2e tests for Canary, B/G and A/B initialization, analysis and promotion
# Prerequisites: Kubernetes Kind and Istio
set -o errexit
echo '>>> Create latency metric template'
cat <<EOF | kubectl apply -f -
apiVersion: flagger.app/v1beta1