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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 message TreeStatusLgtmVerifier { | 143 message TreeStatusLgtmVerifier { |
144 // Required. URL of the project tree status app. | 144 // Required. URL of the project tree status app. |
145 optional string tree_status_url = 1; | 145 optional string tree_status_url = 1; |
146 } | 146 } |
147 | 147 |
148 message TryJobVerifier { | 148 message TryJobVerifier { |
149 message Builder { | 149 message Builder { |
150 // Name of the builder. | 150 // Name of the builder. |
151 optional string name = 1; | 151 optional string name = 1; |
152 | 152 |
153 // When true, the builder is triggered by CQ. Otherwise, it is expected to | 153 // Optionally specify a builder name that triggers the given builder. |
154 // be triggered from another tryjob. Default value is true. | 154 // Otherwise, CQ will trigger this builder (default). If in doubt, you |
155 optional bool triggered_by_cq = 2; | 155 // probably won't need this. |
| 156 optional string triggered_by = 2; |
156 | 157 |
157 // When this field is present, it marks given builder as experimental. It | 158 // When this field is present, it marks given builder as experimental. It |
158 // is only executed on a given percentage of the CLs and the outcome does | 159 // is only executed on a given percentage of the CLs and the outcome does |
159 // not affect the decicion whether a CL can land or not. This is typically | 160 // not affect the decicion whether a CL can land or not. This is typically |
160 // used to test new builders and estimate their capacity requirements. | 161 // used to test new builders and estimate their capacity requirements. |
161 optional float experiment_percentage = 4; | 162 optional float experiment_percentage = 4; |
162 } | 163 } |
163 | 164 |
164 message Bucket { | 165 message Bucket { |
165 // Name of the bucket. This is typically the same as a master name without | 166 // Name of the bucket. This is typically the same as a master name without |
(...skipping 25 matching lines...) Expand all Loading... |
191 optional int32 timeout_retry_weight = 5; | 192 optional int32 timeout_retry_weight = 5; |
192 } | 193 } |
193 | 194 |
194 // Provides project specific trybot retry configuration. This overrides the | 195 // Provides project specific trybot retry configuration. This overrides the |
195 // defaults used in the CQ. | 196 // defaults used in the CQ. |
196 optional TryJobRetryConfig try_job_retry_config = 2; | 197 optional TryJobRetryConfig try_job_retry_config = 2; |
197 } | 198 } |
198 | 199 |
199 message SignCLAVerifier {} | 200 message SignCLAVerifier {} |
200 } | 201 } |
OLD | NEW |