From 95c3d345fdafee0c2fdf6739608a2983539076cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Terelius?= Date: Fri, 5 May 2023 15:05:55 +0200 Subject: [PATCH] Allow non-committers to trigger dry-run of already LGTMed CLs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: b/279134081 Change-Id: Icc5800c15e8643ebb38f803cd899edc987bf3ab2 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/304283 Reviewed-by: Mirko Bonadei Commit-Queue: Björn Terelius Reviewed-by: Christoffer Jansson Reviewed-by: Yiwei Zhang Cr-Commit-Position: refs/heads/main@{#39995} --- infra/config/commit-queue.cfg | 1 + infra/config/config.star | 1 + infra/config/project.cfg | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/infra/config/commit-queue.cfg b/infra/config/commit-queue.cfg index f914e8af12..162590f0b4 100644 --- a/infra/config/commit-queue.cfg +++ b/infra/config/commit-queue.cfg @@ -24,6 +24,7 @@ config_groups { gerrit_cq_ability { committer_list: "project-webrtc-committers" dry_run_access_list: "project-webrtc-tryjob-access" + allow_owner_if_submittable: DRY_RUN } tree_status { url: "https://webrtc-status.appspot.com" diff --git a/infra/config/config.star b/infra/config/config.star index 4dc527b07d..4baeb5f410 100755 --- a/infra/config/config.star +++ b/infra/config/config.star @@ -303,6 +303,7 @@ luci.cq_group( acl.entry(acl.CQ_COMMITTER, groups = ["project-webrtc-committers"]), acl.entry(acl.CQ_DRY_RUNNER, groups = ["project-webrtc-tryjob-access"]), ], + allow_owner_if_submittable = cq.ACTION_DRY_RUN, retry_config = cq.RETRY_ALL_FAILURES, cancel_stale_tryjobs = True, ) diff --git a/infra/config/project.cfg b/infra/config/project.cfg index 640686739d..d0d0dec71e 100644 --- a/infra/config/project.cfg +++ b/infra/config/project.cfg @@ -7,7 +7,7 @@ name: "webrtc" access: "group:all" lucicfg { - version: "1.39.4" + version: "1.39.8" package_dir: "." config_dir: "." entry_point: "config.star"