@jreed:matrix.org | How do I get helm installed on the Zuul Debian-Bullseye machine? The app generator tool uses helm to package up charts. I could mock the test but it kinda defeats the test if I do. Just wondering if its something I can do first. | 17:29 |
---|---|---|
@fungicide:matrix.org | you should configure the job to install it, ideally during a pre-run phase | 19:52 |
@fungicide:matrix.org | zuul's standard library has an `ensure-helm` role which will install helm if you include it in a playbook: https://zuul-ci.org/docs/zuul-jobs/latest/helm-roles.html#role-ensure-helm | 19:53 |
@fungicide:matrix.org | there are also some helm-related jobs you can inherit from to simplify writing jobs that use helm: https://zuul-ci.org/docs/zuul-jobs/latest/helm-jobs.html | 19:54 |
@fungicide:matrix.org | here's an example of a job's pre-run playbook including ensure-helm: https://opendev.org/vexxhost/openstack-operator/src/branch/master/playbooks/functional/pre.yaml#L21 | 19:57 |
@fungicide:matrix.org | that one is used in this job definition, for context: https://opendev.org/vexxhost/openstack-operator/src/branch/master/zuul.d/functional-jobs.yaml#L6 | 19:58 |
@jreed:matrix.org | I added a "pre-run" to my pylint job in y .zuul.yaml like the example. | 21:25 |
https://review.opendev.org/c/starlingx/app-gen-tool/+/900630/4/.zuul.yaml | ||
In pre.yaml I added the ensure-helm thing. However, I don't think I've done it right. | ||
@jreed:matrix.org | https://review.opendev.org/c/starlingx/app-gen-tool/+/900630/4/pre.yaml | 21:26 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!