You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to reuse both plans and tests for multiple components, which contain bind9 in various versions. Therefore common tests should be possible. I made it possible with use of context: component: bindX, as demonstrated in https://gitlab.com/redhat/centos-stream/rpms/bind9.18/-/merge_requests/3.
But either it is not sufficiently documented or it cannot propagate context changed from original place, which imports plans from different repository, which imports tests from a repository too.
But I have not found, how can I define context: component: in a fmf file containing plan: import:, which would also show in tmt plans show. If I use tmt -c component=bind9-next, it shows it fine. But not from a file containing import (or above hierarchy). Strange is environment is propagated fine, but component is not.
Gives significant difference in results, imported has only environment propagated. I think adjust cannot be done based on that, but can be on component. Which does not seem to be propagated.
My request is to make propagation possible either implicitly or explicitly by listing propagated context items.
The text was updated successfully, but these errors were encountered:
Closest issue related to this would be: #2964. Initially I was also considering having explicit support for each step, but I think that simply having something like adjust-plan would cover both cases. I think it's best to follow #2865 which does something similar for adjust-test at which point there will be a clearer picture on how the plan.import could be designed.
I am trying to reuse both plans and tests for multiple components, which contain bind9 in various versions. Therefore common tests should be possible. I made it possible with use of
context: component: bindX
, as demonstrated in https://gitlab.com/redhat/centos-stream/rpms/bind9.18/-/merge_requests/3.But either it is not sufficiently documented or it cannot propagate context changed from original place, which imports plans from different repository, which imports tests from a repository too.
End tests are using adjusts to require correct dependencies, based on context defined. Example of it is in https://src.fedoraproject.org/tests/bind/pull-request/13#.
But I have not found, how can I define
context: component:
in a fmf file containingplan: import:
, which would also show in tmt plans show. If I usetmt -c component=bind9-next
, it shows it fine. But not from a file containing import (or above hierarchy). Strange is environment is propagated fine, but component is not.Gives significant difference in results, imported has only environment propagated. I think adjust cannot be done based on that, but can be on component. Which does not seem to be propagated.
My request is to make propagation possible either implicitly or explicitly by listing propagated context items.
The text was updated successfully, but these errors were encountered: