blob: c314b6dcefd6bbf8a9189d6f6d11d60660d8f2e1 [file] [log] [blame]
// Copyright 2018 The LUCI 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
//
// http://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.
// Schemas for service configs.
syntax = "proto3";
package buildbucket;
option go_package = "go.chromium.org/luci/buildbucket/proto;buildbucketpb";
// Schema of settings.cfg file, a service config.
message SettingsCfg {
// Swarmbucket settings.
SwarmingSettings swarming = 1;
}
// Swarmbucket settings.
message SwarmingSettings {
reserved 1; // default_hostname
// Swarmbucket build URLs will point to this Milo instance.
string milo_hostname = 2;
// Default value of swarming.task_template_canary_percentage field in
// cr-buildbucket.cfg files.
int32 default_task_template_canary_percentage = 3;
}