-
Notifications
You must be signed in to change notification settings - Fork 34
Add basic E2E testing for the csi driver #257
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
Conversation
a10481b to
fbe5307
Compare
1bba10f to
9d148c5
Compare
|
Better to add a concurrency control to the test action as it's running for 40 min and do we need any knob to specifically skip the e2e? I'll approve after that. |
These are more of an enhancement which we can work on like skipping for some scripts and also some other changes like document, is this what you mean? We dont have automation to merge it PR, its still manual and maintainers can still do it. |
provide an option in the value.yaml to conditionally deploy the required drivers as per user requirement. Signed-off-by: Madhu Rajanna <[email protected]>
These are the required yamls for testing for cephcsi drivers using the kubernetes e2e tests. This help us to test the basic functionality for the csi driver. Signed-off-by: Madhu Rajanna <[email protected]>
This is a github action to test the basic cephfs/nfs/rbd functionility using the standard kubernetes e2e tests. The idea is borrowed from the ceph-csi repo https://github.com/ceph/ceph-csi/tree/devel/scripts/k8s-storage Signed-off-by: Madhu Rajanna <[email protected]>
we need to have blockpool, filesystem and the nfs to be created to test the pvc workflow. Signed-off-by: Madhu Rajanna <[email protected]>
updating template version from alpha to v1 as its the latest. Signed-off-by: Madhu Rajanna <[email protected]>
Currently we are building image with latest tag and kubernetes will try to pull the image from the quay as its a latest image, using different image tag for testing local built image. Signed-off-by: Madhu Rajanna <[email protected]>
add osd name to the function and also for logging. Signed-off-by: Madhu Rajanna <[email protected]>
its called as enableSeLinuxHostMount in the spec field not EnableSeLinuxHostMount. Signed-off-by: Madhu Rajanna <[email protected]>
we need to install snapshot controller and its CRD to test the snapshot functionality Signed-off-by: Madhu Rajanna <[email protected]>
install snapshot controller and its CRD in the action. Signed-off-by: Madhu Rajanna <[email protected]>
update the app label of the operator to fetch the right logs. Signed-off-by: Madhu Rajanna <[email protected]>
updating the ceph-csi image to v3.14.1 where we have fix for NFS issue. Signed-off-by: Madhu Rajanna <[email protected]>
This PR contains below changes to have basic e2e testing to test the csi driver, The idea is borrowed from cephcsi where we have similar tests