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

[Feature] Add helm lint check in Github Actions #554

Merged
merged 11 commits into from
Sep 13, 2022

Conversation

kevin85421
Copy link
Member

@kevin85421 kevin85421 commented Sep 12, 2022

Why are these changes needed?

In #537 and #499, there are some errors that only happen in old helm versions. Hence, if we add helm lint check with multiple helm versions in GitHub Actions, we can avoid #537 and #499.

#537 and #499 only happen in old helm versions as mentioned in #548. Hence, we run helm lint tests for both Helm v3.4.1 and v3.9.4.

The modifications in ray-cluster/values.yaml are detected by this PR as shown in the following link and screenshot.

Screen Shot 2022-09-12 at 1 16 46 PM

Related issue number

Closes #550

Checks

I used #555 as a control group. This PR tried to reproduce #537. Hence, the test with helm v3.4 should fail and test with helm v3.9 should pass in #555. The error message is the same as #537. See the link and following screenshot for more details.

Screen Shot 2022-09-12 at 1 37 01 PM

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

@kevin85421
Copy link
Member Author

TODO: pre-push hook

@Jeffwan
Copy link
Collaborator

Jeffwan commented Sep 13, 2022

This is great. It would be great if you can add few sentences in development guidance and people will know how to fix the problem if they encouter the CI issue

Copy link
Collaborator

@DmitriGekhtman DmitriGekhtman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@DmitriGekhtman DmitriGekhtman merged commit 0eeaca5 into ray-project:master Sep 13, 2022
lowang-bh pushed a commit to lowang-bh/kuberay that referenced this pull request Sep 24, 2023
Adds a helm lint check to verify that charts are well-formed and properly formatted.
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.

[Feature] Add helm lint check in Github Actions
3 participants