blob: 310c411babc5fc5e102eab95a0221b9144dc449c [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
Joanna Farleyadee4c02022-12-16 22:12:01 +010020 label-Allow-CI = +0..+2 group user/Arvind Ram Prakash (arvindramprakash)
Soby Mathew63f48982022-10-14 15:30:22 +010021 label-Code-Review = -1..+2 group tf-rmm-approvers
Joanna Farleyadee4c02022-12-16 22:12:01 +010022 label-Code-Review = -1..+1 group Registered Users
Soby Mathew757d1bd2022-10-14 14:58:33 +020023 label-Verified = -1..+1 group Bot Users
24 label-Verified = -1..+1 group tf-rmm-approvers
Joanna Farleyadee4c02022-12-16 22:12:01 +010025 label-Verified = -1..+1 group user/Arvind Ram Prakash (arvindramprakash)
Soby Mathew757d1bd2022-10-14 14:58:33 +020026 push = +force group tf-rmm-approvers
27 submit = group tf-rmm-approvers
Soby Mathew63f48982022-10-14 15:30:22 +010028
Soby Mathewdeb389a2022-10-14 15:02:13 +020029[access "refs/meta/config"]
30 create = group tf-rmm-approvers
Soby Mathew63f48982022-10-14 15:30:22 +010031 label-Code-Review = -1..+2 group tf-rmm-approvers
Soby Mathewdeb389a2022-10-14 15:02:13 +020032 label-Verified = -1..+1 group tf-rmm-approvers
33 push = group tf-rmm-approvers
34 read = group tf-rmm-approvers
35 submit = group tf-rmm-approvers
Soby Mathew63f48982022-10-14 15:30:22 +010036 exclusiveGroupPermissions = submit
37
Soby Mathewef20b552022-10-14 15:06:18 +020038[access "refs/meta/dashboards/*"]
39 create = group tf-rmm-approvers
40 push = group tf-rmm-approvers
Soby Mathewab1b1f02022-10-14 15:07:17 +020041[access "refs/tags/*"]
42 create = group tf-rmm-approvers
43 createSignedTag = group tf-rmm-approvers
44 createTag = group tf-rmm-approvers
Soby Mathew63f48982022-10-14 15:30:22 +010045
46
47# All Registered Users and maintainers use it to record their concerns.
48[label "Code-Review"]
49 function = MaxWithBlock
50 value = -1 I would prefer this is not merged as is
51 value = 0 No score
52 value = +1 Looks good to me
53 value = +2 Looks good to be merged
54 copyAllScoresIfNoCodeChange = true
55 copyAllScoresOnTrivialRebase = true
56 defaultValue = 0
57
58# The Allow-CI label triggers the Open CI on the patch.
59# It sets the Verified score.
60[label "Allow-CI"]
61 function = NoBlock
62 value = 0 No score
63 value = +1 Approved for automated testing on Open CI, shallow tests
64 value = +2 Approved for automated testing on Open CI, in-depth tests
65 defaultValue = 0
66
67[label "Verified"]
68 function = MaxWithBlock
69 value = -1 Fails
70 value = 0 No score
71 value = +1 Verified
72 copyAllScoresIfNoCodeChange = true
73 copyAllScoresOnTrivialRebase = true
74 defaultValue = 0