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: run ansible-lint against the collection #52

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

richm
Copy link
Contributor

@richm richm commented Jan 8, 2024

The latest Ansible repo gating tests run ansible-lint against
the collection format instead of against individual roles.
We have to convert the role to collection format before running
ansible-test.

Role developers can run this locally using
tox -e collection,ansible-lint-collection
See linux-system-roles/tox-lsr#125

ha_cluster - add to python_roles

metrics - fix ansible-lint

Signed-off-by: Rich Megginson rmeggins@redhat.com

The latest Ansible repo gating tests run ansible-lint against
the collection format instead of against individual roles.
We have to convert the role to collection format before running
ansible-test.

Role developers can run this locally using
`tox -e collection,ansible-lint-collection`
See linux-system-roles/tox-lsr#125

ha_cluster - add to python_roles

metrics - fix ansible-lint

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
@richm richm requested a review from spetrosi January 8, 2024 21:25
@richm richm merged commit dd21f19 into linux-system-roles:main Jan 10, 2024
@richm richm deleted the ansible-lint-collection branch January 10, 2024 19:53
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.

1 participant