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

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

Issue 2946443003: Milo: (Breaking proto change) Update console definition (Closed)
Patch Set: Created 3 years, 6 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/appengine/logdog/internal/stream.pb.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
1 // Copyright (c) 2016 The LUCI Authors. All rights reserved. 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 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 syntax = "proto3"; 5 syntax = "proto3";
6 6
7 package config; 7 package config;
8 8
9 // Project is a project definition for Milo. 9 // Project is a project definition for Milo.
10 message Project { 10 message Project {
11 // ID is the identifier for the project, if different from its repository name . 11 // ID is the identifier for the project, if different from its repository name .
12 string ID = 1; 12 string ID = 1;
13 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/ 14 // Consoles is a list of consoles to define under /console/
23 repeated Console Consoles = 4; 15 repeated Console Consoles = 2;
24 } 16 }
25 17
26 // Console is a waterfall definition consisting of one or more builders. 18 // Console is a waterfall definition consisting of one or more builders.
27 message Console { 19 message Console {
28 // ID is the reference to the console, and will be the address to make the 20 // ID is the reference to the console, and will be the address to make the
29 // console reachable from /console/<Project>/<ID>. 21 // console reachable from /console/<Project>/<ID>.
30 string ID = 1; 22 string ID = 1;
31 23
32 // Name is the longform name of the waterfall, and will be used to be 24 // Name is the longform name of the waterfall, and will be used to be
33 // displayed in the title. 25 // displayed in the title.
34 string Name = 2; 26 string Name = 2;
35 27
36 // RepoURL is the name of the git repository to display as the rows of the con sole. 28 // RepoURL is the URL of the git repository to display as the rows of the cons ole.
37 string RepoURL = 3; 29 string RepoURL = 3;
38 30
39 // Branch is the branch to pull commits from when displaying the console. 31 // Branch is the branch to pull commits from when displaying the console.
40 string Branch = 4; 32 string Branch = 4;
41 33
34 // ManifestName is the name of the manifest the waterfall looks at.
35 // By convention, Manifest Names can be:
36 // * UNPATCHED - For non patched builds, such as continuous builds
37 // * PATCHED - For patched builds, such as those on try jobs
38 string ManifestName = 5;
39
42 // Builders is a list of builder configurations to display as the columns of t he console. 40 // Builders is a list of builder configurations to display as the columns of t he console.
43 repeated Builder Builders = 5; 41 repeated Builder Builders = 6;
44 } 42 }
45 43
46 // A builder is a reference to a Milo builder. 44 // A builder is a reference to a Milo builder.
47 message Builder { 45 message Builder {
48 // Module is the name of the Milo module this builder is in reference to. 46 // Name is the identifier to find the builder, which includes the module.
49 string Module = 1; 47 // Buildbot builds would be like "buildbot/chromium.linux/Linux Tests"
50 48 // Buildbucket builds would be like "buildbucket/luci.chromium.try/linux_chrom ium_rel_ng"
51 // Name is the identifier to find the builder within the module. 49 string Name = 1;
52 string Name = 2;
53 50
54 // Category describes the hierarchy of the builder on the header of the 51 // Category describes the hierarchy of the builder on the header of the
55 // console as a "|" delimited list. Neighboring builders with common ancestor s 52 // console as a "|" delimited list. Neighboring builders with common ancestor s
56 // will be have their headers merged. 53 // will be have their headers merged.
57 string Category = 3; 54 string Category = 2;
iannucci 2017/06/17 17:13:29 Is this a good way to do this? IIUC, this means yo
Ryan Tseng 2017/06/21 21:38:33 Buildbot does this. Was split originally on repea
58 55
59 // ShortName is the 1-3 character abbreviation of the builder. 56 // ShortName is the 1-3 character abbreviation of the builder.
60 string ShortName = 4; 57 string ShortName = 3;
iannucci 2017/06/17 17:13:29 what is this for? does this need to be unique?
Ryan Tseng 2017/06/21 21:38:33 For display only. Doesn't need to be unique.
61 } 58 }
OLDNEW
« no previous file with comments | « milo/appengine/logdog/internal/stream.pb.go ('k') | milo/common/config/project.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698