diff --git a/.github/workflows/kserve_ci_cpu.yml b/.github/workflows/kserve_ci_cpu.yml index a80c798089..2a732466ba 100644 --- a/.github/workflows/kserve_ci_cpu.yml +++ b/.github/workflows/kserve_ci_cpu.yml @@ -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 diff --git a/kubernetes/kserve/tests/scripts/test_mnist.sh b/kubernetes/kserve/tests/scripts/test_mnist.sh index bb5bc1559d..df2f159eaa 100755 --- a/kubernetes/kserve/tests/scripts/test_mnist.sh +++ b/kubernetes/kserve/tests/scripts/test_mnist.sh @@ -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..."