Skip to content
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

Add ci test to create clone from volume #574

Open
sinhaashish opened this issue Jul 29, 2024 · 0 comments
Open

Add ci test to create clone from volume #574

sinhaashish opened this issue Jul 29, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Need help from community contributors.

Comments

@sinhaashish
Copy link
Member

Describe the problem/challenge you have

The test to create the clone from snapshot is already present, on the very same line add code to test the clone from volume.
Refer https://github.com/openebs/zfs-localpv/blob/develop/docs/clone.md#create-clone-from-volume

Anything else you would like to add:
The test must achieve the below functionality

Scenario Outline: Create a clone from a
Given a storage class is created without any fstype as Raw block volume does not have any fstype
And a pvc with volumeMode as Bolck is created referencing this storage class
And a deployment is created using the same pvc
And a snapshot is be created for the corresponding
When the clone create command is run for this snapshot and a deployment is created to use this clone
Then the clone must be created from the snapshot and the created deployment must use the cloned volume
Examples:
| source |
| snapshot |
| volume |

Environment:

  • LocalPV-ZFS version
  • Kubernetes version (use kubectl version):
  • Kubernetes installer & version:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
@sinhaashish sinhaashish added help wanted Need help from community contributors. good first issue Good for newcomers labels Jul 29, 2024
@avishnu avishnu changed the title Add ci test to create clone form volume Add ci test to create clone from volume Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Need help from community contributors.
Projects
None yet
Development

No branches or pull requests

1 participant