k8s-csi-s3/test/test.sh

11 lines
300 B
Bash
Raw Normal View History

2018-07-14 08:48:22 +00:00
#!/usr/bin/env bash
export MINIO_ACCESS_KEY=FJDSJ
export MINIO_SECRET_KEY=DSG643HGDS
mkdir -p /tmp/minio
minio server --quiet /tmp/minio &>/dev/null &
2018-07-14 08:48:22 +00:00
sleep 5
cd $GOPATH/src/github.com/ctrox/csi-s3
if [ ! -d ./vendor ]; then dep ensure -vendor-only; fi
2018-07-29 12:49:35 +00:00
go test github.com/ctrox/csi-s3/pkg/s3 -cover