Project

General

Profile

action #156922

Updated by okurz 13 days ago

https://progress.opensuse.org/issues/156922 

 Run os-autoinst-distri-openQA directly from git without anything related in o3:/var/lib/openqa/share/tests 

 ## 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. 

 ## Acceptance criteria 
 * **AC1:** `o3:/var/lib/openqa/share/tests/open{qa,QA}` o3:/var/lib/openqa/share/tests/open{qa,QA} does not need to be checked out (should already be covered in general, needs to be tested on o3) 
 * **AC2:** `o3:/var/lib/openqa/share/tests/open{qa,QA}` does not need to be or updated by fetchneedles  
 * **AC3:** **AC2:** openqa-in-openqa tests still pass consistently 
 * **AC4:** **AC3:** openqa-in-openqa test details and source code views still show content as expected 

 ## Suggestions 
 * Similar to #162125 but only about os-autoinst-distri-openQA which already uses CASEDIR=https://github.com… consistently but includes the initial checkout part as well 
 * *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 and needle candidates in test details pages 
 * Ensure that openQA automatically keeps the git checkout up to date without needing fetchneedles

Back