Project

General

Profile

action #161771

Updated by mkittler 20 days ago

## Motivation 
 Consider transient openQA instances like openQA-single-instance-container but also new instances where we do not want to rely on admins to manually put stuff into /var/lib/openqa/share/tests. For those we want to ensure that openQA automatically clones git repos specified as part of tests but also keeps those working copies up to date. In #159171 mostly https://github.com/os-autoinst/openQA/pull/5622 was merged but AFAIK we have neither a system level test demonstrating that behaviour nor documentation explaining the functionality. 

 ## Acceptance criteria 
 * **AC1:** Documentation and/or system level tests demonstrate the functionality introduced in #159171 
 * **AC2:** Assuming #159171 does what it promises then applicable openqa-in-openqa tests ~~as as well as openqa-bootstrap~~ openqa-bootstrap should not clone tests+needles but rely on openQA to do that 

 ## Suggestions 
 * Get to understand the original feature if you haven't had the opportunity yet 
 * Add documentation on open.qa 
 * Enable the feature in one of the openQA-in-openQA test scenarios and remove the manual checkout 
 * Fix any minor issues coming up from the system level testing as needed 

 ## Remarks 
 It doesn't make sense to remove the cloning in openqa-bootstrap as the bootstrapped instance is still supposed to run tests from non-Git sources out of the box. Additionally, the download in advance might be something expected from the bootstrap script (at this point) and we should not break it. For openQA-in-openQA tests it makes also only sense to change scenarios that are using Git sources (but we should ensure we have at least one such scenario).

Back