{
  "repo": "tidbcloud/qa-upgrade-auto",
  "binary": "qa-upgrade-auto",
  "binary_path": "main_test.go",
  "dependencies": {
    "CLI qa-upgrade-auto main-test": {
      "description": "Prepares upgrade test clusters, runs remote workloads, and validates upgrade outcomes for cluster, tenant, or default version changes.",
      "infrastructure": {
        "dbaas_http_apis": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "Create, restore, upgrade, and validate TiDB Cloud clusters under test",
              "trigger": "prepare/check/common packages",
              "implementation": "main_test.go"
            }
          ]
        },
        "remote_workload_host": {
          "conditions": [
            "ec2host and cerpath provided"
          ],
          "operations": [
            {
              "operation": "Run go-tpc workload remotely through SSH before and after upgrade",
              "trigger": "prepare.RunGoTPC / common.StopRunWorkload",
              "implementation": "main_test.go"
            }
          ]
        }
      },
      "services": []
    }
  }
}
