-
Notifications
You must be signed in to change notification settings - Fork 72
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
[Feature] Request to support multiple Helm Charts in CNTI Test Catalog #2090
Comments
Considered ways how it is possible to be reached: (1) Add possibility to define multiple helm charts and handle this as single CNF in cnf-testsuite (2) generate parent helm chart referencing child helm chart as dependencies (3) Use 3rd party tools for deployment of CNF with multiple helm charts (4) Modularize cnf-testsuite in a way that it's possible to use libraries/modules/plug-ins for cnf deployments (5) Use existing concept with calling cnf_setup multiple times per each helm chart |
If we want to add this feature ASAP - probably (2) would be the way to go. Add new SAM task for generating helm chart and add more functionality to cnf-testsuite.yml to support multiple charts (or leave it to user and let them handle running tests with generated multi-charts by themselves). Option (5) doesn't look as plausible solution to me, multiple CNF installations weren't ever fully supported, don't have a real purpose for Testsuite and, to me, feel like an old garbage that we should get rid of (#2095). Building new features on top of that would likely bring hidden issues that we'll be dealing with in future, and, in the end, we'll have to redesign it anyway. Other options are revolving around the idea of installation multiple helm charts and threating them as one CNF. To me that sounds as the most reasonable solution, but quite complicated to implement. Significant changes would be required to be finished before we would be able to start designing this feature with this option of implementation (in example #2036 with all of its sub-issues). To me - way to go is option (1), then possibly look for splitting CNF installation from testing (i.e. - in form of other application, repo), then consider using modular architecture as mentioned in option (4). |
@collivier do you think (2) would work as a quick solution to enable sylva with cnf-testsuite testing? |
Hello @collivier @martin-mat , We have been reviewing all the mentioned options in this post. In Sylva WG-02 we consider that the best option to go is Option 1. Regarding Option 2, we consider that it would require big efforts to build parent Helm Charts and it could lead to non desired failures. The objective is to support this functionality in the most efficient, cleanest and easiest way for the user of the CNF Testsuite when multiple Helm Charts must be analyzed. Considering it, as mentioned by @kosstennbl, we vote for the development of Option 1. Thank you. |
Implementation ongoing as a part of #2120 |
Please contact [email protected] for any detail
Is your feature request related to a problem? Please describe.
In Sylva WG-02 (Validation Center), we want to execute CNTI Test catalog against every CNF that is going to be validated but all the CNFs that are already validated in Sylva have more than 2 Helm Charts (in some cases, up to 50 Helm Charts) so this is a problem because currently CNTI Test catalog only supports to test one Helm Chart at the same time.
Describe the solution you'd like
In order to save time and execute CNTI Test catalog in a more efficient way, we would like it to support the setup of multiple Helm Charts stored in a same filesystem folder to launch the tests battery directly over them at the same time and don’t have to execute it one by one manually.
Describe alternatives you've considered
we have been applying manually “cnf_setup” for each Helm Chart to be tested within a CNF and then launched “cnf testsuite cert” over the result. The problem is that for doing it we have to be changing manually “cnftestsuite.yaml” for each Helm Chart which drives to lose many time and we think that this could be supported in a more efficient manner.
The text was updated successfully, but these errors were encountered: