| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 // This verifier is used to check tree status before committing a CL. If the | 86 // This verifier is used to check tree status before committing a CL. If the |
| 87 // tree is closed, then the verifier will wait until it is reopened. | 87 // tree is closed, then the verifier will wait until it is reopened. |
| 88 optional TreeStatusLgtmVerifier tree_status = 2; | 88 optional TreeStatusLgtmVerifier tree_status = 2; |
| 89 | 89 |
| 90 // This verifier triggers a set of tryjobs that are to be run on builders on | 90 // This verifier triggers a set of tryjobs that are to be run on builders on |
| 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 // Deprecated. This verifier is only used by some legacy CQs that run | 96 // This verifier is used to ensure that the author has signed Google's |
| 97 // presubmit on the CQ host. Please use a presubmit builder instead. | 97 // Contributor License Agreement. |
| 98 optional PresubmitCheckVerifier presubmit_check = 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 project, whose committer list to use. This allows |
| 102 // to reuse committer lists. Note that if you are adding a new list, then | 102 // to reuse committer lists. Note that if you are adding a new list, then |
| 103 // currently you will need to make changes to the CQ code to add support for | 103 // currently you will need to make changes to the CQ code to add support for |
| 104 // retrieving such a list. We are working on removing the need to modify CQ | 104 // retrieving such a list. We are working on removing the need to modify CQ |
| 105 // code. | 105 // code. |
| 106 optional string committer_list = 1; | 106 optional string committer_list = 1; |
| 107 | 107 |
| 108 // Number of seconds to wait for LGTM on CQ. Default value is 0. | 108 // Number of seconds to wait for LGTM on CQ. Default value is 0. |
| 109 optional int32 max_wait_secs = 2; | 109 optional int32 max_wait_secs = 2; |
| 110 | 110 |
| 111 // Message to be posted to code review site when no LGTM is found. Default | 111 // 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 " | 112 // 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 " | 113 // "accepted.\nEven if an LGTM may have been provided, it was from a " |
| 114 // "non-committer,\n_not_ a full super star committer.\nSee " | 114 // "non-committer,\n_not_ a full super star committer.\nSee " |
| 115 // "http://www.chromium.org/getting-involved/become-a-committer\nNote that " | 115 // "http://www.chromium.org/getting-involved/become-a-committer\nNote that " |
| 116 // "this has nothing to do with OWNERS files." | 116 // "this has nothing to do with OWNERS files." |
| 117 optional string no_lgtm_msg = 3; | 117 optional string no_lgtm_msg = 3; |
| 118 } | 118 } |
| 119 | 119 |
| 120 message TreeStatusLgtmVerifier { | 120 message TreeStatusLgtmVerifier { |
| 121 // Required. URL of the project tree status app. | 121 // Required. URL of the project tree status app. |
| 122 optional string tree_status_url = 1; | 122 optional string tree_status_url = 1; |
| 123 } | 123 } |
| 124 | 124 |
| 125 message TryJobVerifier { | 125 message TryJobVerifier { |
| 126 message Property { | |
| 127 optional string name = 1; | |
| 128 // TODO(sergiyb): Change type to Any on switching to protobuf3. | |
| 129 optional string value = 2; | |
| 130 } | |
| 131 | |
| 132 message Builder { | 126 message Builder { |
| 133 // Name of the builder. | 127 // Name of the builder. |
| 134 optional string name = 1; | 128 optional string name = 1; |
| 135 | 129 |
| 136 // When true, the builder is triggered by CQ. Otherwise, it is expected to | 130 // When true, the builder is triggered by CQ. Otherwise, it is expected to |
| 137 // be triggered from another tryjob. Default value is true. | 131 // be triggered from another tryjob. Default value is true. |
| 138 optional bool triggered = 2; | 132 optional bool triggered = 2; |
| 139 | 133 |
| 140 // Arbitrary properties passed to the tryjob. | |
| 141 repeated Property properties = 3; | |
| 142 | |
| 143 // When this field is present, it marks given builder as experimental. It | 134 // When this field is present, it marks given builder as experimental. It |
| 144 // is only executed on a given percentage of the CLs and the outcome does | 135 // is only executed on a given percentage of the CLs and the outcome does |
| 145 // not affect the decicion whether a CL can land or not. This is typically | 136 // not affect the decicion whether a CL can land or not. This is typically |
| 146 // used to test new builders and estimate their capacity requirements. | 137 // used to test new builders and estimate their capacity requirements. |
| 147 optional float experiment_percentage = 4; | 138 optional float experiment_percentage = 4; |
| 148 } | 139 } |
| 149 | 140 |
| 150 message Bucket { | 141 message Bucket { |
| 151 // Name of the bucket. This is typically the same as a master name. | 142 // Name of the bucket. This is typically the same as a master name. |
| 152 optional string name = 1; | 143 optional string name = 1; |
| 153 | 144 |
| 154 // Builders on which tryjobs should be triggered. | 145 // Builders on which tryjobs should be triggered. |
| 155 repeated Builder builders = 2; | 146 repeated Builder builders = 2; |
| 156 } | 147 } |
| 157 | 148 |
| 158 // Buckets on which tryjobs are triggered/watched. | 149 // Buckets on which tryjobs are triggered/watched. |
| 159 repeated Bucket buckets = 1; | 150 repeated Bucket buckets = 1; |
| 160 } | 151 } |
| 161 | 152 |
| 162 message PresubmitCheckVerifier { | 153 message SignCLAVerifier {} |
| 163 // After this timeout in seconds, the presubmit process will be killed. | |
| 164 optional int32 timeout = 1; | |
| 165 } | |
| 166 } | 154 } |
| OLD | NEW |