mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 00:10:20 +00:00
ci: Update travis functional tests
Updated travis functional tests to install snapshot-controller for E2E Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
c533d0125a
commit
13438e8369
@ -10,8 +10,11 @@ sudo scripts/minikube.sh create-block-pool
|
||||
# pull docker images to speed up e2e
|
||||
sudo scripts/minikube.sh cephcsi
|
||||
sudo scripts/minikube.sh k8s-sidecar
|
||||
# install snapshot controller
|
||||
scripts/install-snapshot.sh install
|
||||
sudo chown -R travis: "$HOME"/.minikube /usr/local/bin/kubectl
|
||||
# functional tests
|
||||
go test github.com/ceph/ceph-csi/e2e --deploy-timeout=10 -timeout=30m --cephcsi-namespace=cephcsi-e2e-$RANDOM -v -mod=vendor
|
||||
|
||||
scripts/install-snapshot.sh cleanup
|
||||
sudo scripts/minikube.sh clean
|
||||
|
@ -15,6 +15,8 @@ sudo chown -R travis: "$HOME"/.minikube /usr/local/bin/kubectl
|
||||
NAMESPACE=cephcsi-e2e-$RANDOM
|
||||
# create ns for e2e
|
||||
kubectl create ns ${NAMESPACE}
|
||||
# install snapshot controller
|
||||
scripts/install-snapshot.sh install
|
||||
# set up helm
|
||||
scripts/install-helm.sh up
|
||||
# install cephcsi helm charts
|
||||
@ -23,6 +25,7 @@ scripts/install-helm.sh install-cephcsi ${NAMESPACE}
|
||||
go test github.com/ceph/ceph-csi/e2e -mod=vendor --deploy-timeout=10 -timeout=30m --cephcsi-namespace=${NAMESPACE} --deploy-cephfs=false --deploy-rbd=false -v
|
||||
|
||||
#cleanup
|
||||
scripts/install-snapshot.sh cleanup
|
||||
scripts/install-helm.sh cleanup-cephcsi ${NAMESPACE}
|
||||
scripts/install-helm.sh clean
|
||||
kubectl delete ns ${NAMESPACE}
|
||||
|
Loading…
Reference in New Issue
Block a user