rpm-software-management / dnf-plugins-core

Core DNF Plugins
GNU General Public License v2.0
109 stars 141 forks source link

Testing `dnf4 bootc` #563

Open evan-goode opened 1 week ago

evan-goode commented 1 week ago

The DNF 4 bootc plugin needs integration tests, and ci-dnf-stack is not equipped to test things meant for OSTree systems. Some unanswered questions are:

evan-goode commented 1 week ago

cc @cgwalters

cgwalters commented 1 week ago

Where should the tests run (GHA, CoreOS Jenkins, Testing Farm)?

I think Testing Farm is likely the most practical. (Which also points to the "testing framework" issue, we've tried to make tmt work)

Should we write the tests from scratch, or base them on existing rpm-ostree and/or bootc tests?

There may be some bits that could be copied, but I'm not sure how much. Probably the most interesting thing here is that at least on the bootc side we build a container with the updated bootc and test that.


In the more medium term I think we may try to reprioritize "run bootc/ostree in a container" which would dramatically simplify this story.