Discover test from sources #875
Replies: 4 comments 9 replies
-
Hi @lukaszachy , thanks for looking into this. |
Beta Was this translation helpful? Give feedback.
-
@lukaszachy : I like this proposal: It does not intrude on the structure and syntax (just I am just a bit unclear what you mean by "pre-discover" step. Was that an option you discarded, or is this meant to run before the |
Beta Was this translation helpful? Give feedback.
-
I would more like syntax:
|
Beta Was this translation helpful? Give feedback.
-
Update: #742 has new code. |
Beta Was this translation helpful? Give feedback.
-
Use cases looks simple - Discover tests which are included in the source of a component.
We have #588, #585 and #742 opened for this or related changes.
The extraction part can be easy enough - Get url to source tarball (based on fedora/centos/rhel and content of sources file) and extract it into provided or default location.
But after that it is a can of worms:
I started #742 as Discover plugin but I realize that pre-discover option might be much better because:
I'd like to have your opinion about following plan:
As a MDP
setup
options for discover (name subject to change) which:This will work for components which don't patch tests in spec file.
Since spec and patches will be copied too, one can run those in Prepare step as a workaround (not encouraged but possible).
As a next steps (tmt 1.9, 2.x) we provide podman/mock based setup which will execute rpm-build/install deps and so on.
MDP configuration could be
Full configuration possibly (since shell is present it should be run by secure implementation or local one with explicit flag to allow shell/execution).
Will it work for you? Feedback please: @psss @jscotka @pvalena @thrix @jkonecny12 @martinpitt @kkaarreell
Beta Was this translation helpful? Give feedback.
All reactions