Project

General

Profile

action #162125

Updated by okurz 6 months ago

## Motivation 
 fetchneedles is a script provided within the openQA repo and we call it on o3+osd in a cron job every minute to keep test distribution checkouts updated but it's not well documented, can interfer with openQA internal git handling and (probably) still needs initial checkout of test distributions. Let's see what else would be necessary to use the new openQA internal support for checking out git test distributions if they don't exist yet. 

 ## Goals 
 * **G1:** A migration plan for existing test distribution on o3 exists so that `/var/lib/openqa/share/tests/*` would /var/lib/openqa/share/tests/* does not need to be checked out or updated by fetchneedles, e.g. on o3 if checkouts already exist 
 * **G2:** **AC2:** tests would still pass consistently 
 * **G3:** **AC3:** test details and source code views would still show content as expected 

 ## Suggestions 
 * Apply the approach from #156922 for other test distributions at best in a local reproduction environment but if you are careful or a daredevil you could do it in production :) 
 * Try where to update checkouts e.g. in an openQA minion job 
 * If you don't know the movie "Despicable me" then watch that first but don't count it as part of the 10h timebox :) 

 ## Out of scope 
 * Doing any kind of initial checkout if git working copies do not exist yet

Back