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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 // source repository is not supported by luci-config (e.g. GitHub). | 48 // source repository is not supported by luci-config (e.g. GitHub). |
49 optional string git_repo_url = 10; | 49 optional string git_repo_url = 10; |
50 | 50 |
51 // Target ref to commit to. This can be used to specify a different ref than | 51 // Target ref to commit to. This can be used to specify a different ref than |
52 // the one where the luci config is located. This is useful, e.g. for projects | 52 // the one where the luci config is located. This is useful, e.g. for projects |
53 // that use gnumbd where CQ should commit into a pending ref. | 53 // that use gnumbd where CQ should commit into a pending ref. |
54 optional string target_ref = 11; | 54 optional string target_ref = 11; |
55 | 55 |
56 // Deprecated. URL of the SVN repository. We are deprecating SVN support. | 56 // Deprecated. URL of the SVN repository. We are deprecating SVN support. |
57 optional string svn_repo_url = 12; | 57 optional string svn_repo_url = 12; |
| 58 |
| 59 // If present, the CQ will refrain from processing any commits whose start |
| 60 // time is >= this time. |
| 61 // |
| 62 // This is an UTC RFC3339 (stiptime(tm)) string representing the time. |
| 63 optional string draining_start_time = 13; |
58 } | 64 } |
59 | 65 |
60 message Rietveld { | 66 message Rietveld { |
61 // Required. URL of the codereview site. | 67 // Required. URL of the codereview site. |
62 optional string url = 1; | 68 optional string url = 1; |
63 | 69 |
64 // List of regular expressions used to check if CL's base URL should be | 70 // List of regular expressions used to check if CL's base URL should be |
65 // processed by this CQ. This may be useful if a single branch has multiple | 71 // processed by this CQ. This may be useful if a single branch has multiple |
66 // sub-directories that are handled by different CQs. When no regular | 72 // sub-directories that are handled by different CQs. When no regular |
67 // expressions are specified, the regular expression '.*', which matches any | 73 // expressions are specified, the regular expression '.*', which matches any |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 optional int32 timeout_retry_weight = 5; | 198 optional int32 timeout_retry_weight = 5; |
193 } | 199 } |
194 | 200 |
195 // Provides project specific trybot retry configuration. This overrides the | 201 // Provides project specific trybot retry configuration. This overrides the |
196 // defaults used in the CQ. | 202 // defaults used in the CQ. |
197 optional TryJobRetryConfig try_job_retry_config = 2; | 203 optional TryJobRetryConfig try_job_retry_config = 2; |
198 } | 204 } |
199 | 205 |
200 message SignCLAVerifier {} | 206 message SignCLAVerifier {} |
201 } | 207 } |
OLD | NEW |