Skip to content

Commit e56fa7f

Browse files
authored
Merge pull request #40 from sbezverk/csi_0.2.0_breaking_changes
CSI 0.2.0 breaking changes
2 parents 54117f8 + a01f452 commit e56fa7f

File tree

9 files changed

+339
-417
lines changed

9 files changed

+339
-417
lines changed

Gopkg.lock

+9-111
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
[[constraint]]
2929
name = "github.com/container-storage-interface/spec"
30-
version = "0.1.0"
30+
branch = "master"
3131

3232
[[constraint]]
3333
name = "github.com/golang/mock"

driver/driver.mock.go

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hack/e2e.sh

+11-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ UDS="/tmp/e2e-csi-sanity.sock"
55
CSI_ENDPOINTS="127.0.0.1:9998"
66
CSI_ENDPOINTS="$CSI_ENDPOINTS unix://${UDS}"
77
CSI_ENDPOINTS="$CSI_ENDPOINTS ${UDS}"
8+
CSI_MOCK_VERSION="support/csi-0.2.0"
89

910
#
1011
# $1 - endpoint for mock.
@@ -23,7 +24,16 @@ runTest()
2324
fi
2425
}
2526

26-
go get -u github.com/thecodeteam/gocsi/mock
27+
#
28+
# TODO Once 0.2.0 change gets merged into gocsi repo, switch back to "go get"
29+
#
30+
git clone https://github.com/thecodeteam/gocsi $GOPATH/src/github.com/thecodeteam/gocsi
31+
pushd $GOPATH/src/github.com/thecodeteam/gocsi
32+
git checkout $CSI_MOCK_VERSION
33+
make build
34+
popd
35+
#
36+
#go get -u github.com/thecodeteam/gocsi/mock
2737
cd cmd/csi-sanity
2838
make clean install || exit 1
2939
cd ../..

0 commit comments

Comments
 (0)