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 committed Dec 4, 2024
1 parent ca82f16 commit 8074cae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config/overlays/test/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ resources:
- ../../crd/external
- ../../default
- minio
- dsci.yaml
- dsc.yaml

patches:
- path: configmap/inferenceservice.yaml
Expand Down
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 @@ -77,6 +77,10 @@ kustomize build $PROJECT_ROOT/config/overlays/test |
sed "s|kserve/kserve-controller:latest|${KSERVE_CONTROLLER_IMAGE}|" |
oc apply --server-side=true -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 8074cae

Please sign in to comment.