Skip to content

Commit

Permalink
test: run external e2e test using 1.21 suites
Browse files Browse the repository at this point in the history
run on 1.20

run on 1.21
  • Loading branch information
andyzhangx committed May 24, 2021
1 parent 02dc875 commit e818712
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/external-e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ install_ginkgo () {
}

setup_e2e_binaries() {
# download k8s external e2e binary for kubernetes v1.19
curl -sL https://storage.googleapis.com/kubernetes-release/release/v1.19.0/kubernetes-test-linux-amd64.tar.gz --output e2e-tests.tar.gz
# download k8s external e2e binary for kubernetes v1.21
curl -sL https://storage.googleapis.com/kubernetes-release/release/v1.21.0/kubernetes-test-linux-amd64.tar.gz --output e2e-tests.tar.gz
tar -xvf e2e-tests.tar.gz && rm e2e-tests.tar.gz

# install the csi driver nfs
mkdir -p /tmp/csi-nfs && cp deploy/example/storageclass-nfs.yaml /tmp/csi-nfs/storageclass.yaml
mkdir -p /tmp/csi && cp deploy/example/storageclass-nfs.yaml /tmp/csi/storageclass.yaml
make e2e-bootstrap
make install-nfs-server
}
Expand Down
2 changes: 1 addition & 1 deletion test/external-e2e/testdriver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://github.com/kubernetes/kubernetes/tree/master/test/e2e/storage/external

StorageClass:
FromFile: /tmp/csi-nfs/storageclass.yaml
FromFile: /tmp/csi/storageclass.yaml
DriverInfo:
Name: nfs.csi.k8s.io
Capabilities:
Expand Down

0 comments on commit e818712

Please sign in to comment.