Closed tomasfratrik closed 5 months ago
Please note that every PR needs to comply with the Leapp Guidelines and must pass all tests in order to be mergeable. If you want to request a review or rebuild a package in copr, you can use following commands as a comment:
Packit will automatically schedule regression tests for this PR's build and latest upstream leapp build. If you need a different version of leapp, e.g. from PR#42, use /packit test oamg/leapp#42
Note that first time contributors cannot run tests automatically - they will be started by a reviewer.
It is possible to schedule specific on-demand tests as well. Currently 2 test sets are supported, beaker-minimal
and kernel-rt
, both can be used to be run on all upgrade paths or just a couple of specific ones.
To launch on-demand tests with packit:
kernel-rt
tests set for all upgrade pathskernel-rt
and beaker-minimal
test sets for 8.10->9.4 upgrade pathSee other labels for particular jobs defined in the .packit.yaml
file.
Please open ticket in case you experience technical problem with the CI. (RH internal only)
Note: In case there are problems with tests not being triggered automatically on new PR/commit or pending for a long time, please contact leapp-infra.
My notes:
_get_rpm_name
into 2 tests, 1 containing normal tests, and other one error. Now it could considered as 'redundant' (even though the code still differs), but I think it is more readable. Before there were basically multiple if statements that separated if it is error or not.I will squash commits, and write proper commit message after approved, or when it is finalized.
/packit build
/packit rebuild-failed
/packit rebuild-failed
/packit build
When splitting _get_rpm_name
I forgot to check warnmsg, should be fixed now.
@fernflower seems that automatic building is broken by general.
/packit build
Test if files are correctly tracked by actor. Create mocked existent/non-existent, modified/non-modified, rpm owned/not-owned files. Also test non-existent version files.
Jira: OAMG-10367