-
Notifications
You must be signed in to change notification settings - Fork 519
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
feat (jkube-kit/helm) : Add support for generating helm test resources via fragments #3346
Conversation
Eclipse JKube CI ReportStarted new GH workflow run for #3346 (2024-09-23T12:20:00Z) ⚙️ JKube E2E Tests (10993861020)
|
3b3933b
to
04f8386
Compare
04f8386
to
acbb149
Compare
acbb149
to
ee82a98
Compare
…s via fragments + Add support for generating helm test resources. User would place a test fragment in src/main/jkube directory and it would be copied to templates/tests during helm chart generation. + Only fragments ending with `.test.helm.yaml` suffix would be considered for helm test resources. Signed-off-by: Rohan Kumar <rohaan@redhat.com>
ee82a98
to
0565625
Compare
Signed-off-by: Marc Nuri <marc@marcnuri.com>
ea960c3
to
0d849f0
Compare
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thx!
… while interpolating chart templates Follow up to eclipse-jkube#3346 + Modify HelmService's interpolateChartTemplates method to look for chart templates recursively as now chart templates can also be test templates that usually reside in `templates/tests/` directory. + We already have a method named `listYamls` in YamlUtil that lists yaml files in a specified directory. Add another method that would do the recursive listing based on boolean flag Signed-off-by: Rohan Kumar <rohaan@redhat.com>
…terpolation (3398) fix (jkube-kit/helm) : HelmService should check in nested directories while interpolating chart templates Follow up to #3346 + Modify HelmService's interpolateChartTemplates method to look for chart templates recursively as now chart templates can also be test templates that usually reside in `templates/tests/` directory. + We already have a method named `listYamls` in YamlUtil that lists yaml files in a specified directory. Add another method that would do the recursive listing based on boolean flag Signed-off-by: Rohan Kumar <rohaan@redhat.com> --- review: helm test directory file interpolation Signed-off-by: Marc Nuri <marc@marcnuri.com> Co-authored-by: Marc Nuri <marc@marcnuri.com>
Description
Related to #2375
fragment in
src/main/jkube
directory and it would be copied totemplates/tests
during helm chart generation..test.helm.yaml
suffix would be consideredfor helm test resources.
Signed-off-by: Rohan Kumar rohaan@redhat.com
Type of change
test, version modification, documentation, etc.)
Checklist