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

chore(22.04): add lint job #147

Merged
merged 3 commits into from
Mar 7, 2024

Conversation

rebornplusplus
Copy link
Member

@rebornplusplus rebornplusplus commented Feb 23, 2024

This PR adds a "Lint" job to lint the slices and chisel.yaml. It also refactors the existing slice definition files and chisel.yaml for the lint checks to pass.

Copy link

@linostar linostar left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

Copy link
Collaborator

@cjdcordeiro cjdcordeiro left a comment

Choose a reason for hiding this comment

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

can u pls share the link to the PR or Issue that targets the validation fixes flagged in this PR?

I see #176, but let's please also track that internally with high priority (the reason for high priority is because we don't want to merge this without them, otherwise all coming future PRs would be raising these red flags, despite the user having not touched them)

@rebornplusplus
Copy link
Member Author

Yeah, it is indeed #176. I created ROCKS-1033 to track it internally. I will add the fixes for the failures today actually. It should not take long.

@rebornplusplus
Copy link
Member Author

Okay, so I refactored the files for this release. The checks should now be okay. Please take a look.

Also note that I would like to rebase the commits, not squash since the commits have different purposes and I want to keep a good history. So I will rebase the commits after approvals.

Copy link
Collaborator

@cjdcordeiro cjdcordeiro left a comment

Choose a reason for hiding this comment

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

lgtm, thanks

This commit fixes the linting failures of yamllint and the custom bash
script which checks whether 'essential' and 'contents' are sorted or not
in a slice definition.
@rebornplusplus
Copy link
Member Author

I have rebased the commits. Please do not "Squash and merge" when merging this. @cjdcordeiro

Copy link

@linostar linostar left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@cjdcordeiro cjdcordeiro merged commit 65660da into canonical:ubuntu-22.04 Mar 7, 2024
11 checks passed
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.

3 participants