blob: c50aa15ac2c0d428b0b08cc15ec68f81309ce9ed [file] [log] [blame]
// Copyright 2020 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto3";
package test_platform.result_flow;
option go_package = "go.chromium.org/chromiumos/infra/proto/go/test_platform/result_flow";
import "test_platform/result_flow/common.proto";
import "google/protobuf/timestamp.proto";
// PublishRequest defines the input of `result_flow publish`.
message PublishRequest {
int64 build_id = 1;
int64 parent_build_id = 2;
// PubSub endpoint to publish a CTP build.
PubSubConfig ctp = 3;
// PubSub endpoint to publish a test runner build.
PubSubConfig test_runner = 4;
// Hard deadline for execution.
//
// Publish command should abort beyond this deadline.
google.protobuf.Timestamp deadline = 5;
}
// PublishRequest defines the output of `result_flow publish`.
message PublishResponse {
// `result_flow publish` exits with exit code 0 unless there is an
// infrastructure failure. When the exit code is 0, `state` indicates the
// best known state of the publish execution (see comments on State enum).
State state = 1;
}