-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: add support for VM_DRIVER=podman to scripts/minikube.sh #3420
Changes from all commits
1937d91
41df719
53e1742
946b73f
29b0aca
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1047,6 +1047,12 @@ var _ = Describe("RBD", func() { | |
}) | ||
|
||
By("create a PVC and bind it to an app using rbd-nbd mounter", func() { | ||
if !testNBD { | ||
e2elog.Logf("skipping NBD test") | ||
|
||
return | ||
} | ||
|
||
err := deleteResource(rbdExamplePath + "storageclass.yaml") | ||
if err != nil { | ||
e2elog.Failf("failed to delete storageclass: %v", err) | ||
|
@@ -1083,6 +1089,12 @@ var _ = Describe("RBD", func() { | |
}) | ||
|
||
By("Resize rbd-nbd PVC and check application directory size", func() { | ||
if !testNBD { | ||
e2elog.Logf("skipping NBD test") | ||
|
||
return | ||
} | ||
|
||
if util.CheckKernelSupport(kernelRelease, nbdResizeSupport) { | ||
err := deleteResource(rbdExamplePath + "storageclass.yaml") | ||
if err != nil { | ||
|
@@ -1290,6 +1302,12 @@ var _ = Describe("RBD", func() { | |
|
||
By("create PVC with journaling,fast-diff image-features and bind it to an app using rbd-nbd mounter", | ||
func() { | ||
if !testNBD { | ||
e2elog.Logf("skipping NBD test") | ||
|
||
return | ||
} | ||
|
||
if util.CheckKernelSupport(kernelRelease, fastDiffSupport) { | ||
err := deleteResource(rbdExamplePath + "storageclass.yaml") | ||
if err != nil { | ||
|
@@ -1330,6 +1348,12 @@ var _ = Describe("RBD", func() { | |
// NOTE: RWX is restricted for FileSystem VolumeMode at ceph-csi, | ||
// see pull#261 for more details. | ||
By("Create RWX+Block Mode PVC and bind to multiple pods via deployment using rbd-nbd mounter", func() { | ||
if !testNBD { | ||
e2elog.Logf("skipping NBD test") | ||
|
||
return | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. return will skip all the tests or only this test? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It returns from the current function, so it should continue with the next test. The |
||
} | ||
|
||
err := deleteResource(rbdExamplePath + "storageclass.yaml") | ||
if err != nil { | ||
e2elog.Failf("failed to delete storageclass: %v", err) | ||
|
@@ -1415,6 +1439,12 @@ var _ = Describe("RBD", func() { | |
}) | ||
|
||
By("Create ROX+FS Mode PVC and bind to multiple pods via deployment using rbd-nbd mounter", func() { | ||
if !testNBD { | ||
e2elog.Logf("skipping NBD test") | ||
|
||
return | ||
} | ||
|
||
err := deleteResource(rbdExamplePath + "storageclass.yaml") | ||
if err != nil { | ||
e2elog.Failf("failed to delete storageclass: %v", err) | ||
|
@@ -1540,6 +1570,12 @@ var _ = Describe("RBD", func() { | |
}) | ||
|
||
By("Create ROX+Block Mode PVC and bind to multiple pods via deployment using rbd-nbd mounter", func() { | ||
if !testNBD { | ||
e2elog.Logf("skipping NBD test") | ||
|
||
return | ||
} | ||
|
||
err := deleteResource(rbdExamplePath + "storageclass.yaml") | ||
if err != nil { | ||
e2elog.Failf("failed to delete storageclass: %v", err) | ||
|
@@ -1666,6 +1702,12 @@ var _ = Describe("RBD", func() { | |
}) | ||
|
||
By("perform IO on rbd-nbd volume after nodeplugin restart", func() { | ||
if !testNBD { | ||
e2elog.Logf("skipping NBD test") | ||
|
||
return | ||
} | ||
|
||
err := deleteResource(rbdExamplePath + "storageclass.yaml") | ||
if err != nil { | ||
e2elog.Failf("failed to delete storageclass: %v", err) | ||
|
@@ -1830,6 +1872,12 @@ var _ = Describe("RBD", func() { | |
}) | ||
|
||
By("create a PVC and bind it to an app using rbd-nbd mounter with encryption", func() { | ||
if !testNBD { | ||
e2elog.Logf("skipping NBD test") | ||
|
||
return | ||
} | ||
|
||
err := deleteResource(rbdExamplePath + "storageclass.yaml") | ||
if err != nil { | ||
e2elog.Failf("failed to delete storageclass: %v", err) | ||
|
@@ -2199,6 +2247,12 @@ var _ = Describe("RBD", func() { | |
By( | ||
"create a PVC and Bind it to an app with journaling/exclusive-lock image-features and rbd-nbd mounter", | ||
func() { | ||
if !testNBD { | ||
e2elog.Logf("skipping NBD test") | ||
|
||
return | ||
} | ||
|
||
err := deleteResource(rbdExamplePath + "storageclass.yaml") | ||
if err != nil { | ||
e2elog.Failf("failed to delete storageclass: %v", err) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logging pvc name along with namespace name helps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that is included in already existing logs at the start of this sub-function