Project

General

Profile

action #156922

Updated by okurz about 1 month ago

## Motivation 
 With #154783 we have proper git caching so we can run git based tests efficiently on our workers now. Now we should go the next step and migrate one "production" test distribution to use only git and not hold anything provided by admins on o3 in o3:/var/lib/openqa/share/tests for this test distribution initially leaving it to openQA to automatically handle any checkout of the test distribution directory. distribution. 

 ## Acceptance criteria 
 * **AC1:** o3:/var/lib/openqa/share/tests/open{qa,QA} does do not need to be checked out or updated by fetchneedles  
 exist 
 * **AC2:** openqa-in-openqa tests still pass consistently 
 * **AC3:** openqa-in-openqa test details and source code views still show content as expected 

 ## Suggestions 
 * *DONE* Change test definitions in https://github.com/os-autoinst/os-autoinst-distri-openQA/blob/master/scenario-definitions.yaml to use https://github.com/os-autoinst/os-autoinst-distri-openQA for test code (and needles) 
 * Check that tests can be triggered this way 
 * Remove o3:/var/lib/openqa/share/tests/openqa and o3:/var/lib/openqa/share/tests/openQA and ensure tests still work as well as source code view in test details pages 
 
   * Ensure that openQA automatically keeps the git checkout up to date without needing fetchneedles Maybe test with OPENQA_CONFIG first

Back