Skip to content

Commit d46c008

Browse files
committed
test: run 1.21 external test suites
1 parent 6c5fce9 commit d46c008

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

test/external-e2e/run.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ install_ginkgo () {
2424
}
2525

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

31-
# install the csi driver smb
32-
mkdir -p /tmp/csi-smb && cp deploy/example/storageclass-smb.yaml /tmp/csi-smb/storageclass.yaml
31+
# install csi driver smb
32+
mkdir -p /tmp/csi && cp deploy/example/storageclass-smb.yaml /tmp/csi/storageclass.yaml
33+
sed -i 's/Retain/Delete/g' /tmp/csi/storageclass.yaml
3334
make e2e-bootstrap
3435
make install-smb-provisioner
3536
make create-metrics-svc

test/external-e2e/testdriver.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
ShortName: smb
55
StorageClass:
6-
FromFile: /tmp/csi-smb/storageclass.yaml
6+
FromFile: /tmp/csi/storageclass.yaml
77
DriverInfo:
88
Name: smb.csi.k8s.io
99
Capabilities:

0 commit comments

Comments
 (0)