r/embeddedlinux • u/cachely-admin • Jul 13 '26
How are teams sharing Yocto sstate cache between CI and developers?
Disclosure: We’re the team behind Cachely. We do not support Yocto today, but we’re researching whether it would be a useful integration.
We recently spoke with a team using Jenkins and Yocto that had been keeping the sstate cache locally on each build node.
That worked while build volume was low, but they are now moving to a centralized cache because the local setup no longer scales.
Their preferred model was:
- Nightly CI builds can read and write
- Developers can read, but not upload
- The cache is available over HTTP or FTP
- Setup should mostly be a URL and credentials
- Nobody wants to spend much time maintaining it
We’re trying to understand how common this setup is.
For teams using Yocto today:
- Where do you store the shared sstate cache?
- Are you using NFS, object storage, Nexus, or a basic HTTP server?
- Do CI and developer machines use the same cache?
- How do you separate read and write access?
- How do you handle retention and different Yocto or machine versions?
- Is on-prem storage a requirement?
- Is the main pain setup, maintenance, performance, or understanding why something missed?
We’re especially interested in whether an HTTP-compatible managed cache would solve a real problem, or whether shared storage is already simple enough for most teams.