blob: 509b4c3d86c89ffdb93a287a1fafa4e7ce510e2c [file] [log] [blame]
// Copyright 2022 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.pipeline;
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 Round {
// Builders to execute in parallel.
repeated Builder builders = 1;
// Max amount of time to wait for the round to complete.
// TODO: b/245788264 - Implement timeouts.
int32 timeout_sec = 2;
}
message InputProperties {
// Rounds to execute in series.
repeated Round rounds = 1;
}