Skip to content

Commit

Permalink
Merge pull request #493 from hdefazio/fix/sed-typo
Browse files Browse the repository at this point in the history
Fix typo in sed command + Add shell options to scripts
  • Loading branch information
hdefazio authored Feb 20, 2025
2 parents 9b0bdcc + cb98a79 commit 4e3f485
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions test/scripts/openshift-ci/run-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/../../../

Expand Down
6 changes: 4 additions & 2 deletions test/scripts/openshift-ci/setup-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4e3f485

Please sign in to comment.