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

Fix: Do not update Helm Chart dependencies in dryrun mode #795

Merged
merged 2 commits into from
Aug 5, 2022

Conversation

olblak
Copy link
Member

@olblak olblak commented Aug 4, 2022

  • fix metadata file update in "local" mode
  • Fix only update chart metatade in "apply" mode

Signed-off-by: Olivier Vernin olivier.vernin@suse.com

Fix #XXX

While working on #763, I noticed that we always try to update metadata information even in drymode. Also I noticed that when used locally we tried to update an "empty" chart

Test

To test this pull request, you can run the following commands:

cp <to_package_directory>
go test

Additional Information

Tradeoff

Potential improvement

fix metadata file in none scm mode

Signed-off-by: Olivier Vernin <olivier.vernin@suse.com>
@olblak olblak added bug Something isn't working resource-helmchart Resource of kind Helm Chart labels Aug 4, 2022
@olblak olblak changed the title Fix: Do not update chart metadata in dryrun mode Fix: Do not update chart dependencies in dryrun mode Aug 5, 2022
@olblak olblak changed the title Fix: Do not update chart dependencies in dryrun mode Fix: Do not update Helm Chart dependencies in dryrun mode Aug 5, 2022
@olblak olblak merged commit 1a3bd53 into updatecli:main Aug 5, 2022
@olblak olblak added this to the 0.30.0 milestone Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resource-helmchart Resource of kind Helm Chart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant