You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The downloaded file should be a cached build artifact which only gets downloaded again if something changes. Do 2 consecutive executions of e.g. helmChartBuild (without clean in between) trigger download twice? Could you provide a reproducer project?
Sorry, I forgot to provide the information that I executed clean in-between. The download is indeed only triggered then.
However, that's unexpected for me because I see the Helm binary more as a build dependency rather than a build artefact.
So just like cleaning doesn't cause dependencies to be re-fetched, I thought it wouldn't do so with the Helm binary either.
One could also see it as a build tool similar to the Gradle binary downloaded by the Gradle wrapper. It's also not influenced by the clean task because these things don't change often and fetching is relatively time-consuming.
That's a nice viewpoint indeed. Would love to see a PR where helm binary is made a dependency, maybe by using tweaked ivy dependency? Then we would use the resolved dependency as input to the tasks instead and let gradle download the binary.
Helm is downloaded in the same version every time a task from this plugin is used.
Would it be possible to cache a given version to avoid unnecessary downloads?
The text was updated successfully, but these errors were encountered: