Skip to content

ci: new ansible lint collection#187

Merged
richm merged 3 commits intomainfrom
new-ansible-lint-collection
Jan 6, 2024
Merged

ci: new ansible lint collection#187
richm merged 3 commits intomainfrom
new-ansible-lint-collection

Conversation

@richm
Copy link
Copy Markdown
Collaborator

@richm richm commented Dec 13, 2023

  • ci: Use supported ansible-lint action; run ansible-lint against the collection
  • ci: Use supported ansible-lint action; run ansible-lint against the collection

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0ada910) 72.66% compared to head (5751127) 72.66%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #187   +/-   ##
=======================================
  Coverage   72.66%   72.66%           
=======================================
  Files           1        1           
  Lines         450      450           
=======================================
  Hits          327      327           
  Misses        123      123           
Flag Coverage Δ
sanity ∅ <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…ollection

The old ansible-community ansible-lint is deprecated.  There is a
new ansible-lint github action.

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

Add `---` doc start to .markdownlint.yaml

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
@richm richm force-pushed the new-ansible-lint-collection branch from a299113 to 98d6cd5 Compare December 15, 2023 14:09
@richm richm changed the title new ansible lint collection ci: new ansible lint collection Jan 6, 2024
@richm richm merged commit 6ba7409 into main Jan 6, 2024
@richm richm deleted the new-ansible-lint-collection branch January 6, 2024 00:46
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