Name Date Size #Lines LOC

..--

dockerfile/rbe_windows2019/H25-Apr-2025-8481

rbe_ubuntu2004/H25-Apr-2025-7,2277,072

rbe_windows_bazel_6.3.2_vs2019/H25-Apr-2025-2,5142,315

BUILDH A D25-Apr-20252.7 KiB7565

README.mdH A D25-Apr-20252 KiB3826

generate_linux_rbe_configs.shH A D25-Apr-20252.4 KiB6323

generate_windows_rbe_configs.shH A D25-Apr-20252.1 KiB5618

README.md

1# RBE toolchain configuration (Linux and Windows)
2
3## Linux
4The `rbe_ubuntu2004` directory contains the autogenerated toolchain configuration for linux RBE.
5Run `generate_linux_rbe_configs.sh` to regenerate.
6
7## Windows
8
9The `rbe_windows_bazel_6.3.2_vs2019` directory contains the autogenerated toolchain configuration for windows RBE.
10The configuration was generated by the `rbe_configs_gen` tool (just as the linux RBE config),
11but since it's a windows configuration, it needs to be run on a windows machine.
12
13In order to regenerate:
14- Clone `grpc` repository in a kokoro debug windows VM (see internal documentation for how to create one)
15- Run `generate_windows_rbe_configs.sh` to regenerate the configs locally on the VM.
16- Copy the generated configs back to your workstation (e.g. via `gcloud compute scp` command)
17
18Note that the bazel version denotes the bazel version that was used to generate the toolchain configuration. The configuration
19can be use with different bazel versions (as long as it works).
20
21Also see go/rbe-windows-user-guide
22
23# Windows RBE docker image
24
25The `dockerfile/rbe_windows2019` directory contains the dockerfile to rebuild the docker image we use on RBE windows workers. See go/rbe-windows-user-guide.
26
27Note that for linux, we use a docker image under `tools/dockerfile` (since for Linux RBE docker image is simply of the testing docker images
28we maintain)
29
30## How to rebuild the Windows RBE docker image and use it for Windows RBE
31
32On a kokoro debug windows VM, run the following:
33- `docker build -t us-docker.pkg.dev/grpc-testing/testing-images-public/rbe_windows2019 third_party/toolchains/dockerfile/rbe_windows2019`
34- To be able to authenticate when pushing the image to GAR, run `gcloud auth configure-docker us-docker.pkg.dev`
35- `docker push us-docker.pkg.dev/grpc-testing/testing-images-public/rbe_windows2019`
36- Update the `generate_windows_rbe_configs.sh` with the newly built & pushed image's SHA256 digest.
37- Regenerate the Windows RBE toolchain with the instructions above.
38