mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
e2e: provide an option if tests run on helm deployment
add an e2eArg `helmTest` to specify if tests are running on ceph-csi deployment via helm. For testing in CI, Storageclass and secret deployment is enabled on helm installation. Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
parent
eeec4471c5
commit
a4548c3983
@ -22,6 +22,7 @@ func init() {
|
||||
flag.BoolVar(&deployRBD, "deploy-rbd", true, "deploy rbd csi driver")
|
||||
flag.BoolVar(&testCephFS, "test-cephfs", true, "test cephfs csi driver")
|
||||
flag.BoolVar(&testRBD, "test-rbd", true, "test rbd csi driver")
|
||||
flag.BoolVar(&helmTest, "helm-test", false, "tests running on deployment via helm")
|
||||
flag.BoolVar(&upgradeTesting, "upgrade-testing", false, "perform upgrade testing")
|
||||
flag.StringVar(&upgradeVersion, "upgrade-version", "v3.3.1", "target version for upgrade testing")
|
||||
flag.StringVar(&cephCSINamespace, "cephcsi-namespace", defaultNs, "namespace in which cephcsi deployed")
|
||||
|
@ -55,6 +55,7 @@ var (
|
||||
deployRBD bool
|
||||
testCephFS bool
|
||||
testRBD bool
|
||||
helmTest bool
|
||||
upgradeTesting bool
|
||||
upgradeVersion string
|
||||
cephCSINamespace string
|
||||
|
Loading…
Reference in New Issue
Block a user