linux-system-roles / storage

Ansible role for linux storage management
https://linux-system-roles.github.io/storage/
MIT License
104 stars 59 forks source link

ci: use dump_packages.py callback to get packages used by role #394

Closed richm closed 1 year ago

richm commented 1 year ago

This adds the dump_packages.py callback which will dump the arguments to the package module (except for state: absent) to the integration test run logs. The output looks like this: lsrpackages: pkg-a pkg-b ... We will have tooling which will scrape the logs to extract the packages used at runtime and testing for all of the supported combinations of distribution and version.

This also ensures the weekly-ci PR git commit message conforms to commitlint.

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

codecov[bot] commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (ffc36d4) 13.67% compared to head (265ecfe) 13.67%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #394 +/- ## ======================================= Coverage 13.67% 13.67% ======================================= Files 8 8 Lines 1733 1733 Branches 79 79 ======================================= Hits 237 237 Misses 1496 1496 ``` | [Flag](https://app.codecov.io/gh/linux-system-roles/storage/pull/394/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=linux-system-roles) | Coverage Δ | | |---|---|---| | [sanity](https://app.codecov.io/gh/linux-system-roles/storage/pull/394/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=linux-system-roles) | `16.54% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=linux-system-roles#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.