| // Copyright 2024 The Pigweed Authors |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| // use this file except in compliance with the License. You may obtain a copy of |
| // the License at |
| // |
| // https://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| // License for the specific language governing permissions and limitations under |
| // the License. |
| |
| syntax = "proto3"; |
| |
| package recipes.pigweed.multi_roller; |
| |
| message Builder |
| { |
| // Project of the builder to launch. |
| // TODO: b/245788264 - Support launching builders outside the current project. |
| string project = 1; |
| |
| // Bucket of the builder to launch. |
| // TODO: b/245788264 - Support launching builders outside the current bucket. |
| string bucket = 2; |
| |
| // Name of the builder to launch. |
| string builder = 3; |
| } |
| |
| message InputProperties { |
| repeated Builder rollers_to_launch = 1; |
| |
| // How often (in seconds) to poll gerrit or buildbucket |
| int32 poll_interval_secs = 2; |
| |
| // Gerrit Label to indicate when a roll CL is synced with the other roll |
| // CLs in its multi_roller group. |
| string rolls_synced_label = 3; |
| |
| // Labels that indicate that a sub-roll is ready to be submitted. |
| // If a sub-roll has ANY of the labels in ready_labels with a |
| // score of "approved" (or also "recommended" if the permit_recommended |
| // option is set to True), then it is ready. |
| repeated string ready_labels = 4; |
| |
| // Treat "recommended" votes on labels_to_wait_on as "approved" votes. |
| bool permit_recommended = 5; |
| |
| } |