-
Notifications
You must be signed in to change notification settings - Fork 74
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
Enable driver features to be toggled off/on #32
Comments
This is about the test driver config, right? Lines 742 to 765 in 0affdf9
The content of that file must match the deployment of the host path driver, which is determined by What I don't understand is why you want to enable certain features without having to update csi-release-tools. Is it because that is more work? It is more work, but it has the advantage that testing is consistent. If we want testing that is different for different releases, then csi-release-tools needs to be forked. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
I think the issue @gnufied is referring to the issue of new features and maybe sidecars are introduced in newer releases. But the test config is the same across all releases. We currently add a lot of release-specific logic into prow.sh to toggle on and off focus/skip flags because of this, which I don't really like because it adds a lot of toil every new release to update these settings and then sync it across all repos. What if we add the test config to the per-release hostpath deployments? That should solve some of the difficulties because the test will be configured to run based on the hostpath deployment version, which indicates what the driver supports. It could also potentially help us move towards a model where prow.sh is not so hardcoded with hostpath driver, and could be used for other drivers too. /lifecycle-frozen |
/lifecycle frozen |
Michelle Au <[email protected]> writes:
What if we add the test config to the per-release hostpath
deployments? That should solve some of the difficulties because the
test will be configured to run based on the hostpath deployment
version, which indicates what the driver supports.
And the content of that per-Kubernetes-release test config then is for
the storage test suite from that Kubernetes release? That could work.
|
Rather than defaulting to always on features, I think we should allow tests suites to toggle them. Something like -
This will enable tests like https://github.com/kubernetes-csi/external-resizer/pull/53/files to enable certain features without having to update csi-release-tools. Also because features can differ between versions it will allow
.prow.sh
file in individual branches to have their own configuration. I am not sure if this is preferable to havingif-elses
built into prow.sh though.The text was updated successfully, but these errors were encountered: