-
Notifications
You must be signed in to change notification settings - Fork 56
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
GitHub Actions workflow: add lint, install, unittest. #195
Conversation
52955bd
to
95e5c74
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yeah - please update the CHANGELOG and bump the chart version in Chart.yaml
.
@ldaneliukas Oops, I thought you updated it. My bad. Could you please open a new PR with just that? |
Yep, will do later today. Dealing with some time-sensitive things atm. |
The current GHA workflow is somewhat lacking as it does not properly test the changes that are being done, which could result in merges with a chart that can't be installed.
Separated the workflow into two stages, one for pull requests and one for releases via
workflow_dispatch
. The job that runs on pull requests tests the chart by running lint, installing it to a cluster and running unit tests. This also removes the required inputs fromworkflow_dispatch
as they can be automatically determined from the context, which will help when releasing it from forks (won't need to update the values every time).Updating all unittest as part of this as they were already failing, the CI will help with keeping them up to date.
Chart version remains the same, since the Chart templates/functionality were not modified in this PR.