feat(manager/helm): make change log url retrieval more flexible (#16210)
* feat(helm): improve fallback on sourceUrl selection * fix(helm): use home and source from latest release instead of the first. Otherwise those fields can't be ever changed. * test(helm): test charts with no home metadata * test(helm): test releases semver sorting * fix(helm): select last release by semver * Apply suggestions from code review Co-authored-by:Michael Kriese <michael.kriese@visualon.de> * fix(type): make homeMatch keys optional * Fixes Co-authored-by:
Stefano Zaninetta <stefano.zaninetta@nagra.com> Co-authored-by:
Michael Kriese <michael.kriese@visualon.de>
Showing
- lib/modules/datasource/helm/__fixtures__/index.yaml 70 additions, 0 deletionslib/modules/datasource/helm/__fixtures__/index.yaml
- lib/modules/datasource/helm/__fixtures__/sample.yaml 17 additions, 0 deletionslib/modules/datasource/helm/__fixtures__/sample.yaml
- lib/modules/datasource/helm/common.spec.ts 7 additions, 5 deletionslib/modules/datasource/helm/common.spec.ts
- lib/modules/datasource/helm/common.ts 33 additions, 14 deletionslib/modules/datasource/helm/common.ts
- lib/modules/datasource/helm/index.spec.ts 18 additions, 0 deletionslib/modules/datasource/helm/index.spec.ts
- lib/modules/datasource/helm/index.ts 6 additions, 2 deletionslib/modules/datasource/helm/index.ts
Loading
Please register or sign in to comment