Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有可能在 starlarkbuild规则或通过调用的某些可执行文件编写 http 请求ctx.actions.run?
build
ctx.actions.run
我知道它可以用 bazel test(内部测试运行器)完成,但它可以在构建阶段完成吗?我知道这不利于网络沙盒(但可以说我们将其关闭)
test
您可以设置execution_requirements为包括requires-network.
execution_requirements
requires-network
一些注意事项: