Commit Graph

15 Commits

Author SHA1 Message Date
Sebastian Poxhofer be13c9f5f7 feat(manager): share OCI Helm chart resolution across managers (#45760)
* feat(manager): share OCI Helm chart resolution across managers

Add getOciChartDep() to helmv3/oci.ts and use it in argocd, fleet, flux,
helmfile, helmsman, helmv3, kustomize, sveltos, terraform and vendir.

- set pinDigests: false for OCI charts in all of them
- apply registryAliases to OCI charts in argocd, helmfile and helmsman
- keep the registry port in terraform helm_release repositories
- skip fleet OCI charts without a version instead of using 'undefined'

* docs(manager/helmv3): correct the OCI chart pinDigests rationale

* refactor(manager/helmfile): drop redundant OCI repository url guard

The repository schema already requires url to be a string, so the falsy
branch could not be reached by parsed input and left the patch partially
covered.
2026-09-09 13:51:30 +00:00
Sebastian Poxhofer 914c64afbd test(linter): zod schema and infered type naming rule (#43736)
* ci: add linting rule for schema and infered types

* refactor: remove usages of Schema and differently named types
2026-06-02 12:07:35 +00:00
Jamie Tanna 2be6a7128e test(vendir): avoid hard-to-test branches (#41449)
* test(vendir): avoid hard-to-test branches

As a follow-up to #41443, where it's difficult to test this.

* fixup! test(vendir): avoid hard-to-test branches
2026-02-25 19:58:29 +00:00
Jamie Tanna 0c6ac635d3 feat(vendir): support extracting HTTP sources (#41443)
* feat(vendir): support extracting HTTP sources

As noted in #41435, Vendir's support for HTTP sources would be useful
for Renovate to keep updated.

Instead of managing the updating of files ourselves, we can use Vendir's
existing `lockFileMaintenance` task to do so, where `vendir sync` will
re-fetch the remote file(s) and sync them to the repo.

For this to be supported, we can extract the HTTP sources with
`unsupported-datasource`, so Renovate knows that the dependency is
there, but can't be managed by us.

This makes it possible to extract HTTP dependencies, and then have
Renovate update them through `lockFileMaintenance`.

* fixup! feat(vendir): support extracting HTTP sources
2026-02-24 11:45:04 +00:00
Jamie Tanna fdd1612aa0 refactor(vendir): remove nullable return from extraction methods (#41446)
As we're always returning a dependency, we can remove the nullable
return type.

This also allows us to increase test coverage, because we now don't have
code paths that aren't tested.
2026-02-24 10:28:12 +00:00
Michael Juliano fe18306232 fix(vendir): remove registryUrls from git-refs dependencies (#40938)
* fix(vendir): remove registryUrls from git-refs dependencies

The git-refs datasource does not support custom registries
(customRegistrySupport = false). Setting registryUrls on git
dependencies causes a spurious warning in the Renovate dashboard:
'Custom registries are not allowed for this datasource.'

This removes the registryUrls property from extractGitSource since
the git URL is already captured in depName and packageName.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(vendir): remove redundant packageName from git-refs dependencies

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-09 18:16:42 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Michael Kriese 45bdc77844 refactor(manager): always set package name from docker image extract (#33917) 2025-01-29 15:36:24 +00:00
renovate[bot] 4f1fb3a163 chore(deps): update linters to v8.5.0 (#31349)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-09-16 07:10:17 +00:00
Sebastian Poxhofer 3681b2a945 chore: eslint to enforce for typed imports (#30844) 2024-08-19 13:15:27 +00:00
renovate[bot] eb8c08079e chore(deps): update typescript-eslint monorepo to v8 (major) (#30750)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-08-14 10:33:02 +00:00
Sebastian Poxhofer bf5eeb54da refactor: centralize OCI detection and deletion (#28544) 2024-04-20 11:16:24 +00:00
Hans Knecht e998c65ae3 feat(vendir): add support for github releases (#28175) 2024-03-29 14:32:08 +00:00
Hans Knecht a8208df261 feat: add support for git refs for vendir (#28084)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-03-28 20:57:06 +00:00
Hans Knecht db1b0d8b66 feat(vendir): add vendir support (#25113)
Co-authored-by: Zoltán Reegn <reegnz@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Zoltán Reegn <zoltan.reegn@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-03-21 15:46:10 +00:00