Bazel remote cache analysis data

 ̄綄美尐妖づ 提交于 2020-12-06 08:24:23

问题


I am running bazel (via bazelisk) inside a docker container on jenkins. Furthermore I use a remote cache. On subsequent runs with no changes I get 100% cache hits, but the analysis phase (~60seconds) runs everytime a new container is created.

Is there a way to cache the analysis data remotely aswell or am I forced to run bazel directly on the jenkins agent so it doesn't shut itself off after build completion?

Thanks in advance


回答1:


https://docs.bazel.build/versions/master/remote-caching.html#known-issues

this link describes that the state is stored in-memory and therefore can not be cached easily



来源:https://stackoverflow.com/questions/58220283/bazel-remote-cache-analysis-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!