Build concurrency with bazel builds #6047
Labels
build/bazel
kind/feature-request
priority/p3
agreed that this would be good to have, but no one is available at the moment.
Am interested in guidance on how best to use skaffold to run our CI builds. We're moving to using bazel for our artifact builds, and I was interested in how concurrency would be handled by the bazel server. It appears skaffold invokes multiple bazel builds, and bazel server only allows these to be run one at a time. Eg if I set
concurrency: 4
and run skaffold build with 4 bazel artifacts, I get... bazel waits until each build completes before allowing the next to start.
Is there a better way of setting this up? Is there any way for skaffold to invoke
bazel build //src/artifact1:artifact1.tar //src/artifact2:artifact2.tar //src/artifact3:artifact3.tar //src/artifact4:artifact4.tar
such that bazel handles the concurrency? (obviously I know with multiple providers they'll all behave differently so I understand the complexity; but am just wondering what the right way to handle this scenario is?The text was updated successfully, but these errors were encountered: