bazel-remote icon indicating copy to clipboard operation
bazel-remote copied to clipboard

How to setup lifecycle rule for s3 backend for bazel remote cache?

Open microyahoo opened this issue 1 year ago • 2 comments

As the cache data gradually grows, how to setup lifecycle rule for s3 backend for bazel remote cache, and without reducing build speed?

microyahoo avatar Mar 12 '24 10:03 microyahoo

Hi, I think there is a setup described in #624 that might help do what you want, but it is not perfect- see the proposed patch in #625. I wonder if you could help test this? If so, we might be able to land #625.

mostynb avatar Mar 12 '24 13:03 mostynb

hi @mostynb, thanks for your quick response.

I wonder if you could help test this? If so, we might be able to land https://github.com/buchgr/bazel-remote/pull/625.

Yes, I'd be happy to help with testing this, but I'm not very familiar with bazel remote, could you tell me on what needs to be tested? How to verify that expectations are met? Or do we just need to verify whether the modification time has been updated? Thanks.

microyahoo avatar Mar 13 '24 15:03 microyahoo