Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
harishp8889 committed Dec 20, 2024
1 parent a892d43 commit b9fecc9
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion tests/e2e/testfiles/minimal-testfiles/scenarios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# cleanup
- "Enable forceRemoveDriver on CR [1]"
- "Delete custom resource [1]"
- "Validate [powerstore] driver from CR [1] is not installed"
- "Restore template [testfiles/powerstore-templates/powerstore-secret-template.yaml] for [pstore]"
- "Restore template [testfiles/powerstore-templates/powerstore-storageclass-template.yaml] for [pstore]"
customTest:
Expand All @@ -41,6 +42,8 @@
# cleanup
- "Enable forceRemoveDriver on CR [1]"
- "Delete custom resource [1]"
- "Validate [powerstore] driver from CR [1] is not installed"
- "Validate [resiliency] module from CR [1] is not installed"
- "Restore template [testfiles/powerstore-templates/powerstore-secret-template.yaml] for [pstore]"
- "Restore template [testfiles/powerstore-templates/powerstore-storageclass-template.yaml] for [pstore]"
customTest:
Expand Down Expand Up @@ -71,6 +74,7 @@
# cleanup
- "Enable forceRemoveDriver on CR [1]"
- "Delete custom resource [1]"
- "Validate [powerstore] driver from CR [1] is not installed"
- "Restore template [testfiles/powerstore-templates/powerstore-secret-template.yaml] for [pstore]"
- "Restore template [testfiles/powerstore-templates/powerstore-storageclass-template.yaml] for [pstore]"

Expand All @@ -91,6 +95,7 @@
# cleanup
- "Enable forceRemoveDriver on CR [1]"
- "Delete custom resource [1]"
- "Validate [powerstore] driver from CR [1] is not installed"
- "Restore template [testfiles/powerstore-templates/powerstore-secret-template.yaml] for [pstore]"
- "Restore template [testfiles/powerstore-templates/powerstore-storageclass-template.yaml] for [pstore]"
customTest:
Expand Down Expand Up @@ -119,6 +124,7 @@
- "Validate custom resource [1]"
- "Enable forceRemoveDriver on CR [1]"
- "Delete custom resource [1]"
- "Validate [powerstore] driver from CR [1] is not installed"
- "Restore template [testfiles/powerstore-templates/powerstore-secret-template.yaml] for [pstore]"
- "Restore template [testfiles/powerstore-templates/powerstore-storageclass-template.yaml] for [pstore]"
customTest:
Expand All @@ -142,6 +148,7 @@
# cleanup
- "Enable forceRemoveDriver on CR [1]"
- "Delete custom resource [1]"
- "Validate [unity] driver from CR [1] is not installed"
- "Restore template [testfiles/unity-templates/unity-secret-template.yaml] for [unity]"
- "Restore template [testfiles/unity-templates/unity-storageclass-template.yaml] for [unity]"
customTest:
Expand Down Expand Up @@ -170,6 +177,7 @@
- "Validate custom resource [1]"
- "Enable forceRemoveDriver on CR [1]"
- "Delete custom resource [1]"
- "Validate [unity] driver from CR [1] is not installed"
- "Restore template [testfiles/unity-templates/unity-secret-template.yaml] for [unity]"
- "Restore template [testfiles/unity-templates/unity-storageclass-template.yaml] for [unity]"
customTest:
Expand All @@ -194,6 +202,7 @@
# cleanup
- "Enable forceRemoveDriver on CR [1]"
- "Delete custom resource [1]"
- "Validate [unity] driver from CR [1] is not installed"
- "Restore template [testfiles/unity-templates/unity-secret-template.yaml] for [unity]"
- "Restore template [testfiles/unity-templates/unity-storageclass-template.yaml] for [unity]"
customTest:
Expand All @@ -218,6 +227,7 @@
# cleanup
- "Enable forceRemoveDriver on CR [1]"
- "Delete custom resource [1]"
- "Validate [powerflex] driver from CR [1] is not installed"
- "Restore template [testfiles/powerflex-templates/powerflex-secret-template.yaml] for [pflex]"
- "Restore template [testfiles/powerflex-templates/powerflex-storageclass-template.yaml] for [pflex]"
customTest:
Expand All @@ -242,6 +252,7 @@
# cleanup
- "Enable forceRemoveDriver on CR [1]"
- "Delete custom resource [1]"
- "Validate [powerflex] driver from CR [1] is not installed"
- "Restore template [testfiles/powerflex-templates/powerflex-secret-template.yaml] for [pflex]"
- "Restore template [testfiles/powerflex-templates/powerflex-storageclass-template.yaml] for [pflex]"
customTest:
Expand All @@ -254,7 +265,6 @@
- "testfiles/minimal-testfiles/storage_csm_powerflex_with_false_forceRemoveDriver.yaml"
tags:
- "powerflex"

steps:
- "Given an environment with k8s or openshift, and CSM operator installed"
- "Create storageclass with name [op-e2e-vxflexos] and template [testfiles/powerflex-templates/powerflex-storageclass-template.yaml] for [pflex]"
Expand Down Expand Up @@ -297,6 +307,8 @@
# cleanup
- "Enable forceRemoveDriver on CR [1]"
- "Delete custom resource [1]"
- "Validate [powerflex] driver from CR [1] is not installed"
- "Validate [resiliency] module from CR [1] is not installed"
customTest:
- name: CustomTest
run:
Expand Down Expand Up @@ -324,6 +336,7 @@
# cleanup
- "Enable forceRemoveDriver on CR [1]"
- "Delete custom resource [1]"
- "Validate [powerflex] driver from CR [1] is not installed"
- scenario: "Install PowerFlex Driver (Minimal, With Authorization V2)"
paths:
- "testfiles/authorization-templates/storage_csm_authorization_v2_proxy_server.yaml"
Expand Down

0 comments on commit b9fecc9

Please sign in to comment.