# Commit Queue configuration file. The documentation of the format can be found
# at http://luci-config.appspot.com/schemas/projects/refs:cq.cfg.

version: 1
cq_name: "skiabuildbot"
cq_status_url: "https://chromium-cq-status.appspot.com"
git_repo_url: "https://skia.googlesource.com/buildbot/"

gerrit {}
rietveld {
  url: "https://codereview.chromium.org"
}

verifiers {
  reviewer_lgtm {
    committer_list: "project-skia-committers"
    max_wait_secs: 10800  # 3 hours
    no_lgtm_msg: "No LGTM from a valid reviewer yet. Please ask for an LGTM "
                 "from a\nfull Skia committer"
  }
  gerrit_cq_ability {
    committer_list: "project-skia-committers"
  }

  try_job {
    buckets {
      name: "skia.primary"
      builders { name: "Infra-PerCommit-Small" }
      builders { name: "Infra-PerCommit-Medium" }
      builders { name: "Infra-PerCommit-Large" }
    }
  }
}

# Commit Queue configuration file. The documentation of the format can be found
# at http://luci-config.appspot.com/schemas/projects/refs:cq.cfg.

version: 1
cq_name: "skiabuildbot"
cq_status_url: "https://chromium-cq-status.appspot.com"
git_repo_url: "https://skia.googlesource.com/buildbot/"

gerrit {}
rietveld {
  url: "https://codereview.chromium.org"
}

verifiers {
  reviewer_lgtm {
    committer_list: "project-skia-committers"
    max_wait_secs: 10800  # 3 hours
    no_lgtm_msg: "No LGTM from a valid reviewer yet. Please ask for an LGTM "
                 "from a\nfull Skia committer"
  }

  try_job {
    buckets {
      name: "skia.primary"
      builders { name: "Infra-PerCommit-Small" }
      builders { name: "Infra-PerCommit-Medium" }
      builders { name: "Infra-PerCommit-Large" }
    }
  }
}

Revert "CQ config: add gerrit CQAbility verifier."
Revert "CQ config: add gerrit CQAbility verifier."

This reverts commit ec33b1f7cf6978a19239a8f3f46fca5be32d92a5.

Reason for revert:

Our bot is failing due to this change: https://status.skia.org/repo/infra?commit_label=author&filter=interesting

We have a test https://skia.googlesource.com/buildbot/+/master/infra/bots/check_cq_cfg.py where we load cq.cfg into the cq_pb2 proto from .recipe_deps/depot_tools/third_party/cq_client/cq_pb2.py

Does not seem like the proto recognizes "gerrit_cq_ability"

Original change's description:
> CQ config: add gerrit CQAbility verifier.
> 
> Goal is to ensure that unreviewed and untrusted code isn't sent through
> CQ to try bots, by accident or through malicious intent.
> 
> R=​9fa2e7438b8cb730f96b74865492597170561628@google.com
> BUG=chromium:692613
> NOTRY=True
> 
> Change-Id: I7c160c0fcadfc7ce85da74192be18a326b30f558
> Reviewed-on: https://skia-review.googlesource.com/8621
> Reviewed-by: Ravi Mistry <9fa2e7438b8cb730f96b74865492597170561628@google.com>
> Commit-Queue: Ravi Mistry <9fa2e7438b8cb730f96b74865492597170561628@google.com>
> 

TBR=9fa2e7438b8cb730f96b74865492597170561628@google.com,reviews@skia.org,tandrii@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:692613

Change-Id: I2b34cd797be22756895be35257270b0f9a8c243b
Reviewed-on: https://skia-review.googlesource.com/8640
Reviewed-by: Ravi Mistry <9fa2e7438b8cb730f96b74865492597170561628@google.com>
Commit-Queue: Ravi Mistry <9fa2e7438b8cb730f96b74865492597170561628@google.com>
