Project

General

Profile

action #154783

Updated by mkittler 3 months ago

## Motivation 
 For #152847 we want to ensure that openQA tests can run directly from git without needing to manually prepare any locally prepared folders for test code or needles. To identify what we need to implement for proper needles support we should run os-autoinst-distri-example directly from git and then ensure that needles show up, e.g. by automatic local caching of the according test case and/or needle repositories in a cache on the web UI webUI host. 

 ## Goals 
 * **G1:** Identify necessary follow-up tasks so that needles show up in test details page for test cases directly coming from git 
 * **G2:** Identify relevant places on the web UI where needles are shown (probably only candidate needles on the test details page and in the needle editor, *maybe* also the admin needle management) 

 ## Suggestions 
 * Trigger tests with CASEDIR set to https://github.com/os-autoinst/os-autoinst-distri-example 
 * Read about `GIT_CACHE_DIR` in https://github.com/os-autoinst/os-autoinst/blob/master/doc/backend_vars.asciidoc and experiment with that in an openQA web UI webUI environment 
 * Consider trying out the above steps using http://open.qa/docs/#_single_instance_container 
 * See what's still missing in https://github.com/os-autoinst/openQA/pull/5175

Back