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

ci(.pre-commit-config-ansible.yaml): update ansible-lint version #3032

Merged

Conversation

yukke42
Copy link
Contributor

@yukke42 yukke42 commented Nov 15, 2022

Signed-off-by: yukke42 yusuke.muramatsu@tier4.jp

Description

Update ansible-lint version to merge #3029.

This CI error is a bug and it has fixed in ansible/ansible-lint#1859 and v5.4.0

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Signed-off-by: yukke42 <yusuke.muramatsu@tier4.jp>
@yukke42 yukke42 force-pushed the update-pre-commit-config-ansible branch from 66af780 to 7528bd4 Compare November 15, 2022 12:39
@yukke42 yukke42 changed the title ci(.pre-commit-config-ansible): update ansible-lint version ci(.pre-commit-config-ansible.yaml): update ansible-lint version Nov 15, 2022
@yukke42
Copy link
Contributor Author

yukke42 commented Nov 17, 2022

https://github.com/autowarefoundation/autoware/actions/runs/3470511085/jobs/5798798988
There are three errors in v6.8.6:

  1. name[play] All plays should be named.
  2. name[template] Jinja templates should only be at the end of 'name'
  3. risky-file-permissions File permissions unset or incorrect.

The 2nd error will be fixed but not merged yet. osism/issues#326
So I tried to use v6.6.1 just before this feature was merged https://github.com/ansible/ansible-lint/releases/tag/v6.7.0, but another error appeared related to ansible/ansible-lint#1780.

I decided to just update to pass the CI error.

yukke42 and others added 2 commits November 17, 2022 19:03
@yukke42 yukke42 marked this pull request as ready for review November 17, 2022 10:30
@yukke42
Copy link
Contributor Author

yukke42 commented Nov 17, 2022

@kenji-miyake
Hello. Could you check this PR?

Copy link
Contributor

@kenji-miyake kenji-miyake left a comment

Choose a reason for hiding this comment

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

I'll create another PR to upgrade ansible-lint to v6.8.6 and address warnings of new checks.
For now, v5.4.0 looks good to me if it resolves a bug in #3029.

@kenji-miyake kenji-miyake merged commit f0014fd into autowarefoundation:main Nov 18, 2022
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.

2 participants