Project

General

Profile

action #154156

Updated by livdywan 11 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. 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 
 * 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 environment 
 * Experiment how the git cache dir will be populated for multiple openQA jobs running in the same environment 
 * Try out multiple openQA jobs running in parallel relying on access to GIT_CACHE_DIR 
 * Possibly use it directly on o3 and monitor the impact 
 * 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 

 ## Out of scope 
 * Manage storage capacity long-term / clean-up service 
 * Considering how the worker cache service interacts

Back