Skip to content

Commit

Permalink
updated istio download url (kubeflow#1959)
Browse files Browse the repository at this point in the history
* updated istio download url

Signed-off-by: Suresh Nakkeran <suresh.n@ideas2it.com>

* update boto3 to 1.20.24

Signed-off-by: Dan Sun <dsun20@bloomberg.net>

Co-authored-by: Dan Sun <dsun20@bloomberg.net>
  • Loading branch information
Suresh-Nakkeran and yuzisun authored Dec 23, 2021
1 parent dd4eeb7 commit 36b0b69
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
2 changes: 1 addition & 1 deletion hack/quick_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ echo ${KUBE_VERSION:43:2}

if [ ${KUBE_VERSION:43:2} -gt 20 ]; then export ISTIO_VERSION=1.10.3; export KNATIVE_VERSION=v0.23.2; fi

curl -L https://git.io/getLatestIstio | sh -
curl -L https://istio.io/downloadIstio | sh -
cd istio-${ISTIO_VERSION}

# Create istio-system namespace
Expand Down
3 changes: 1 addition & 2 deletions python/kserve/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ azure-storage-blob==12.8.1
azure-identity>=1.6.0
cloudevents>=1.2.0
avro>=1.10.1
boto3==1.18.18
botocore==1.21.18
boto3==1.20.24
psutil>=5.0
ray[serve]==1.9.0
grpcio>=1.34.0
Expand Down
1 change: 1 addition & 0 deletions python/kserve/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

TESTS_REQUIRES = [
'pytest',
'pytest-xdist',
'pytest-cov',
'pytest-asyncio',
'pytest-tornasync',
Expand Down
19 changes: 7 additions & 12 deletions test/scripts/run-e2e-tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright 2019 The Kubeflow Authors.
# Copyright 2021 The KServe Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -45,7 +45,7 @@ curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack
echo "Install istio ..."
mkdir istio_tmp
pushd istio_tmp >/dev/null
curl -L https://git.io/getLatestIstio | ISTIO_VERSION=${ISTIO_VERSION} sh -
curl -L https://istio.io/downloadIstio | ISTIO_VERSION=${ISTIO_VERSION} sh -
cd istio-${ISTIO_VERSION}
export PATH=$PWD/bin:$PATH
istioctl operator init
Expand Down Expand Up @@ -115,7 +115,7 @@ kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/relea
echo "Waiting for cert manager started ..."
kubectl wait --for=condition=ready pod -l 'app in (cert-manager,webhook)' --timeout=180s -n cert-manager

echo "Install KFServing ..."
echo "Install KServe ..."
export GOPATH="$HOME/go"
export PATH="${PATH}:${GOPATH}/bin"

Expand All @@ -126,24 +126,19 @@ sed -i -e "s/latest/${PULL_BASE_SHA}/g" config/overlays/test/runtimes/kustomizat
sed -i -e "s/latest/${PULL_BASE_SHA}/g" config/overlays/test/manager_image_patch.yaml
make deploy-ci

echo "Waiting for KFServing started ..."
echo "Waiting for KServe started ..."
kubectl wait --for=condition=Ready pods --all --timeout=180s -n kserve
kubectl get events -A

echo "Creating a namespace kserve-ci-test ..."
kubectl create namespace kserve-ci-e2e-test

echo "Istio, Knative and KFServing have been installed and started."
echo "Istio, Knative and KServe have been installed and started."

echo "Installing KFServing Python SDK ..."
echo "Installing KServe Python SDK ..."
python3 -m pip install --upgrade pip
pip3 install pytest==6.0.2 pytest-xdist pytest-rerunfailures
pip3 install --upgrade pytest-tornasync
pip3 install urllib3==1.24.2
pip3 install --upgrade setuptools
pushd python/kserve >/dev/null
pip3 install -r requirements.txt
python3 setup.py install --force --user
pip3 install -e .[test] --user
popd

echo "Starting E2E functional tests ..."
Expand Down

0 comments on commit 36b0b69

Please sign in to comment.