tensorflow / tensorflow/java

Consider making CI bazel cache public for read only access

未关闭
#356 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Java
星标
928
派生
227
PR 合并指标
30 天内没有已合并 PR

描述

Bazel allows you to use the build cache in a read-only manner see here. It would be very helpful for local builds if we could make the cache used by the CI available in read only mode for local builds, and potentially automatically set that up (via a bazelrc or maven profile). Currently building from scratch takes several hours for me, which is quite a pain. It would require changing the permissions on the GCP bucket though and I'm not sure if that's something we can do.

cc @karllessard

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

先阅读 issue 中链接的 Bazel 远程缓存文档,然后检查仓库的 CI 配置以及任何 bazelrc 或 Maven profile。确定 GCP bucket 是否可以安全地为本地构建提供只读访问权限,以及应如何配置该访问权限。完成的标准是:本地构建可以使用 CI 缓存,同时不需要写入权限,也不会危及该 bucket。

由索引模型根据 Issue 内容生成。

评估

技术栈
gcp, java
领域
build-system, ci-cd, cloud
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。