code changes for E2E

update travis and makefile for functional test

skip docker pull if image is already present
on local machine.

if the image is not present locally  pull the
image from repo.

export kubeconfig in travis

build cephcsi image in travis job for
functional testing

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2019-05-29 15:32:16 +05:30
parent 5e04be9e1f
commit 9bb23e4e32
3 changed files with 13 additions and 4 deletions

View File

@ -32,6 +32,9 @@ static-check:
./scripts/lint-go.sh
./scripts/lint-text.sh
func-test:
go test github.com/ceph/ceph-csi/e2e $(TESTOPTIONS)
.PHONY: cephcsi
cephcsi:
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi