Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/model_catalog_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -euxo pipefail

(
cd applications/model-registry/upstream/options/catalog
cd applications/model-registry/upstream/options/catalog/base
kustomize build . | kubectl apply -n kubeflow -f -
)

Expand Down
6 changes: 3 additions & 3 deletions tests/model_catalog_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ if ! kubectl get deployment/model-catalog-server -n kubeflow; then
exit 1
fi

if ! kubectl get svc/model-catalog-model-catalog-service -n kubeflow; then
if ! kubectl get svc/model-catalog -n kubeflow; then
echo "ERROR: Model Catalog service not found"
exit 1
fi

kubectl get pods -n kubeflow -l component=model-catalog-server
kubectl get pods -n kubeflow -l app.kubernetes.io/name=model-catalog,app.kubernetes.io/component=server

nohup kubectl port-forward svc/model-catalog-model-catalog-service -n kubeflow 8082:8080 &
nohup kubectl port-forward svc/model-catalog -n kubeflow 8082:8080 &
PORT_FORWARD_PID=$!

MAX_RETRIES=30
Expand Down
Loading