blob: af854de39828878e610358576af75a614aa9b236 [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 Mathewb0450e82023-05-25 15:03:44 +020020 label-Allow-CI = +0..+2 group tf-rmm-ci-users
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
25 push = +force group tf-rmm-approvers
26 submit = group tf-rmm-approvers
Soby Mathew63f48982022-10-14 15:30:22 +010027
Soby Mathewdeb389a2022-10-14 15:02:13 +020028[access "refs/meta/config"]
29 create = group tf-rmm-approvers
Soby Mathew63f48982022-10-14 15:30:22 +010030 label-Code-Review = -1..+2 group tf-rmm-approvers
Soby Mathewdeb389a2022-10-14 15:02:13 +020031 label-Verified = -1..+1 group tf-rmm-approvers
32 push = group tf-rmm-approvers
33 read = group tf-rmm-approvers
34 submit = group tf-rmm-approvers
Soby Mathew63f48982022-10-14 15:30:22 +010035 exclusiveGroupPermissions = submit
36
Soby Mathewef20b552022-10-14 15:06:18 +020037[access "refs/meta/dashboards/*"]
38 create = group tf-rmm-approvers
39 push = group tf-rmm-approvers
Soby Mathewab1b1f02022-10-14 15:07:17 +020040[access "refs/tags/*"]
41 create = group tf-rmm-approvers
42 createSignedTag = group tf-rmm-approvers
43 createTag = group tf-rmm-approvers
Soby Mathew63f48982022-10-14 15:30:22 +010044
45
46# All Registered Users and maintainers use it to record their concerns.
47[label "Code-Review"]
48 function = MaxWithBlock
49 value = -1 I would prefer this is not merged as is
50 value = 0 No score
51 value = +1 Looks good to me
52 value = +2 Looks good to be merged
Soby Mathew63f48982022-10-14 15:30:22 +010053 defaultValue = 0
TrustedFirmware Code Review38184182023-10-03 22:50:05 +020054 copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE
Soby Mathew63f48982022-10-14 15:30:22 +010055
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
TrustedFirmware Code Review38184182023-10-03 22:50:05 +020064 copyCondition = changekind:NO_CHANGE
Soby Mathew63f48982022-10-14 15:30:22 +010065
66[label "Verified"]
67 function = MaxWithBlock
68 value = -1 Fails
69 value = 0 No score
70 value = +1 Verified
Soby Mathew63f48982022-10-14 15:30:22 +010071 defaultValue = 0
TrustedFirmware Code Review38184182023-10-03 22:50:05 +020072 copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE
Soby Mathewcb34c8f2023-09-14 13:40:00 +020073[access "refs/for/refs/heads/*"]
74 pushMerge = group tf-rmm-approvers