)]}'
{
  "commit": "3ac0ac1ab3d9a18268146397c1582114cd170da8",
  "tree": "4fcbf51b88c2620056d1ee1c17e025dd936bf645",
  "parents": [
    "a0de8c9d09c5f59bf949c30ea6ffbe4d2a6c4219"
  ],
  "author": {
    "name": "James Leitch",
    "email": "me@rickvanprim.com",
    "time": "Mon Dec 04 04:25:26 2023 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Dec 04 13:25:26 2023 +0100"
  },
  "message": "Ubuntu (Nix) container removed (#1827)\n\n**EDIT**: Based on the iteration here, I realized that I could in fact\r\ninstall Nix in single-user mode as part of the `setup` phase of\r\n`bazelci.py`, meaning that a container preloaded with Nix isn\u0027t\r\nnecessary. Oops 😅\r\n\r\nUbuntu (Nix) container explicitly creates a `buildkite` user to match\r\nthe user mapped in when run by BuildKite and Nix is updated to run in\r\nmulti-user (daemon) mode via an `ENTRYPOINT` script.\r\n\r\nVerified with `docker run -it --rm -u 997:997\r\ngcr.io/bazel-public/ubuntu2204-nix python3` followed by `import certifi`\r\nto validate Python still works, and then `docker run --rm -u 997:997\r\ngcr.io/bazel-public/ubuntu2204-nix /bin/sh -e -c $\u0027cd ~/\\n git clone\r\nhttps://github.com/ConsumingChaos/rules_rust.git\\n cd rules_rust\\n git\r\ncheckout wasm32_cc_info\\n cd examples/nix_cross_compiling\\n\r\nCARGO_BAZEL_REPIN\u003dtrue bazel build //:nix_cross_compiling\u0027` to verify\r\nthe actual Bazel example target builds.\r\n\r\nThe `CARGO_BAZEL_REPIN\u003dtrue` shouldn\u0027t be part of the normal run (I\r\ndon\u0027t think...), but that\u0027s something to be fixed in `rules_rust` and\r\nnot an issue with the container thankfully 😅",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e0b7ece22daa4cc4f342d2adb2fc4d27bfc83c78",
      "old_mode": 33261,
      "old_path": "buildkite/bazelci.py",
      "new_id": "c212601f4c45191bb833693d37a6ac09ceb15779",
      "new_mode": 33261,
      "new_path": "buildkite/bazelci.py"
    },
    {
      "type": "modify",
      "old_id": "63200543b2a214af929939ef0f88e52f55b0025f",
      "old_mode": 33261,
      "old_path": "buildkite/docker/build.sh",
      "new_id": "812ef4c66a63338f06150f1cb07af8690b9894b3",
      "new_mode": 33261,
      "new_path": "buildkite/docker/build.sh"
    },
    {
      "type": "modify",
      "old_id": "174270fd3f46e93bbef437c20fdd5222b9507610",
      "old_mode": 33261,
      "old_path": "buildkite/docker/push.sh",
      "new_id": "83d0aa97b0a1d66462178c9dfc4fad8c39f185eb",
      "new_mode": 33261,
      "new_path": "buildkite/docker/push.sh"
    },
    {
      "type": "delete",
      "old_id": "d2397f55b60daf475c78237088c1f6a0fcc2faf2",
      "old_mode": 33188,
      "old_path": "buildkite/docker/ubuntu2204-nix/Dockerfile",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    }
  ]
}
