Skip to content

Commit 35db95a

Browse files
mholder6hdefazioJooho
authored
Synced the master branch to the release branch for ODH release v2.22 (#450)
* Use odh-model-controller incubating branch (#443) * seprate creating dsc/dsci objects part from kustomization for e2e test to avoid timing issue Signed-off-by: jooho lee <[email protected]> --------- Signed-off-by: jooho lee <[email protected]> Co-authored-by: Hannah DeFazio <[email protected]> Co-authored-by: jooho lee <[email protected]>
1 parent 8efd3c8 commit 35db95a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

test/scripts/openshift-ci/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

44
resources:
5-
- github.com/opendatahub-io/odh-model-controller/config/base?ref=main
5+
- github.com/opendatahub-io/odh-model-controller/config/base?ref=incubating
66

7-
namespace: kserve
7+
namespace: kserve

test/scripts/openshift-ci/run-e2e-tests.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ kustomize build $PROJECT_ROOT/config/overlays/test |
7777
sed "s|kserve/kserve-controller:latest|${KSERVE_CONTROLLER_IMAGE}|" |
7878
oc apply --server-side=true -f -
7979

80+
# Install DSC/DSCI for test. (sometimes there is timing issue when it is under the same kustomization so it is separated)
81+
oc create -f config/overlays/test/dsci.yaml
82+
oc create -f config/overlays/test/dsc.yaml
83+
8084
# Patch the inferenceservice-config ConfigMap, when running RawDeployment tests
8185
if [ "$1" == "raw" ]; then
8286
export OPENSHIFT_INGRESS_DOMAIN=$(oc get ingresses.config cluster -o jsonpath='{.spec.domain}')

0 commit comments

Comments
 (0)