Skip to content

Commit

Permalink
seprate creating dsc/dsci objects part from kustomization for e2e tes…
Browse files Browse the repository at this point in the history
…t to avoid timing issue

Signed-off-by: jooho lee <[email protected]>
  • Loading branch information
Jooho authored and Mariah Holder committed Dec 6, 2024
1 parent a7ebfbe commit 8198b20
Showing 1 changed file with 4 additions and 0 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 @@ -78,6 +78,10 @@ kustomize build $PROJECT_ROOT/config/overlays/test | \
sed "s|kserve/kserve-controller:latest|${KSERVE_CONTROLLER_IMAGE}|" | \
oc apply -f -

# Install DSC/DSCI for test. (sometimes there is timing issue when it is under the same kustomization so it is separated)
oc create -f config/overlays/test/dsci.yaml
oc create -f config/overlays/test/dsc.yaml

# Patch the inferenceservice-config ConfigMap, when running RawDeployment tests
if [ "$1" == "raw" ]; then
export OPENSHIFT_INGRESS_DOMAIN=$(oc get ingresses.config cluster -o jsonpath='{.spec.domain}')
Expand Down

0 comments on commit 8198b20

Please sign in to comment.