diff --git a/commit-queue.cfg b/commit-queue.cfg index b84f8e81b..b2aacdb30 100644 --- a/commit-queue.cfg +++ b/commit-queue.cfg @@ -13,7 +13,7 @@ config_groups { url: "https://chromium-review.googlesource.com" projects { name: "libyuv/libyuv" - ref_regexp: "refs/heads/.+" + ref_regexp: "refs/heads/master" } } verifiers { @@ -111,3 +111,30 @@ config_groups { } } } +config_groups { + gerrit { + url: "https://chromium-review.googlesource.com" + projects { + name: "libyuv/libyuv" + ref_regexp: "refs/heads/infra/config" + } + } + verifiers { + gerrit_cq_ability { + committer_list: "project-libyuv-committers" + dry_run_access_list: "project-libyuv-tryjob-access" + } + tryjob { + builders { + name: "libyuv/try/presubmit" + } + retry_config { + single_quota: 1 + global_quota: 2 + failure_weight: 1 + transient_failure_weight: 1 + timeout_weight: 2 + } + } + } +} diff --git a/cr-buildbucket.cfg b/cr-buildbucket.cfg index 4beb7a97a..832b43be7 100644 --- a/cr-buildbucket.cfg +++ b/cr-buildbucket.cfg @@ -370,6 +370,15 @@ buckets { name: "win_x64_rel" mixins: "win" } + builders { + name: "presubmit" + mixins: "linux" + recipe { + name: "run_presubmit" + properties: "repo_name:libyuv" + properties_j: "runhooks:true" + } + } } }