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

feat(manager/helmfile): Lock file support #19865

Merged
merged 20 commits into from Feb 4, 2023

Conversation

nikolaik
Copy link
Contributor

@nikolaik nikolaik commented Jan 16, 2023

Changes

This PR attempts to add support for helmfile lock files. This PR is based on the existing work with helm chart lock files.

There is a corresponding PR to add the helmfile tool to the renovate/renovate docker image renovatebot/docker-renovate-full#1276

Context

We use renovate to keep our helmfile chart versions updated, so this is to avoid the toil of manually running helmfile deps.

Resolves #7719

Did an initial test run of this here: nikolaik/renovate-helmfile.lock#2

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

@nikolaik nikolaik marked this pull request as ready for review January 16, 2023 12:17
lib/modules/manager/helmfile/artifacts.spec.ts Outdated Show resolved Hide resolved
lib/util/exec/containerbase.ts Show resolved Hide resolved
Rename chartFile to helmfileFile
Replace Chart.yaml leftover with helmfile.lock
@nikolaik nikolaik requested a review from viceice January 17, 2023 15:12
lib/modules/manager/helmfile/artifacts.ts Outdated Show resolved Hide resolved
lib/modules/manager/helmfile/artifacts.ts Outdated Show resolved Hide resolved
@nikolaik nikolaik requested review from secustor and removed request for viceice January 18, 2023 08:15
lib/modules/manager/helmfile/artifacts.spec.ts Outdated Show resolved Hide resolved
lib/modules/manager/helmfile/artifacts.spec.ts Outdated Show resolved Hide resolved
lib/modules/manager/helmfile/artifacts.spec.ts Outdated Show resolved Hide resolved
lib/modules/manager/helmfile/artifacts.ts Outdated Show resolved Hide resolved
lib/modules/manager/helmfile/artifacts.ts Outdated Show resolved Hide resolved
lib/modules/manager/helmfile/artifacts.ts Outdated Show resolved Hide resolved
lib/modules/manager/helmfile/artifacts.ts Outdated Show resolved Hide resolved
lib/modules/manager/helmfile/artifacts.spec.ts Outdated Show resolved Hide resolved
lib/modules/manager/helmfile/artifacts.spec.ts Outdated Show resolved Hide resolved
lib/modules/manager/helmfile/artifacts.spec.ts Outdated Show resolved Hide resolved
lib/modules/manager/helmfile/artifacts.ts Outdated Show resolved Hide resolved
@nikolaik nikolaik requested review from viceice and removed request for secustor January 24, 2023 13:10
@nikolaik
Copy link
Contributor Author

@viceice Worked my way through your comments. Let me know if I did something weird or misunderstood anything

@nikolaik
Copy link
Contributor Author

Updated PR again @viceice Let me know if anything else looks weird

secustor
secustor previously approved these changes Jan 30, 2023
lib/modules/manager/helmfile/artifacts.spec.ts Outdated Show resolved Hide resolved
lib/modules/manager/helmfile/artifacts.spec.ts Outdated Show resolved Hide resolved
lib/modules/manager/helmfile/artifacts.spec.ts Outdated Show resolved Hide resolved
lib/modules/manager/helmfile/artifacts.spec.ts Outdated Show resolved Hide resolved
Leftovers from the helmv3 code its based on
@viceice viceice changed the title feat(helmfile): Lock file support feat(manager/helmfile): Lock file support Feb 4, 2023
@viceice viceice enabled auto-merge (squash) February 4, 2023 08:41
@viceice viceice merged commit 5474229 into renovatebot:main Feb 4, 2023
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 34.123.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@nikolaik nikolaik deleted the feat/helmfile-deps branch February 4, 2023 20:29
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helmfile Manager should update Lockfile
5 participants