Skip to content

Commit

Permalink
kserve ci
Browse files Browse the repository at this point in the history
  • Loading branch information
agunapal committed Oct 23, 2023
1 parent dd2f429 commit c3c44b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/kserve_ci_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
- run: pwd
- run: ls
- name: Test model running in k8s cluster with sample image data
run: ./kubernetes/kserve/tests/scripts/test_mnist.sh
run: ./kubernetes/kserve/tests/scripts/test_mnist.sh /home/runner/work
6 changes: 4 additions & 2 deletions kubernetes/kserve/tests/scripts/test_mnist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ minikube start

echo "Install kserve"

cd $GITHUB_WORKSPACE/kserve
$ROOT_DIR=$1

cd $ROOT_DIR/kserve/kserve
./hack/quick_install.sh
echo "Waiting 5s for kserve pod to come up ..."
sleep 5

echo "Deploy the cluster"

cd $GITHUB_WORKSPACE/serve
cd $ROOT_DIR/serve/serve
kubectl apply -f kubernetes/kserve/tests/configs/mnist_v2_cpu.yaml

echo "Waiting 120s for pods to come up..."
Expand Down

0 comments on commit c3c44b8

Please sign in to comment.