Skip to content

Commit 0038bcb

Browse files
sheltoncyrilmwaykole
authored andcommitted
revert: switch gaussian credit model back to minio (opendatahub-io#885)
1 parent 6a3d55c commit 0038bcb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/model_explainability/trustyai_service/conftest.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
XGBOOST,
3535
TAI_DB_STORAGE_CONFIG,
3636
ISVC_GETTER,
37+
GAUSSIAN_CREDIT_MODEL_STORAGE_PATH,
38+
GAUSSIAN_CREDIT_MODEL,
3739
)
3840
from tests.model_explainability.trustyai_service.trustyai_service_utils import (
3941
wait_for_isvc_deployment_registered_by_trustyai_service,
@@ -288,7 +290,7 @@ def gaussian_credit_model(
288290
gaussian_credit_model_kwargs = {
289291
"client": admin_client,
290292
"namespace": model_namespace.name,
291-
"name": "models",
293+
"name": GAUSSIAN_CREDIT_MODEL,
292294
}
293295

294296
if pytestconfig.option.post_upgrade:
@@ -300,7 +302,8 @@ def gaussian_credit_model(
300302
deployment_mode=KServeDeploymentType.RAW_DEPLOYMENT,
301303
model_format=XGBOOST,
302304
runtime=mlserver_runtime.name,
303-
storage_uri="oci://quay.io/trustyai_testing/gaussian-credit-model-modelcar:latest",
305+
storage_key=minio_data_connection.name,
306+
storage_path=GAUSSIAN_CREDIT_MODEL_STORAGE_PATH,
304307
enable_auth=True,
305308
external_route=True,
306309
wait_for_predictor_pods=False,

0 commit comments

Comments
 (0)