blob: 007a0fa468a5024d0090d57dab13b81e409fa8a7 [file] [log] [blame]
Soby Mathew7bc22b12022-10-14 14:45:08 +02001[access]
Soby Mathew7aabffe2022-10-14 15:10:43 +02002 inheritFrom = All-Projects
Soby Mathew7bc22b12022-10-14 14:45:08 +02003[submit]
Soby Mathewdc950cc2022-10-14 14:46:38 +02004 action = merge always
Soby Mathew63f48982022-10-14 15:30:22 +01005 rejectEmptyCommit = true
6[receive]
7 requireSignedOffBy = true
8 rejectImplicitMerges = true
Soby Mathew7bc22b12022-10-14 14:45:08 +02009[access "refs/*"]
Soby Mathewef20b552022-10-14 15:06:18 +020010 owner = group Administrators
Soby Mathewdc950cc2022-10-14 14:46:38 +020011[project]
12 description = Gerrit settings common to repositories under the TF-RMM namespace
Soby Mathew757d1bd2022-10-14 14:58:33 +020013[access "refs/heads/*"]
14 abandon = group tf-rmm-approvers
15 create = group tf-rmm-approvers
16 forgeAuthor = group tf-rmm-approvers
Soby Mathew63f48982022-10-14 15:30:22 +010017 forgeCommitter = group tf-rmm-approvers
Soby Mathew757d1bd2022-10-14 14:58:33 +020018 forgeServerAsCommitter = group tf-rmm-approvers
19 label-Allow-CI = +0..+2 group tf-rmm-approvers
Soby Mathew63f48982022-10-14 15:30:22 +010020 label-Code-Review = -1..+2 group tf-rmm-approvers
Joanna Farleyadee4c02022-12-16 22:12:01 +010021 label-Code-Review = -1..+1 group Registered Users
Soby Mathew757d1bd2022-10-14 14:58:33 +020022 label-Verified = -1..+1 group Bot Users
23 label-Verified = -1..+1 group tf-rmm-approvers
24 push = +force group tf-rmm-approvers
25 submit = group tf-rmm-approvers
Soby Mathew63f48982022-10-14 15:30:22 +010026
Soby Mathewdeb389a2022-10-14 15:02:13 +020027[access "refs/meta/config"]
28 create = group tf-rmm-approvers
Soby Mathew63f48982022-10-14 15:30:22 +010029 label-Code-Review = -1..+2 group tf-rmm-approvers
Soby Mathewdeb389a2022-10-14 15:02:13 +020030 label-Verified = -1..+1 group tf-rmm-approvers
31 push = group tf-rmm-approvers
32 read = group tf-rmm-approvers
33 submit = group tf-rmm-approvers
Soby Mathew63f48982022-10-14 15:30:22 +010034 exclusiveGroupPermissions = submit
35
Soby Mathewef20b552022-10-14 15:06:18 +020036[access "refs/meta/dashboards/*"]
37 create = group tf-rmm-approvers
38 push = group tf-rmm-approvers
Soby Mathewab1b1f02022-10-14 15:07:17 +020039[access "refs/tags/*"]
40 create = group tf-rmm-approvers
41 createSignedTag = group tf-rmm-approvers
42 createTag = group tf-rmm-approvers
Soby Mathew63f48982022-10-14 15:30:22 +010043
44
45# All Registered Users and maintainers use it to record their concerns.
46[label "Code-Review"]
47 function = MaxWithBlock
48 value = -1 I would prefer this is not merged as is
49 value = 0 No score
50 value = +1 Looks good to me
51 value = +2 Looks good to be merged
52 copyAllScoresIfNoCodeChange = true
53 copyAllScoresOnTrivialRebase = true
54 defaultValue = 0
55
56# The Allow-CI label triggers the Open CI on the patch.
57# It sets the Verified score.
58[label "Allow-CI"]
59 function = NoBlock
60 value = 0 No score
61 value = +1 Approved for automated testing on Open CI, shallow tests
62 value = +2 Approved for automated testing on Open CI, in-depth tests
63 defaultValue = 0
64
65[label "Verified"]
66 function = MaxWithBlock
67 value = -1 Fails
68 value = 0 No score
69 value = +1 Verified
70 copyAllScoresIfNoCodeChange = true
71 copyAllScoresOnTrivialRebase = true
72 defaultValue = 0