-
Notifications
You must be signed in to change notification settings - Fork 554
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update travis to run func test against different kube version
updated travis to run functional tests against different kubernetes versions Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
- Loading branch information
Showing
3 changed files
with
28 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# This script will be used by travis to run functional test | ||
# against different kuberentes version | ||
export KUBE_VERSION=$1 | ||
sudo scripts/minikube.sh up | ||
# pull docker images to speed up e2e | ||
sudo scripts/minikube.sh cephcsi | ||
sudo scripts/minikube.sh k8s-sidecar | ||
sudo chown -R travis: "$HOME"/.minikube /usr/local/bin/kubectl | ||
# functional tests | ||
|
||
go test github.com/ceph/ceph-csi/e2e --rook-version=v1.0.1 --deploy-rook=true --deploy-timeout=10 -timeout=30m -v | ||
|
||
sudo scripts/minikube.sh clean |