)]}'
{
  "commit": "be74284cb84581b7217a934d2a771edb7c948223",
  "tree": "c943b51d32f0f0c0f81b97faa4660a9099b3caee",
  "parents": [
    "fe7134b0b25b620b6f40b1f41f37ab93fca6d3c0"
  ],
  "author": {
    "name": "Serge Bazanski",
    "email": "serge@monogon.tech",
    "time": "Mon Apr 04 13:18:50 2022 +0200"
  },
  "committer": {
    "name": "Sergiusz Bazanski",
    "email": "serge@monogon.tech",
    "time": "Wed Apr 06 09:52:24 2022 +0000"
  },
  "message": "m/test: implement SOCKS proxy in cluster tests\n\nThis uses the new socksproxy package to run a proxy server in the\nnanoswitch, and uses it within tests to access the test cluster\u0027s nodes.\n\nThe cluster test code (and nanoswitch) still forward traffic to the\nfirst node, but this will be gradually removed as SOCKS support is\nimplemented in metroctl and the debug tool. Forwards from host ports to\ndifferent node can then be implemented as part of the dbg tool (instead\nof the cluster launch code) to maintain a simple interface during debug\nand development.\n\nWe also use the opportunity to make the non-cluster launch code not\nMetropolis specific (by removing an assumption that all ports on all\nnodes are Metropolis ports). In the long term, we will probably remove\nnon-cluster launches entirely (or further turn this code into just being\na \u0027launch qemu\u0027 wrapper).\n\nChange-Id: I9b321bde95ba74fbfaa695eaaad8f9974aba5372\nReviewed-on: https://review.monogon.dev/c/monogon/+/648\nReviewed-by: Lorenz Brun \u003clorenz@monogon.tech\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "30932de36837bf4faf6d8049fde67e079a8a9dd4",
      "old_mode": 33188,
      "old_path": "metropolis/test/e2e/BUILD.bazel",
      "new_id": "4d0485745c48a491f1483af22788c37ee03279cd",
      "new_mode": 33188,
      "new_path": "metropolis/test/e2e/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "15be332e700325decc039f5973d63ec7d948be6f",
      "old_mode": 33188,
      "old_path": "metropolis/test/e2e/k8s_cts/main.go",
      "new_id": "c0adc75bab5f9cadedbebe07ec8436260673f871",
      "new_mode": 33188,
      "new_path": "metropolis/test/e2e/k8s_cts/main.go"
    },
    {
      "type": "modify",
      "old_id": "f7dfff8239776884564d2beaf0b068dbb3feed19",
      "old_mode": 33188,
      "old_path": "metropolis/test/e2e/main_test.go",
      "new_id": "51dbe4b18cf534b5ede2b0e8477a0474f86239b8",
      "new_mode": 33188,
      "new_path": "metropolis/test/e2e/main_test.go"
    },
    {
      "type": "modify",
      "old_id": "4508dd554cdd48478f13278f1060b5a6970b30df",
      "old_mode": 33188,
      "old_path": "metropolis/test/launch/BUILD.bazel",
      "new_id": "ff476c6768ccfb3862f7f2fa99fdd27728fc60f6",
      "new_mode": 33188,
      "new_path": "metropolis/test/launch/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "55673799182f5324b74dfadd2ec5ea062a8c2ae5",
      "old_mode": 33188,
      "old_path": "metropolis/test/launch/cli/launch/main.go",
      "new_id": "a826ea0568ac89a035ee97de9e6d8387074580e0",
      "new_mode": 33188,
      "new_path": "metropolis/test/launch/cli/launch/main.go"
    },
    {
      "type": "modify",
      "old_id": "2ca9816189ddf47215a333a92fdf7d5ff15f7efc",
      "old_mode": 33188,
      "old_path": "metropolis/test/launch/cluster/BUILD.bazel",
      "new_id": "b70428c161a020a3963fbbfba2b37fc09e55f6d2",
      "new_mode": 33188,
      "new_path": "metropolis/test/launch/cluster/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "cf9cd07cbd2d582b69e23d911e840e85dbea0f99",
      "old_mode": 33188,
      "old_path": "metropolis/test/launch/cluster/cluster.go",
      "new_id": "da7862f92a28ca4018b516de0026f55dae7f4efb",
      "new_mode": 33188,
      "new_path": "metropolis/test/launch/cluster/cluster.go"
    },
    {
      "type": "modify",
      "old_id": "219e7873c050fa55fe95de6075f6077b6b6c5fe3",
      "old_mode": 33188,
      "old_path": "metropolis/test/launch/launch.go",
      "new_id": "8f72434762cfd777f1c6074bef7c294ba3ce53e8",
      "new_mode": 33188,
      "new_path": "metropolis/test/launch/launch.go"
    },
    {
      "type": "modify",
      "old_id": "74f2ddfff1be55469e65e430157b14e60dfd397c",
      "old_mode": 33188,
      "old_path": "metropolis/test/nanoswitch/BUILD",
      "new_id": "a3163f5caf3583e684a294c61e13bb9eefefce5f",
      "new_mode": 33188,
      "new_path": "metropolis/test/nanoswitch/BUILD"
    },
    {
      "type": "modify",
      "old_id": "de04a42b77b1f4bc163c7e7c16367b19c8c709e7",
      "old_mode": 33188,
      "old_path": "metropolis/test/nanoswitch/nanoswitch.go",
      "new_id": "5cc20772d4ee66c5644d322bd05a416d29382df7",
      "new_mode": 33188,
      "new_path": "metropolis/test/nanoswitch/nanoswitch.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7b0278a44579198e4d8ea109c2f8effa01223d30",
      "new_mode": 33188,
      "new_path": "metropolis/test/nanoswitch/socks.go"
    }
  ]
}
