kubewarden / helm-charts

Helm charts for the Kubewarden project
Apache License 2.0
25 stars 16 forks source link

Updatecli automation bumps patch release images without image present #500

Open viccuad opened 1 month ago

viccuad commented 1 month ago

It seems that the updatecli automation for patch releases bumps images even if they don't exist.

For example, here it bumped the audit-scanner image to v1.15.1 even if no such tag or release exists. (yet there is the usual draft release).

This may be because updatecli.d/patch-kubewarden-kubewraden-*.yaml lack some conditions to check for the image version, e.g: https://github.com/kubewarden/helm-charts/blob/6b0ec15b711f5017a4967bf85dd9e371fbd8f369/updatecli/updatecli.d/major-kubewarden-update.yaml#L75-L112

See: https://github.com/kubewarden/helm-charts/actions/runs/10181224959/job/28160875951#step:9:83 Noticed here: https://github.com/kubewarden/helm-charts/pull/499#discussion_r1698573683

Acceptance criteria