Project

General

Profile

action #154237

Updated by livdywan 3 months ago

## Motivation 
 As part of #138029 support for git caching was included in os-autoinst covering test distributions as well as wheel repository. We can now look into caching test distributions from git fully enabled on a production openQA instance but also considering the worker cache service, e.g. circumvent the worker cache service or actually make use of it. 

 ## Acceptance criteria 
 * **AC1:** At least one test distribution on openqa.opensuse.org uses git caching successfully 
 * **AC2:** There is no redundant syncing in the worker cache service, e.g. no cloning from github but the worker cache syncs test data that is never used 

 ## Suggestions 
 * See what has had been done in #154156 
 * Consider the impact on or off the worker cache service, e.g. take a look into logs of affected openQA jobs and see how caching and git caching interact or not interact 
 * Consider the impact on or off the worker cache service, e.g. take a look into logs of affected openQA jobs and see how caching and git caching interact or not interact 
 * One simple approach could be to simply not trigger syncing the worker test distribution directory caching in openQA jobs that have GIT_CACHE_DIR+CASEDIR+NEEDLESDIR includes a git URL set 
 * Checkout the documentation of the worker cache to get started: https://open.qa/docs/#asset-caching 
   * Consider adding something to the docs to make "worker cache" more discoverable 
   * Add GIT_CACHE_DIR to the docs 

 ## Out of scope 
 * Manage storage capacity long-term / clean-up  

Back