OLD | NEW |
1 syntax = "proto2"; | 1 syntax = "proto2"; |
2 | 2 |
3 // This message describes a Commit Queue configuration. The config file cq.cfg | 3 // This message describes a Commit Queue configuration. The config file cq.cfg |
4 // should be stored in the config directory located on the branch that this CQ | 4 // should be stored in the config directory located on the branch that this CQ |
5 // should commit to. | 5 // should commit to. |
6 message Config { | 6 message Config { |
7 // Required. Version of the config format. | 7 // Required. Version of the config format. |
8 optional int32 version = 1; | 8 optional int32 version = 1; |
9 | 9 |
10 // Required. Name of the CQ. May only contain characters [a-zA-Z0-9_]. It is | 10 // Required. Name of the CQ. May only contain characters [a-zA-Z0-9_]. It is |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // Buildbot. It automatically retries failed try-jobs and only allows CL to | 91 // Buildbot. It automatically retries failed try-jobs and only allows CL to |
92 // land if each builder has succeeded in the latest retry. If a given tryjob | 92 // land if each builder has succeeded in the latest retry. If a given tryjob |
93 // result is too old (>1 day) it is ignored. | 93 // result is too old (>1 day) it is ignored. |
94 optional TryJobVerifier try_job = 3; | 94 optional TryJobVerifier try_job = 3; |
95 | 95 |
96 // This verifier is used to ensure that the author has signed Google's | 96 // This verifier is used to ensure that the author has signed Google's |
97 // Contributor License Agreement. | 97 // Contributor License Agreement. |
98 optional SignCLAVerifier sign_cla = 4; | 98 optional SignCLAVerifier sign_cla = 4; |
99 | 99 |
100 message ReviewerLgtmVerifier { | 100 message ReviewerLgtmVerifier { |
101 // Required. Name of the project, whose committer list to use. This allows | 101 // Required. Name of the chrome-infra-auth group, which contains the |
102 // to reuse committer lists. Note that if you are adding a new list, then | 102 // list of identities authorized to approve (lgtm) a CL. This list is also |
103 // currently you will need to make changes to the CQ code to add support for | 103 // known as a committer list and often corresponds to the list of accounts |
104 // retrieving such a list. We are working on removing the need to modify CQ | 104 // that have direct commit/push access to the repository. Some older lists |
105 // code. | 105 // are still stored in the CQ source code, but are being moved to the new |
| 106 // location (https://crbug.com/511311). |
106 optional string committer_list = 1; | 107 optional string committer_list = 1; |
107 | 108 |
108 // Number of seconds to wait for LGTM on CQ. Default value is 0. | 109 // Number of seconds to wait for LGTM on CQ. Default value is 0. |
109 optional int32 max_wait_secs = 2; | 110 optional int32 max_wait_secs = 2; |
110 | 111 |
111 // Message to be posted to code review site when no LGTM is found. Default | 112 // Message to be posted to code review site when no LGTM is found. Default |
112 // value is "No LGTM from a valid reviewer yet. Only full committers are " | 113 // value is "No LGTM from a valid reviewer yet. Only full committers are " |
113 // "accepted.\nEven if an LGTM may have been provided, it was from a " | 114 // "accepted.\nEven if an LGTM may have been provided, it was from a " |
114 // "non-committer,\n_not_ a full super star committer.\nSee " | 115 // "non-committer,\n_not_ a full super star committer.\nSee " |
115 // "http://www.chromium.org/getting-involved/become-a-committer\nNote that " | 116 // "http://www.chromium.org/getting-involved/become-a-committer\nNote that " |
(...skipping 25 matching lines...) Expand all Loading... |
141 message Bucket { | 142 message Bucket { |
142 // Name of the bucket. This is typically the same as a master name. | 143 // Name of the bucket. This is typically the same as a master name. |
143 optional string name = 1; | 144 optional string name = 1; |
144 | 145 |
145 // Builders on which tryjobs should be triggered. | 146 // Builders on which tryjobs should be triggered. |
146 repeated Builder builders = 2; | 147 repeated Builder builders = 2; |
147 } | 148 } |
148 | 149 |
149 // Buckets on which tryjobs are triggered/watched. | 150 // Buckets on which tryjobs are triggered/watched. |
150 repeated Bucket buckets = 1; | 151 repeated Bucket buckets = 1; |
| 152 |
| 153 message TryJobRetryConfig { |
| 154 // Retry quota for a single tryjob. |
| 155 optional int32 try_job_retry_quota = 1; |
| 156 |
| 157 // Retry quota for all tryjobs in a CL. |
| 158 optional int32 global_retry_quota = 2; |
| 159 |
| 160 // The weight assigned to each tryjob failure. |
| 161 optional int32 failure_retry_weight = 3; |
| 162 |
| 163 // The weight assigned to each transient failure. |
| 164 optional int32 transient_failure_retry_weight = 4; |
| 165 |
| 166 // The weight assigned to tryjob timeouts. |
| 167 optional int32 timeout_retry_weight = 5; |
| 168 } |
| 169 |
| 170 // Provides project specific trybot retry configuration. This overrides the |
| 171 // defaults used in the CQ. |
| 172 optional TryJobRetryConfig try_job_retry_config = 2; |
151 } | 173 } |
152 | 174 |
153 message SignCLAVerifier {} | 175 message SignCLAVerifier {} |
154 } | 176 } |
OLD | NEW |