)]}'
{
  "commit": "12d21500c43c778da5bd88ea254fc3f92132acba",
  "tree": "595b4f343dd9b8d0c8435bbedbbd5532e027996c",
  "parents": [
    "ad6e236b7918ca2acb1335563f6861689b4a5012"
  ],
  "author": {
    "name": "Chi Wang",
    "email": "chiwang@google.com",
    "time": "Fri Jul 31 20:49:06 2026 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Jul 31 11:49:06 2026 +0000"
  },
  "message": "Release bazel_ci_rules 2.1.0 (#2751)\n\n# Release Notes: `bazel_ci_rules` v2.1.0 🚀\n`bazel_ci_rules` v2.1.0 introduces **automatic dual execution mode\nsupport (`docker` vs `host`)** for dynamic RBE toolchain generation.\n\n## 🌟 Key Highlights\n* **Automatic Dual Execution Modes**: Dynamically detects the execution\nenvironment. By default (`RBE_CONFIG_CONTAINER` unset), it uses\nDocker-out-of-Docker (`--exec_mode\u003ddocker`). In containerized CI\npipelines where `RBE_CONFIG_CONTAINER` is exported, it automatically\nswitches to host mode (`--exec_mode\u003dhost`), compiling `rbe_configs_gen`\nnatively on the host via `go build` without requiring Docker daemon\naccess.\n* **Host Container Authority**: In `--exec_mode\u003dhost`, the target\ncontainer image string in `@rbe_ubuntu//config:platform` is\nauthoritatively determined by the `RBE_CONFIG_CONTAINER` environment\nvariable to prevent toolchain and ABI discrepancies.\n* **Zero Docker Socket Dependency in CI**: Eliminates\n`/var/run/docker.sock` volume mounting requirements in worker containers\nand CI pipelines.\n\n---\n## 🛠 Quick Start \u0026 Usage\n### Bzlmod (Bazel 8+)\n```bazel\nbazel_dep(name \u003d \"bazel_ci_rules\", version \u003d \"2.1.0\")\nrbe \u003d use_extension(\"@bazel_ci_rules//:rbe_config.bzl\", \"rbe_config_extension\")\nrbe.config(name \u003d \"rbe_ubuntu\", preset \u003d \"ubuntu\")\nuse_repo(rbe, \"rbe_ubuntu\")\n```\n### Legacy WORKSPACE\n```python\nload(\"@bazel_tools//tools/build_defs/repo:http.bzl\", \"http_archive\")\nhttp_archive(\n    name \u003d \"bazel_ci_rules\",\n    strip_prefix \u003d \"continuous-integration-rules-2.1.0\",\n    url \u003d \"https://github.com/bazelbuild/continuous-integration/releases/download/rules-2.1.0/bazel_ci_rules-2.1.0.tar.gz\",\n)\nload(\"@bazel_ci_rules//:rbe_config.bzl\", \"rbe_config\")\nrbe_config(name \u003d \"rbe_ubuntu\", preset \u003d \"ubuntu\")\n```",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1825b9a14b9dfab5ee5e89ee793ee4f2055209ef",
      "old_mode": 33188,
      "old_path": "rules/MODULE.bazel",
      "new_id": "41d2963c1a962b29cb381757a46f81bb23cdde71",
      "new_mode": 33188,
      "new_path": "rules/MODULE.bazel"
    }
  ]
}
