blob: 15ab0a2d103dd3e2e6db089d5bb9695371332a74 [file] [log] [blame]
// Copyright 2021 The Fuchsia 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 recipes.fuchsia.publish_build_artifacts;
message InputProperties {
// Jiri manifest to use.
string manifest = 1;
// Remote manifest repository.
string remote = 2;
// A path within the checkout to a fint parameters file.
string fint_params_path = 3;
// Jiri <package> attribute values indicating additional packages to fetch
// from the input manifest. By default, packages with attribute tags are
// skipped unless one or more of the attribute values are specified here.
repeated string checkout_attributes = 4;
// Whether to run builds in a nsjail sandbox.
bool enable_build_sandboxing = 5;
message Tool {
// Name of the tool as it appears in tool_paths.json.
string name = 1;
// OS of the tool to build, if cross-compiling. Defaults to the current OS.
string os = 2;
// If set, upload the tool to this CIPD package.
string cipd_package = 3;
// If set, upload the tool to this GCS bucket.
string gcs_bucket = 4;
// Path within `gcs_bucket` to upload the tool to.
string gcs_path = 5;
}
message PackageArchive {
// Name of the package archive referenced by package_archives.json.
string name = 1;
// Target cpu of the package to publish.
string cpu = 2;
// Upload the package archive to this CIPD package.
string cipd_package = 3;
}
repeated Tool tools = 6;
repeated PackageArchive package_archives = 7;
}