Skip to content

Commit

Permalink
Merge pull request kubernetes-csi#40 from sbezverk/csi_0.2.0_breaking…
Browse files Browse the repository at this point in the history
…_changes

CSI 0.2.0 breaking changes
  • Loading branch information
lpabon authored Feb 9, 2018
2 parents c15f2a6 + 237e427 commit f333b2e
Show file tree
Hide file tree
Showing 9 changed files with 339 additions and 417 deletions.
120 changes: 9 additions & 111 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

[[constraint]]
name = "github.com/container-storage-interface/spec"
version = "0.1.0"
branch = "master"

[[constraint]]
name = "github.com/golang/mock"
Expand Down
14 changes: 7 additions & 7 deletions driver/driver.mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion hack/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ UDS="/tmp/e2e-csi-sanity.sock"
CSI_ENDPOINTS="127.0.0.1:9998"
CSI_ENDPOINTS="$CSI_ENDPOINTS unix://${UDS}"
CSI_ENDPOINTS="$CSI_ENDPOINTS ${UDS}"
CSI_MOCK_VERSION="support/csi-0.2.0"

#
# $1 - endpoint for mock.
Expand All @@ -23,7 +24,16 @@ runTest()
fi
}

go get -u github.com/thecodeteam/gocsi/mock
#
# TODO Once 0.2.0 change gets merged into gocsi repo, switch back to "go get"
#
git clone https://github.com/thecodeteam/gocsi $GOPATH/src/github.com/thecodeteam/gocsi
pushd $GOPATH/src/github.com/thecodeteam/gocsi
git checkout $CSI_MOCK_VERSION
make build
popd
#
#go get -u github.com/thecodeteam/gocsi/mock
cd cmd/csi-sanity
make clean install || exit 1
cd ../..
Expand Down
Loading

0 comments on commit f333b2e

Please sign in to comment.