-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Check the roles/plays in this repository with ansible-lint #3961
Comments
we have thought of implementing this, but we have too much to fix for that to work correctly :) maybe in future, or if you want we can look at PR implementing this :) |
I could try to do it check by check (a single PR that fixes everything at once would be horrible to review), it would be nice if someone could help me with adding the initial CI job with all checks disabled to the repository. |
we are in stage to move our CI, so it would be no effort for now to do that as there might be some changes regarding that. |
Do you want to move away from Gitlab CI alltogether or just run your integrations tests elsewhere? |
first we will move tests and already investigating moving away from gitlab |
Hm, do you mean by "it would be no effort for now to do that" that it would be a trivial (effortless) change, or that I should wait a bit until the migration has been done? |
it was meant by now this should not be done :) let's wait migration... |
Great, feel free to ping me once this has been done, then I'll prepare a PR. I don't think that it would be beneficial to fix linting errors before the linter is available in CI, since it could easily happen that over time people commit code that would fail the linter again. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Has been implemented in #4411 |
Well, sort of. I'll start with step 2, fixing the actual errors. |
@MarkusTeufelberger I've started with #4508 #4500 and #4496 Edit: I'm thinking that going 1 error at a time can help to make it faster to review and avoid conflicts |
Great! 👍 |
For the record, here's the rough amount of errors when #4411 was merged:
|
On the still open ones:
|
nice work @MarkusTeufelberger @Miouge1 . |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten There is still some work to be done here... |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Since some global ignores were even added after I already fixed them(!), I'm no longer going to work on the remaining ones. Still some work to be done by "someone" though. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. 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. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
FEATURE REQUEST
Environment:
Not applicable
Description:
I'd like to propose that besides yamllint, all roles and plays/playbooks in this repository should also be checked with ansible-lint (https://github.com/ansible/ansible-lint).
The text was updated successfully, but these errors were encountered: