{
    "provisionerId": "aws-provisioner-v1",
    "workerType": "rustbuild",
    "created": "{task_created}",
    "deadline": "{task_deadline}",
    "payload": {
        "image": "quay.io/rust/gecko-rust-build",
        "env": {
            "RUST_BRANCH": "{rust_branch}"
        },
        "artifacts": {
            "public/rustc.tar.xz": {
              "path": "/home/worker/rustc.tar.xz",
              "expires": "{artifacts_expires}",
              "type": "file"
            },
            "public/manifest.tt": {
              "path": "/home/worker/manifest.tt",
              "expires": "{artifacts_expires}",
              "type": "file"
            }
        },
        "features": {
          "relengAPIProxy": true
        },
        "maxRunTime": 6000
    },
    "scopes": [
      "docker-worker:relengapi-proxy:tooltool.upload.public"
    ],
    "metadata": {
        "name": "Rust toolchain build",
        "description": "Builds the rust toolchain for use in gecko builders.",
        "owner": "giles@mozilla.com",
        "source": "https://github.com/rillian/rust-build/"
    }
}
