project.config: remove legacy trybot labels and submit requirement Legacy trybots and slowbots are no more. Clean up the unneeded labels and the obsolete submit requirement. For golang/go#67761. Change-Id: I7a3851860cb29453a13496ad186ae8075b690d10 Reviewed-on: https://go-review.googlesource.com/c/All-Projects/+/792660 Reviewed-by: Cherry Mui <cherryyz@google.com>
diff --git a/project.config b/project.config index 01a3a14..16722c7 100644 --- a/project.config +++ b/project.config
@@ -47,11 +47,6 @@ removeLabel-Code-Review = +0..+2 group cria/project-golang-approvers label-Hold = +0..+1 group cria/project-golang-approvers removeLabel-Hold = +0..+1 group cria/project-golang-approvers - label-Run-TryBot = +0..+1 group cria/project-golang-may-start-trybots - label-Run-TryBot = +0..+1 group gobot - removeLabel-Run-TryBot = +0..+1 group cria/project-golang-may-start-trybots - label-TryBot-Result = -1..+1 group gobot - removeLabel-TryBot-Result = -1..+1 group cria/project-golang-may-start-trybots label-TryBot-Bypass = +0..+1 group cria/project-golang-approvers label-TryBot-Bypass = +0..+1 group gobot label-LUCI-TryBot-Result = -1..+1 group luci_scoped_account @@ -106,21 +101,6 @@ copyCondition = is:ANY value = 0 This change can be submitted. value = +1 Hold this change: don't submit it yet. -[label "Run-TryBot"] - description = Used to start legacy TryBots. - function = NoBlock - defaultValue = 0 - value = 0 Don't run legacy TryBots - value = +1 Run legacy TryBots - copyCondition = changekind:NO_CODE_CHANGE -[label "TryBot-Result"] - description = Label for reporting legacy TryBot results. - function = NoBlock - defaultValue = 0 - value = -1 TryBots failed - value = 0 No results - value = +1 TryBots succeeded - copyCondition = changekind:NO_CODE_CHANGE [label "LUCI-TryBot-Result"] description = Label for reporting LUCI TryBot results. function = NoBlock @@ -214,12 +194,6 @@ submittableIf = label:LUCI-TryBot-Result=MAX overrideIf = label:TryBot-Bypass=MAX canOverrideInChildProjects = true -[submit-requirement "Legacy-TryBots-Pass"] - description = Legacy TryBots must pass if requested, unless TryBot-Bypass+1 is set. - applicableIf = label:Run-TryBot=MAX - submittableIf = label:TryBot-Result=MAX - overrideIf = label:TryBot-Bypass=MAX - canOverrideInChildProjects = true [submit-requirement "No-Unresolved-Comments"] description = Changes that have unresolved comments are not submittable, unless overriden by adding the hashtag allow-unresolved-comments. submittableIf = -has:unresolved