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 #152

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 [email protected]

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 <[email protected]>
@richm richm requested a review from tomjelinek as a code owner October 4, 2023 21:37
@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (61ecf16) 80.45% compared to head (dd75e3e) 80.45%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #152   +/-   ##
=======================================
  Coverage   80.45%   80.45%           
=======================================
  Files           3        3           
  Lines         133      133           
=======================================
  Hits          107      107           
  Misses         26       26           
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.

@richm richm merged commit 2748cdc into main Oct 4, 2023
21 checks passed
@richm richm deleted the dump_packages branch October 4, 2023 23:32
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