Commit Graph

29 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
Jamie Tanna 0e6429b13e refactor(types): document localDir isn't a globalOnly option (#44635)
* refactor(types): document `localDir` isn't a `globalOnly` option

To make sure that it's clear when reviewing `GlobalConfig`, as well as
working with our types, we can move the `localDir` definition into a
separate type.

* fixup! refactor(types): document `localDir` isn't a `globalOnly` option

* fixup! refactor(types): document `localDir` isn't a `globalOnly` option

Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>

* fixup! refactor(types): document `localDir` isn't a `globalOnly` option

Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>

* fixup! refactor(types): document `localDir` isn't a `globalOnly` option

Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>

---------

Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>
2026-07-20 08:07:17 +00:00
Yuchen Shi a8b864363c fix(manager/flux): extract both commit and branch for GitRepository (#43560) 2026-06-19 10:35:11 +00:00
Alex Waibel 5e4ef7486e fix(manager/flux): pin tag-only OCIRepository digests to spec.ref.digest (#43753)
* fix(flux): pin tag-only OCIRepository digests to separate ref.digest field

* fix(flux): simplify range checks in extractOCIRefTagRange function

* fix(extract): improve handling of OCI reference nodes by using Scalar types

* fix(extract): refactor findOCIRefNodes to accept parsed documents instead of raw content

* fix(extract): update OCIRepository handling to extract tag-only refs with YAML aliases
2026-06-08 19:22:12 +00:00
Robin Schneider e8614ed076 fix(manager/flux): extract both tag and digest for OCIRepository (#41882)
* fix(manager/flux): extract both tag and digest for OCIRepository

Signed-off-by: Robin Schneider <mail@robinschneider.dev>

* Use record instead of map

Signed-off-by: Robin Schneider <mail@robinschneider.dev>

* Avoid state duplication

Signed-off-by: Robin Schneider <mail@robinschneider.dev>

* Adjust regex

Signed-off-by: Robin Schneider <mail@robinschneider.dev>

* Adjust fallback

Signed-off-by: Robin Schneider <mail@robinschneider.dev>

* test(manager/flux): cover missing-header system manifest branch in extractAllPackageFiles

* fix(manager/flux): update both tag and digest for OCIRepository refs without regex

* test(manager/flux): cover extractOCIRefRange guard branches

* test(manager/flux): cover remaining extractOCIRefRange branches

---------

Signed-off-by: Robin Schneider <mail@robinschneider.dev>
2026-04-27 10:41:18 +00:00
Sergei Zharinov 9d857c1f68 refactor(lint): Organize imports with biome (#40966) 2026-02-06 13:40:01 +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
Christoffer 2b6dbf4871 feat(flux): map Helm sourceRef names via registryAliases (#40158)
* feat(flux): map Helm sourceRef names via registryAliases

* fix: update docs with packageRules for registryAliases showcase

* fix: add tests to fill coverage

* fix: test for isOCIRegistry
2026-01-23 11:52:02 +00:00
Michael Kriese 19c115c813 test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
ssams bff5159bab feat(manager/flux): support chartRef in HelmRelease resources (#31962) 2025-02-07 09:47:34 +01:00
Michael Kriese bf5ce6cc3a fix(manager): retain depName when using registryAliases (#33911) 2025-01-30 08:05:36 +00:00
Michael Kriese 45bdc77844 refactor(manager): always set package name from docker image extract (#33917) 2025-01-29 15:36:24 +00:00
Michael Kriese 1d64a107ed feat(flux): update docker images of helm release values (#33671) 2025-01-17 14:50:52 +00:00
Michael Kriese 38edaccd00 fix(manager/flux): skip local charts (#32335) 2024-11-05 13:21:48 +00:00
Michael Kriese 80232795f3 feat(flux): support kustomization (#29224) 2024-05-24 07:49:39 +00:00
Michael Kriese 1de69069b8 feat(flux): support registry aliases (#29222) 2024-05-23 12:51:36 +00:00
Sebastian Poxhofer 14cba69c58 refactor(managers): yaml schema checks (#26811) 2024-02-25 06:14:19 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
James Lakin 78956f4e23 feat(manager/flux): Support system manifests outside flux-system subdirectory (#22966)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-09-23 08:00:26 +00:00
Skyler Mäntysaari e066924971 feat(manager/flux): Support OCI Helm repositories (#22291)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-05-25 16:43:36 +00:00
Skyler Mäntysaari ba6472643c fix(manager/flux): the parsing of ocirepository (#21070)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-03-22 14:20:18 +00:00
Adam Setch e29c8ad964 fix(bitbucket): use correct case (#21002) 2023-03-17 12:13:37 +00:00
Devin Buhl 06d92d0592 feat(flux): add support for renovating OCIRespository (#19017) 2022-12-06 07:36:59 +00:00
Zodan Jodan e68419d546 feat: adding GitRepository resource support in flux (#18782)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-11-21 22:35:13 +00:00
Sergei Zharinov 3c56aeca17 refactor(tests): Use codeBlock tagged literal (#18916) 2022-11-15 08:35:36 +00:00
Jamie Magee 3589d0e222 refactor: remove deprecated loadFixture calls (#16404)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-04 04:18:53 +00:00
Michael Kriese b4319928f1 refactor: strict manager tests (#16155)
* refactor: strict manager tests

* chore: revert changes

* Update lib/modules/manager/gradle/extract.spec.ts
2022-06-20 17:05:39 +02:00
Michael Kriese 64f5bd5f03 test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00:00
Rhys Arkins dca3418bbd refactor: lib/modules (#14488)
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/

BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00