Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Swarming Authors. All rights reserved. | 1 // Copyright 2015 The Swarming 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 // Schemas for project configs. | 5 // Schemas for project configs. |
| 6 | 6 |
| 7 syntax = "proto2"; | 7 syntax = "proto2"; |
| 8 | 8 |
| 9 package buildbucket; | 9 package buildbucket; |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 49 // Will be become to swarming task tags. | 49 // Will be become to swarming task tags. |
| 50 // Each tag will end up in "swarming_tag" buildbucket tag, for example | 50 // Each tag will end up in "swarming_tag" buildbucket tag, for example |
| 51 // "swarming_tag:builder:release" | 51 // "swarming_tag:builder:release" |
| 52 repeated string swarming_tags = 2; | 52 repeated string swarming_tags = 2; |
| 53 // Colon-delimited key-value pair of task dimensions. | 53 // Colon-delimited key-value pair of task dimensions. |
| 54 repeated string dimensions = 3; | 54 repeated string dimensions = 3; |
| 55 // Specifies that a recipe to run. | 55 // Specifies that a recipe to run. |
| 56 optional Recipe recipe = 4; | 56 optional Recipe recipe = 4; |
| 57 // Swarming task priority. | 57 // Swarming task priority. |
| 58 optional int32 priority = 5; | 58 optional int32 priority = 5; |
| 59 // Maximum build execution time. Not to be confused with pending time. | |
| 60 // If not set, defaults to server defaults. | |
| 61 optional int32 execution_timeout_secs = 7; | |
|
Vadim Sh.
2016/06/22 19:41:28
what happened to tag 6?
nodir
2016/06/22 22:00:30
used by category field
| |
| 59 } | 62 } |
| 60 | 63 |
| 61 // Hostname of the swarming instance, e.g. "chromium-swarm.appspot.com". | 64 // Hostname of the swarming instance, e.g. "chromium-swarm.appspot.com". |
| 62 optional string hostname = 1; | 65 optional string hostname = 1; |
| 63 // Used to generate a URL for Build, may contain parameters | 66 // Used to generate a URL for Build, may contain parameters |
| 64 // {swarming_hostname}, {task_id}, {bucket} and {builder}. Defaults to: | 67 // {swarming_hostname}, {task_id}, {bucket} and {builder}. Defaults to: |
| 65 // https://{swarming_hostname}/user/task/{task_id} | 68 // https://{swarming_hostname}/user/task/{task_id} |
| 66 optional string url_format = 2; | 69 optional string url_format = 2; |
| 67 | 70 |
| 68 // Will be put to all swarming tasks. | 71 // Will be put to all swarming tasks. |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 91 repeated Acl acls = 2; | 94 repeated Acl acls = 2; |
| 92 // Buildbucket-swarming integration. | 95 // Buildbucket-swarming integration. |
| 93 optional Swarming swarming = 3; | 96 optional Swarming swarming = 3; |
| 94 } | 97 } |
| 95 | 98 |
| 96 // Schema of buildbucket.cfg file, a project config. | 99 // Schema of buildbucket.cfg file, a project config. |
| 97 message BuildbucketCfg { | 100 message BuildbucketCfg { |
| 98 // All buckets defined for this project. | 101 // All buckets defined for this project. |
| 99 repeated Bucket buckets = 1; | 102 repeated Bucket buckets = 1; |
| 100 } | 103 } |
| OLD | NEW |