Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2016 The LUCI Authors. All rights reserved. | |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | |
| 3 // that can be found in the LICENSE file. | |
| 4 | |
| 5 syntax = "proto3"; | |
| 6 | |
| 7 package config; | |
| 8 | |
| 9 // Project is a project definition for Milo. | |
| 10 message Project { | |
| 11 // ID is the identifier for the project, if different from its repository name . | |
| 12 string ID = 1; | |
| 13 | |
| 14 // Readers is the list of gaia users or Chrome-infra-auth groups allowed to vi ew | |
| 15 // the project. | |
| 16 repeated string Readers = 2; | |
| 17 | |
| 18 // Writers is the list of gaia users or Chrome-infra-auth groups allowed to | |
| 19 // perform actions on parts of the project. | |
| 20 repeated string Writers = 3; | |
| 21 | |
| 22 // Consoles is a list of consoles to define under /console/ | |
| 23 repeated Console Consoles = 4; | |
| 24 } | |
| 25 | |
| 26 // Console is a waterfall definition consisting of one or more builders. | |
| 27 message Console { | |
|
estaab
2016/08/18 23:19:37
Cool, seems simple enough.
Ryan Tseng
2016/08/18 23:55:30
Acknowledged.
| |
| 28 // ID is the reference to the console, and will be the address to make the | |
| 29 // console reachable from /console/<ID>. Note that all project share the same | |
| 30 // namespace for IDs, so a duplicate ID will be rejected. | |
| 31 string ID = 1; | |
| 32 | |
| 33 // Name is the longform name of the waterfall, and will be used to be | |
| 34 // displayed in the title. | |
| 35 string Name = 2; | |
| 36 | |
| 37 // RepoURL is the name of the git repository to display as the rows of the con sole. | |
| 38 string RepoURL = 3; | |
| 39 | |
| 40 // Branch is the branch to pull commits from when displaying the console. | |
| 41 string Branch = 4; | |
| 42 | |
| 43 // Builders is a list of builder configurations to display as the columns of t he console. | |
| 44 repeated Builder Builders = 5; | |
| 45 } | |
| 46 | |
| 47 // A builder is a reference to a Milo builder. | |
| 48 message Builder { | |
| 49 // Module is the name of the Milo module this builder is in reference to. | |
| 50 string Module = 1; | |
| 51 | |
| 52 // Name is the identifier to find the builder within the module. | |
| 53 string Name = 2; | |
| 54 | |
| 55 // Category describes the hierarchy of the builder on the header of the | |
| 56 // console as a "|" delimited list. Neighboring builders with common ancestor s | |
| 57 // will be have their headers merged. | |
| 58 string Category = 3; | |
| 59 | |
| 60 // ShortName is the 1-3 character abbreviation of the builder. | |
| 61 string ShortName = 4; | |
| 62 } | |
| OLD | NEW |