Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
fix(csi-sanity-tests): replace test repo with kubernetes-csi (#31)
Browse files Browse the repository at this point in the history
* fix(csi-sanity): replace repo with kubernetes-csi

jiva-csi repo was tested on a custom branch since
the test in csi-sanity was broken. Since the fix has
been merged in upstream, updating the repo name in ci.

Ref: kubernetes-csi/csi-test@8670b9a

Signed-off-by: Utkarsh <[email protected]>
  • Loading branch information
Utkarsh Mani Tripathi authored Oct 14, 2020
1 parent 5f1fd6f commit 416163b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 54 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
global:
- GOARCH=$(go env GOARCH)
- GOPATH=$(go env GOPATH)
- GOPROXY="https://gocenter.io,direct"
- GO_FOR_RELEASE=1.13
- CHANGE_MINIKUBE_NONE_USER=true
- MINIKUBE_WANTUPDATENOTIFICATION=false
Expand Down
6 changes: 3 additions & 3 deletions ci/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.

#set -ex
test_repo="utkarshmani1997"
test_repo="kubernetes-csi"

function initializeTestEnv() {
echo "===================== Initialize test env ======================"
Expand All @@ -28,7 +28,7 @@ function initializeTestEnv() {
"policy": "example-jivavolumepolicy"
}
EOT
sudo rm -rf /tmp/csi.sock
sudo rm -rf /tmp/csi.sock
sudo rm -rf /tmp/csi-mount
sudo rm -rf /tmp/csi-staging
}
Expand Down Expand Up @@ -96,7 +96,7 @@ function initializeCSISanitySuite() {
CSI_TEST_REPO=https://github.com/$test_repo/csi-test.git
CSI_REPO_PATH="$GOPATH/src/github.com/$test_repo/csi-test"
if [ ! -d "$CSI_REPO_PATH" ] ; then
git clone -b add-volume-param $CSI_TEST_REPO $CSI_REPO_PATH
git clone -b "v4.0.1" $CSI_TEST_REPO $CSI_REPO_PATH
else
cd "$CSI_REPO_PATH"
git pull $CSI_REPO_PATH
Expand Down
Loading

0 comments on commit 416163b

Please sign in to comment.