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: use dump_packages.py callback to get packages used by role #394

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

richm
Copy link
Contributor

@richm richm commented Oct 4, 2023

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

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
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

All modified lines are covered by tests ✅

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

Additional details and impacted files
@@           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 Coverage Δ
sanity 16.54% <ø> (ø)

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.

@richm richm merged commit 18f52c5 into main Oct 4, 2023
19 checks passed
@richm richm deleted the dump_packages branch October 4, 2023 23:27
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