Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: appengine/swarming/proto/config.proto

Issue 1946253003: swarming: refactor cipd input (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@default-isolate-server
Patch Set: fix import google.protobuf Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The LUCI Authors. All rights reserved. 1 // Copyright 2016 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed by the Apache v2.0 license that can be 2 // Use of this source code is governed by the Apache v2.0 license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 // Schema for settings.cfg service config file in luci-config. 7 // Schema for settings.cfg service config file in luci-config.
8 message SettingsCfg { 8 message SettingsCfg {
9 // id to inject into pages if applicable. 9 // id to inject into pages if applicable.
10 optional string google_analytics = 1; 10 optional string google_analytics = 1;
11 11
12 // The number of seconds an old task can be deduped from. 12 // The number of seconds an old task can be deduped from.
13 optional int32 reusable_task_age_secs = 2; 13 optional int32 reusable_task_age_secs = 2;
14 14
15 // The amount of time that has to pass before a machine is considered dead. 15 // The amount of time that has to pass before a machine is considered dead.
16 optional int32 bot_death_timeout_secs = 3; 16 optional int32 bot_death_timeout_secs = 3;
17 17
18 // Enable ts_mon based monitoring. 18 // Enable ts_mon based monitoring.
19 optional bool enable_ts_monitoring = 4; 19 optional bool enable_ts_monitoring = 4;
20 20
21 // Configuration for swarming-isolate integration. 21 // Configuration for swarming-isolate integration.
22 optional IsolateSettings isolate = 5; 22 optional IsolateSettings isolate = 5;
23
24 // Configuration for swarming-cipd integration.
25 optional CipdSettings cipd = 6;
23 } 26 }
24 27
25 // Configuration for swarming-isolate integration. 28 // Configuration for swarming-isolate integration.
26 message IsolateSettings { 29 message IsolateSettings {
27 // URL of the default isolate server to use if it is not specified in a 30 // URL of the default isolate server to use if it is not specified in a
28 // task. Must start with "https://" or "http://". 31 // task. Must start with "https://" or "http://".
29 // e.g. "https://isolateserver.appspot.com" 32 // e.g. "https://isolateserver.appspot.com"
30 optional string default_server = 1; 33 optional string default_server = 1;
31 34
32 // Default namespace to use if it is not specified in a task, 35 // Default namespace to use if it is not specified in a task,
33 // e.g. "default-gzip" 36 // e.g. "default-gzip"
34 optional string default_namespace = 2; 37 optional string default_namespace = 2;
35 } 38 }
39
40 // Settings for Swarming-CIPD integration.
41 //
42 // WARNING: this message is embedded in task properties so
43 // 1. Do not change field numbers
44 // 2. Keep it small.
45 message CipdSettings {
46 // Hostname of the cipd server, e.g. chrome-infra-packages.appspot.com.
47 optional string server_host = 1;
48
49 // Package name template for the CIPD client. MUST use ${platform} param.
50 // Will be used for https://{server_host}/_ah/api/repo/v1/client endpoint
51 // to fetch the cipd client.
52 optional string client_package_name = 2;
53
54 // Version of CIPD client to install. MUST be valid for all packages
55 // matched by client_package_name.
56 optional string client_package_version = 3;
57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698