bazelbuild / bazel-toolchains

Repository that hosts Bazel toolchain configs for remote execution and related support tools.
Apache License 2.0
186 stars 96 forks source link

Implement configs uploader GCB job #937

Closed smukherj1 closed 3 years ago

smukherj1 commented 3 years ago

Changes:

  1. New Go binary rbe_configs_upload to upload generated configs to GCS.
  2. Updated GCB job which generates C++/Java configs for latest Bazel/container combination and uploads them to GCS.

Tested: Ran the new GCB job and it uploaded the following artifacts:

  1. https://storage.googleapis.com/rbe-bazel-toolchains/configs/latest/rbe_default.tar
  2. https://storage.googleapis.com/rbe-bazel-toolchains/configs/latest/manifest.json
  3. https://storage.googleapis.com/rbe-bazel-toolchains/configs/bazel_4.0.0/latest/rbe_default.tar
  4. https://storage.googleapis.com/rbe-bazel-toolchains/configs/bazel_4.0.0/latest/manifest.json

Next steps:

  1. Look into internal automation to trigger the new GCB job & capture pass/fail
  2. Add e2e tests to compile Hello World C++ & Java examples using the configs generated by the new Go CLIs