mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
Fresh dep ensure
This commit is contained in:
11
vendor/github.com/kubernetes-csi/drivers/hack/e2e-hostpath.sh
generated
vendored
11
vendor/github.com/kubernetes-csi/drivers/hack/e2e-hostpath.sh
generated
vendored
@ -14,18 +14,11 @@ APP=hostpathplugin
|
||||
|
||||
SKIP="WithCapacity"
|
||||
if [ x${TRAVIS} = x"true" ] ; then
|
||||
SKIP="WithCapacity|NodeUnpublishVolume|NodePublishVolume"
|
||||
SKIP="ValidateVolumeCapabilities"
|
||||
fi
|
||||
|
||||
# Get csi-sanity
|
||||
if [ ! -x $GOPATH/bin/csi-sanity ] ; then
|
||||
go get -u github.com/kubernetes-csi/csi-test
|
||||
pushd $GOPATH/src/github.com/kubernetes-csi/csi-test/cmd/csi-sanity
|
||||
make all
|
||||
make install
|
||||
popd
|
||||
#./hack/get-sanity.sh
|
||||
fi
|
||||
./hack/get-sanity.sh
|
||||
|
||||
# Build
|
||||
make hostpath
|
||||
|
19
vendor/github.com/kubernetes-csi/drivers/hack/get-sanity.sh
generated
vendored
19
vendor/github.com/kubernetes-csi/drivers/hack/get-sanity.sh
generated
vendored
@ -1,15 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
VERSION="v0.1.0-2"
|
||||
VERSION="v1.0.0-rc2"
|
||||
SANITYTGZ="csi-sanity-${VERSION}.linux.amd64.tar.gz"
|
||||
|
||||
if [ ! -x $GOPATH/bin/csi-sanity ] ; then
|
||||
curl -s -L \
|
||||
https://github.com/kubernetes-csi/csi-test/releases/download/${VERSION}/${SANITYTGZ} \
|
||||
-o ${SANITYTGZ} && \
|
||||
tar xzvf ${SANITYTGZ} -C /tmp && \
|
||||
rm -f ${SANITYTGZ} && \
|
||||
cp /tmp/csi-sanity/csi-sanity $GOPATH/bin/csi-sanity && \
|
||||
rm -rf /tmp/csi-sanity
|
||||
fi
|
||||
|
||||
echo "Downloading csi-test from https://github.com/kubernetes-csi/csi-test/releases/download/${VERSION}/${SANITYTGZ}"
|
||||
curl -s -L "https://github.com/kubernetes-csi/csi-test/releases/download/${VERSION}/${SANITYTGZ}" -o ${SANITYTGZ}
|
||||
tar xzvf ${SANITYTGZ} -C /tmp && \
|
||||
rm -f ${SANITYTGZ} && \
|
||||
rm -f $GOPATH/bin/csi-sanity
|
||||
cp /tmp/csi-sanity/csi-sanity $GOPATH/bin/csi-sanity && \
|
||||
rm -rf /tmp/csi-sanity
|
||||
|
Reference in New Issue
Block a user