Skip to content

Add optional parameters to PackagePush for chart version and appVersion #69

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

Closed
wants to merge 4 commits into from

Conversation

frizzr
Copy link
Contributor

@frizzr frizzr commented Feb 28, 2025

Very often a Helm chart version and appVersion are decided by CI automation, so this PR will provide optional parameters to the PackagePush function.

I also added two new public methods Name and AppVersion that complements the Version public method and makes unit tests a bit easier. If you would rather not add those, they could be moved to the unit test package.

@frizzr frizzr changed the title Add optional parameters for chart version and appVersion Add optional parameters to PackagePush for chart version and appVersion Feb 28, 2025
@chrira
Copy link
Member

chrira commented Mar 3, 2025

@frizzr This are good extensions, thank you.

Could you please add tests for the new methods and parameters inside tests/main.go?
The tests/testdata/ directory contains two test charts. One without and one with dependencies. The changes have to work for both.

@frizzr frizzr force-pushed the rhfc-add-chart-version-opt branch from 2f1589e to d9e62ab Compare March 6, 2025 12:12
@frizzr
Copy link
Contributor Author

frizzr commented Apr 28, 2025

I am going to close this PR in favor of #70. Thanks!

@frizzr frizzr closed this Apr 28, 2025
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

Successfully merging this pull request may close these issues.

2 participants