Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the helm dependency update command from the pre-commit step in CI #473

Open
ubajze opened this issue Nov 14, 2024 · 0 comments
Open

Comments

@ubajze
Copy link
Contributor

ubajze commented Nov 14, 2024

The CI in this repo runs helm dependency update in CI:

- run: "helm dependency update charts/nautobot"

The dependencies in Chart.yaml are defined with major versions only (for example:

version: "2.x.x"
). That is why Renovate only handles major versions.

I had to upgrade the dependencies while working on #471 to pass CI. This is not a desirable workflow. The dependencies should be upgraded in separate PRs.

The solution would be to define full versions in Chart.yaml, such as 2.26.0 as opposed to 2.27.0. Then Renovate can update minor and patch versions as well.

Adding for reference: https://docs.renovatebot.com/modules/manager/helmv3/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant