-
Notifications
You must be signed in to change notification settings - Fork 395
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
YAML formatting should be cleaned up to linter standards #1313
Comments
@mboersma: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hello @mboersma I would like to work on this issue. Please assign |
Thanks @FaithKovi! Please ask here or on the image-builder Slack channel if you have any questions. This issue blocks #1312, so we should try to fix it soon. |
@mboersma
Note: A short part of the output. |
If the command |
What steps did you take and what happened:
Run
make -C images/capi lint
and see that there are numerous warnings fromansible-lint
that the project is ignoring.In particular, there are many formatting warnings. Many of these boil down to what the linter considers basic YAML linting (removing unnecessary quotes, ensuring document separators
---
, and so on). It would be helpful to fix just those separately.What did you expect to happen:
Running
make -C images/capi lint
shouldn't result in any basic formatting warnings.Anything else you would like to add:
One way to accomplish this:
ansible-lint --fix=none images/capi/ansible make -C images/capi lint-ignore git add images/capi git commit -m "Format YAML files for ansible-lint"
These commands:
.ansible-lint-ignore
file so these warnings won't be ignored in the futureThen run
make -C images/capi lint
to ensure it's passing, and create a PR.Environment:
N/A
/kind bug
/help
/good-first-issue
The text was updated successfully, but these errors were encountered: