Resolve shellcheck SC219[67] ?grep non-standard
[releng/global-jjb.git] / jjb / lf-views.yaml
1 ---
2 ########################
3 # common view template #
4 ########################
5
6 - lf_view_common_columns: &lf_view_common_columns
7     name: lf-view-common-columns
8
9     columns:
10       - status
11       - weather
12       - job
13       - last-success
14       - last-failure
15       - last-duration
16       - build-button
17       - jacoco
18       - find-bugs
19
20 - view-template:
21     id: "common-view"
22     name: "{view-name}"
23
24     ######################
25     # Default parameters #
26     ######################
27
28     view-description: "View using common-view template."
29     view-filter-executors: false
30     view-filter-queue: false
31     view-recurse: false
32
33     ######################
34     # view Configuration #
35     ######################
36
37     view-type: list
38     description: "{view-description}"
39     filter-executors: "{view-filter-executors}"
40     filter-queue: "{view-filter-queue}"
41     recurse: "{view-recurse}"
42     regex: "{view-regex}"
43     <<: *lf_view_common_columns
44
45 ######################
46 # CSIT view template #
47 ######################
48
49 - view-template:
50     id: "csit-view"
51     name: "{view-name}"
52
53     ######################
54     # Default parameters #
55     ######################
56
57     view-description: "CSIT jobs."
58     view-filter-executors: false
59     view-filter-queue: false
60     view-recurse: false
61
62     ######################
63     # view Configuration #
64     ######################
65
66     view-type: list
67     description: "{view-description}"
68     filter-executors: "{view-filter-executors}"
69     filter-queue: "{view-filter-queue}"
70     recurse: "{view-recurse}"
71     regex: "{view-regex}"
72     columns:
73       - status
74       - weather
75       - job
76       - last-success
77       - last-failure
78       - last-duration
79       - build-button
80       - robot-list
81
82 #########################
83 # project view template #
84 #########################
85
86 - view-template:
87     id: "project-view"
88     name: "{project-name}"
89
90     ######################
91     # Default parameters #
92     ######################
93
94     view-filter-executors: false
95     view-filter-queue: false
96     view-recurse: false
97
98     ######################
99     # view Configuration #
100     ######################
101
102     view-type: list
103     description: "List of jobs for {project-name}."
104     filter-executors: "{view-filter-executors}"
105     filter-queue: "{view-filter-queue}"
106     recurse: "{view-recurse}"
107     regex: "^{project-name}-.*"
108     <<: *lf_view_common_columns