Closed AiRrRock closed 3 years ago
Any chance you can move the chart to a dedicated subproject and perform a multi-peoject build? Works quite well for us, even with 3 chart subprojects.
That being said, the task named helmChartBuild
can be configured with a property source
which defaults to src/main/helm
. Unfortunately we missed to add something similar to the test task but it should be pretty easy to add. Contributions welcome!
@jekkel sorry if this is obvious, just a question. This is about where a chart should end-up, right? directory wise. Cause the source of a chart can be easely altered via :
tasks.withType<HelmBuildTask>().configureEach {
source.set(file(<SOME_DIFF_DIRECTORY>))
}
@wind57 No, it is actually about the sources (although the final directory can be modified in a similar easy way with the property outputDirectory
). And yes you're right it's already possible. But it is not possible to change the source folder of the test task, i.e. the folder which contains the test cases and test yaml files. The PR is going to add it and unifies handling a bit on top of that.
It will be nice to add the ability to specify custom path for the helm chrarts and test. This is needed to use plugin with more complex projects. The project we are going to use the pluging on a project that has a different structure.
Our team can fork the project and provide the code ourselves, if you aggree with such an approach.