cstamas opened a new pull request, #11379:
URL: https://github.com/apache/maven/pull/11379

   Problem: Our caches (all of them) are over 10GB allowed cache space. Due 
this, GH is dropping caches and our jobs end up exposed to HTTP 500 that since 
migration Central happens quite often. We used the plain `actions/cache` to 
store Mimir caches for each node (200-400 MB depending on which node we talk 
about), and we have 3 active branches (3.9, 4.0 and master), that simply totals 
out the 10 GB limit.
   
   This PR makes we have one "cache blob" per OS, so each OS has one cache blob 
(times three, for 3.9, 4.0 and master).
   
   Changes:
   * implement "always save" pattern (see cache doco)
   * we keep cache "per lane" (per OS)
   * 3 kind of builds (initial, full and integration-tests) all use same (per 
OS) cache at start and at end uploads cache as artifact (1 day retention)
   * at end there is a matrix job "consolidate caches" (runs on all 3 OSes) 
that downloads caches and consolidate them and save cache
   * hence, we will have 3 OS specific caches
   
   Backport of 304791ec1c50516c989a408a147a6b46fe707e24
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to