File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ common --incompatible_use_plus_in_repo_names
1111build --bes_results_url=https://app.buildbuddy.io/invocation/
1212build --bes_backend=grpcs://remote.buildbuddy.io
1313
14+ build:rbe --platforms=//:docker_image_platform
15+ build:rbe --host_platform=//:docker_image_platform
16+
17+
1418# Don't let environment variables pollute the build
1519# PATH is part of the action input and can lead to massive cache misses
1620build --incompatible_strict_action_env
Original file line number Diff line number Diff line change 3030 password : ${{ secrets.GH_TOKEN }}
3131
3232 - name : Build and test
33- run : bazel build --remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_TEST }} --remote_cache=grpcs://remote.buildbuddy.io --remote_timeout=10m //...
33+ run : bazel build --remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_TEST }} --remote_cache=grpcs://remote.buildbuddy.io --remote_timeout=10m --remote_executor=grpcs://remote.buildbuddy.io --config=rbe //...
Original file line number Diff line number Diff line change @@ -529,3 +529,16 @@ test_suite(
529529 ":albatross-test-misc" ,
530530 ],
531531)
532+
533+ platform (
534+ name = "docker_image_platform" ,
535+ constraint_values = [
536+ "@platforms//cpu:x86_64" ,
537+ "@platforms//os:linux" ,
538+ ],
539+ exec_properties = {
540+ "OSFamily" : "Linux" ,
541+ "dockerNetwork" : "off" ,
542+ "container-image" : "docker://gcr.io/flame-public/rbe-ubuntu20-04:latest" ,
543+ },
544+ )
You can’t perform that action at this time.
0 commit comments