blob: 43a364c65b9cfb277e45a4a804ff3449077d25dc [file] [log] [blame]
// Copyright 2022 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";
// `from PB.recipe_modules.fuchsia.cipd_util import CIPDUploadManifest`
package recipe_modules.fuchsia.cipd_util;
option go_package = "recipes";
// CIPDUploadManifest is the format that repos using the `build_test_upload.py`
// recipe can emit to declare CIPD packages that should be uploaded.
message CIPDUploadManifest {
// Name of the CIPD package.
string pkg_name = 1;
message FileToUpload {
// Path to the file, relative to the build directory.
string source = 1;
// Path within the CIPD package where the file should be located. If `dest`
// is ".", `source` is assumed to be a directory that contains the desired
// contents of the root of the CIPD package. No other entries in the
// manifest will be allowed.
string dest = 2;
}
repeated FileToUpload files = 2;
}