cockpit-project / cockpituous

Cockpit Continuous Integration and Delivery
GNU Lesser General Public License v2.1
36 stars 35 forks source link

tasks: Bring back git caching #611

Closed martinpitt closed 5 months ago

martinpitt commented 5 months ago

With the move to job-runner we lost the caching of ~/.cache/cockpit-dev, in particular the node-cache (the biggest of all).

~While at it, it would also be really helpful to start caching pixel refs -- they also take a long time to check out.~ -- that was proposed in https://github.com/cockpit-project/cockpit/pull/15995 but eventually found that it's preferable to treat them as git submodule.

These should go into a persistent volume, either a single one across all runners, or a per-monitor-container instance one, depending on whether git/our scripts are safe for concurrent writes.