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

Side by Side Diff: milo/common/config/project.proto

Issue 2238883003: Milo: Use luci-cfg for defining projects and console view. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: review Created 4 years, 4 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
« no previous file with comments | « milo/common/config/generate.go ('k') | milo/common/config/project.pb.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 {
28 // ID is the reference to the console, and will be the address to make the
29 // console reachable from /console/<Project>/<ID>.
30 string ID = 1;
31
32 // Name is the longform name of the waterfall, and will be used to be
33 // displayed in the title.
34 string Name = 2;
35
36 // RepoURL is the name of the git repository to display as the rows of the con sole.
37 string RepoURL = 3;
38
39 // Branch is the branch to pull commits from when displaying the console.
40 string Branch = 4;
41
42 // Builders is a list of builder configurations to display as the columns of t he console.
43 repeated Builder Builders = 5;
44 }
45
46 // A builder is a reference to a Milo builder.
47 message Builder {
48 // Module is the name of the Milo module this builder is in reference to.
49 string Module = 1;
50
51 // Name is the identifier to find the builder within the module.
52 string Name = 2;
53
54 // Category describes the hierarchy of the builder on the header of the
55 // console as a "|" delimited list. Neighboring builders with common ancestor s
56 // will be have their headers merged.
57 string Category = 3;
58
59 // ShortName is the 1-3 character abbreviation of the builder.
60 string ShortName = 4;
61 }
OLDNEW
« no previous file with comments | « milo/common/config/generate.go ('k') | milo/common/config/project.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698