adding helm-unittest plugin binary#576
Conversation
Signed-off-by: hjoshi123 <mail@hjoshi.me>
|
@hjoshi123, thanks for this, but I think something is missing here. When I tested your branch in trust-manager, without any additional changes, I get a lot of errors in the build logs: |
|
@erikgb was the tools makefile copied too? |
Ahhh, I need to update both the helm AND the tools module. Then it works! Sorry! |
erikgb
left a comment
There was a problem hiding this comment.
Thanks for working on this, @hjoshi123! I have tested that this change doesn't break anything, ref. the comment above. And merging this will allow you to continue your work.
/lgtm
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: erikgb The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
I did notice one thing though, in cert-manager we dont include the helm.mk file in the root makefile.. so we might have to manually add the target in ci.mk probably |
Maybe cert-manager doesn't use the Helm module yet? It would be great to let cert-manager use more makefile-modules. |
Yeah they do clone it in _shared_new but only include certain makefiles inside it.. yeah it might be worth to include them now that we have a usecase. |
This PR adds makefile targets to use the helm plugin helm-unittest. It doesn't directly use the
helm plugin installcommand instead it downloads the binary behind the plugin and consumes that to run the helm unit tests. This is a much safer way to do it in my opinion as we can target a specific version of the binary through github releases and also use renovate to upgrade the version.