diff --git a/test/scripts/openshift-ci/run-e2e-tests.sh b/test/scripts/openshift-ci/run-e2e-tests.sh index a5be2436359..f021d6d6db3 100755 --- a/test/scripts/openshift-ci/run-e2e-tests.sh +++ b/test/scripts/openshift-ci/run-e2e-tests.sh @@ -18,6 +18,10 @@ # like kustomize and the mc client are installed by the script if not available. # The oc CLI is assumed to be configured with the credentials of the # target cluster. The target cluster is assumed to be a clean cluster. +set -o errexit +set -o nounset +set -o pipefail + MY_PATH=$(dirname "$0") PROJECT_ROOT=$MY_PATH/../../../ diff --git a/test/scripts/openshift-ci/setup-e2e-tests.sh b/test/scripts/openshift-ci/setup-e2e-tests.sh index 3c7b7e7184e..4a30c8df39d 100755 --- a/test/scripts/openshift-ci/setup-e2e-tests.sh +++ b/test/scripts/openshift-ci/setup-e2e-tests.sh @@ -18,7 +18,9 @@ # like kustomize and the mc client are installed by the script if not available. # The oc CLI is assumed to be configured with the credentials of the # target cluster. The target cluster is assumed to be a clean cluster. -set -eu +set -o errexit +set -o nounset +set -o pipefail : "${SKLEARN_IMAGE:=kserve/sklearnserver:latest}" : "${KSERVE_CONTROLLER_IMAGE:=quay.io/opendatahub/kserve-controller:latest}" @@ -98,7 +100,7 @@ oc wait --for=condition=ready pod -l control-plane=kserve-controller-manager -n if [ "$1" != "raw" ]; then echo "Installing odh-model-controller" # authorino - curl -sL https://raw.githubusercontent.com/Kuadrant/authorino-operator/main/utils/install.sh | "s|kubectl|oc|" | + curl -sL https://raw.githubusercontent.com/Kuadrant/authorino-operator/main/utils/install.sh | sed "s|kubectl|oc|" | bash -s -- -v 0.16.0 # kserve-local-gateway