Remove Euphrates jobs
[releng.git] / jjb / barometer / barometer.yml
1 ---
2 ###################################################
3 # All the jobs except verify have been removed!
4 # They will only be enabled on request by projects!
5 ###################################################
6 - project:
7     name: barometer
8
9     project: '{name}'
10
11     jobs:
12       - 'barometer-verify-{stream}'
13       - 'barometer-merge-{stream}'
14       - 'barometer-daily-{stream}'
15
16     stream:
17       - master:
18           branch: '{stream}'
19           gs-pathname: ''
20           disabled: false
21       - fraser: &fraser
22           branch: 'stable/{stream}'
23           gs-pathname: '/{stream}'
24           disabled: false
25
26 - job-template:
27     name: 'barometer-verify-{stream}'
28
29     disabled: '{obj:disabled}'
30
31     parameters:
32       - project-parameter:
33           project: '{project}'
34           branch: '{branch}'
35       - 'opnfv-build-ubuntu-defaults'
36
37     scm:
38       - git-scm-gerrit
39
40     triggers:
41       - gerrit:
42           server-name: 'gerrit.opnfv.org'
43           trigger-on:
44             - patchset-created-event:
45                 exclude-drafts: 'false'
46                 exclude-trivial-rebase: 'false'
47                 exclude-no-code-change: 'false'
48             - draft-published-event
49             - comment-added-contains-event:
50                 comment-contains-value: 'recheck'
51             - comment-added-contains-event:
52                 comment-contains-value: 'reverify'
53           projects:
54             - project-compare-type: 'ANT'
55               project-pattern: '{project}'
56               branches:
57                 - branch-compare-type: 'ANT'
58                   branch-pattern: '**/{branch}'
59               disable-strict-forbidden-file-verification: 'true'
60               forbidden-file-paths:
61                 - compare-type: ANT
62                   pattern: 'docs/**|.gitignore'
63
64     builders:
65       - shell: |
66           pwd
67           cd src
68           make clobber
69           make
70
71 - job-template:
72     name: 'barometer-merge-{stream}'
73
74     project-type: freestyle
75
76     disabled: '{obj:disabled}'
77
78     concurrent: true
79
80     properties:
81       - logrotate-default
82       - throttle:
83           enabled: true
84           max-total: 3
85           max-per-node: 2
86           option: 'project'
87
88     parameters:
89       - project-parameter:
90           project: '{project}'
91           branch: '{branch}'
92       - 'opnfv-build-ubuntu-defaults'
93
94     scm:
95       - git-scm
96
97     triggers:
98       - gerrit:
99           server-name: 'gerrit.opnfv.org'
100           trigger-on:
101             - change-merged-event
102             - comment-added-contains-event:
103                 comment-contains-value: 'remerge'
104           projects:
105             - project-compare-type: 'ANT'
106               project-pattern: '{project}'
107               branches:
108                 - branch-compare-type: 'ANT'
109                   branch-pattern: '**/{branch}'
110               disable-strict-forbidden-file-verification: 'true'
111               forbidden-file-paths:
112                 - compare-type: ANT
113                   pattern: 'docs/**'
114
115     builders:
116       - shell: |
117           pwd
118           cd src
119           make clobber
120           make
121
122 - job-template:
123     name: 'barometer-daily-{stream}'
124
125     project-type: freestyle
126
127     disabled: '{obj:disabled}'
128
129     concurrent: false
130
131     properties:
132       - logrotate-default
133
134     parameters:
135       - project-parameter:
136           project: '{project}'
137           branch: '{branch}'
138       - barometer-project-parameter:
139           gs-pathname: '{gs-pathname}'
140       - 'opnfv-build-centos-defaults'
141
142     scm:
143       - git-scm
144
145     triggers:
146       - timed: '@midnight'
147
148     builders:
149       - shell:
150           !include-raw-escape: ./barometer-build.sh
151       - shell:
152           !include-raw-escape: ./barometer-upload-artifact.sh
153
154 ########################
155 # parameter macros
156 ########################
157 - parameter:
158     name: barometer-project-parameter
159     parameters:
160       - string:
161           name: GS_URL
162           default: '$GS_BASE{gs-pathname}'
163           description: "URL to Google Storage."