blob: 5438f3ca4c3a881e5f27b9efbbe75e347d9705ab [file] [log] [blame]
// Copyright 2020 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
// 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.cipd_roller;
import "recipe_modules/pigweed/checkout/options.proto";
message InputProperties {
// Path to json file (relative to checkout root). Default is
// 'pw_env_setup/py/pw_env_setup/cipd_setup/pigweed.json'.
string cipd_json_path = 1;
// Name of CIPD package. Default is to extract from package_spec.
string package_name = 2;
// Path to CIPD package (as specificed in json file, maybe using
// "${platform}"). Required.
string package_spec = 3;
// Vote Bot-Commit+1 instead of Code-Review+2.
bool bot_commit = 4;
// Ref to update tag to. Default: 'latest'.
string ref = 5;
// Key of tag to use (e.g., "git_revision" or "version"). Default:
// "git_revision".
string tag = 6;
// Don't do anything that has external effects.
bool dry_run = 7;
// Do not consider it an error if the package versions with the requested ref
// have different tags for different platforms. Instead, find a tag such
// that (1) for *some* platform, the package with this tag has the requested
// ref, and (2) a package with this tag exists for *all* platforms.
bool allow_mismatched_refs = 8;
// Checkout module options.
recipe_modules.pigweed.checkout.Options checkout_options = 9;