bugfix: fail to generate APIs document
[releng.git] / jjb / storperf / storperf.yml
1 - project:
2     name: storperf
3
4     project: '{name}'
5
6     jobs:
7         - 'storperf-verify-{stream}'
8         - 'storperf-merge-{stream}'
9         - 'storperf-daily-{stream}'
10
11     stream:
12         - master:
13             branch: '{stream}'
14             gs-pathname: ''
15             disabled: false
16             docker-tag: 'latest'
17         - danube:
18             branch: 'stable/{stream}'
19             gs-pathname: '/{stream}'
20             disabled: false
21             docker-tag: 'stable'
22
23 - job-template:
24     name: 'storperf-verify-{stream}'
25
26     disabled: '{obj:disabled}'
27
28     node: opnfv-build-ubuntu
29
30     parameters:
31         - project-parameter:
32             project: '{project}'
33             branch: '{branch}'
34         - string:
35             name: GIT_BASE
36             default: https://gerrit.opnfv.org/gerrit/$PROJECT
37             description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
38
39     scm:
40         - git-scm-gerrit
41
42     triggers:
43         - gerrit:
44             server-name: 'gerrit.opnfv.org'
45             trigger-on:
46                 - patchset-created-event:
47                     exclude-drafts: 'false'
48                     exclude-trivial-rebase: 'false'
49                     exclude-no-code-change: 'false'
50                 - draft-published-event
51                 - comment-added-contains-event:
52                     comment-contains-value: 'recheck'
53                 - comment-added-contains-event:
54                     comment-contains-value: 'reverify'
55             projects:
56               - project-compare-type: 'ANT'
57                 project-pattern: '{project}'
58                 branches:
59                   - branch-compare-type: 'ANT'
60                     branch-pattern: '**/{branch}'
61
62     builders:
63         - shell: |
64             $WORKSPACE/ci/verify.sh
65
66     publishers:
67         - junit:
68             results: nosetests.xml
69         - cobertura:
70             report-file: "coverage.xml"
71             only-stable: "true"
72             health-auto-update: "true"
73             stability-auto-update: "true"
74             zoom-coverage-chart: "true"
75             targets:
76                 - files:
77                     healthy: 10
78                     unhealthy: 20
79                     failing: 30
80                 - method:
81                     healthy: 50
82                     unhealthy: 40
83                     failing: 30
84         - email-jenkins-admins-on-failure
85
86 - job-template:
87     name: 'storperf-merge-{stream}'
88
89     node: opnfv-build-ubuntu
90
91     parameters:
92         - project-parameter:
93             project: '{project}'
94             branch: '{branch}'
95         - string:
96             name: GIT_BASE
97             default: https://gerrit.opnfv.org/gerrit/$PROJECT
98             description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
99
100     scm:
101         - git-scm
102
103     triggers:
104         - gerrit:
105             server-name: 'gerrit.opnfv.org'
106             trigger-on:
107                 - change-merged-event
108                 - comment-added-contains-event:
109                     comment-contains-value: 'remerge'
110             projects:
111               - project-compare-type: 'ANT'
112                 project-pattern: '{project}'
113                 branches:
114                     - branch-compare-type: 'ANT'
115                       branch-pattern: '**/{branch}'
116
117     builders:
118         - shell: |
119             $WORKSPACE/ci/merge.sh
120
121     publishers:
122         - junit:
123             results: nosetests.xml
124         - cobertura:
125             report-file: "coverage.xml"
126             only-stable: "true"
127             health-auto-update: "true"
128             stability-auto-update: "true"
129             zoom-coverage-chart: "true"
130             targets:
131                 - files:
132                     healthy: 10
133                     unhealthy: 20
134                     failing: 30
135                 - method:
136                     healthy: 50
137                     unhealthy: 40
138                     failing: 30
139         - email-jenkins-admins-on-failure
140
141 - job-template:
142     name: 'storperf-daily-{stream}'
143
144     # Job template for daily builders
145     #
146     # Required Variables:
147     #     stream:    branch with - in place of / (eg. stable)
148     #     branch:    branch (eg. stable)
149     disabled: '{obj:disabled}'
150
151     parameters:
152         - project-parameter:
153             project: '{project}'
154             branch: '{branch}'
155         - 'intel-pod9-defaults'
156         - string:
157             name: DEPLOY_SCENARIO
158             default: 'os-nosdn-nofeature-noha'
159         - string:
160             name: DOCKER_TAG
161             default: '{docker-tag}'
162             description: 'Tag to pull docker image'
163         - choice:
164             name: DISK_TYPE
165             choices:
166                 - 'SSD'
167                 - 'HDD'
168             default: 'HDD'
169             description: 'The type of hard disk that Cinder uses'
170         - string:
171             name: AGENT_COUNT
172             description: 'The number of slave agents to start. Defaults to the cinder node count'
173         - string:
174             name: VOLUME_SIZE
175             default: '4'
176             description: 'Size of Cinder volume (in GB)'
177         - string:
178             name: WORKLOADS
179             default: 'wr,rr,rw'
180             description: 'Workloads to run'
181         - string:
182             name: BLOCK_SIZES
183             default: '2048,16384'
184             description: 'Block sizes for VM I/O operations'
185         - string:
186             name: QUEUE_DEPTHS
187             default: '1,4'
188             description: 'Number of simultaneous I/O operations to keep active'
189         - string:
190             name: STEADY_STATE_SAMPLES
191             default: '10'
192             description: 'Number of samples to use (1 per minute) to measure steady state'
193         - string:
194             name: DEADLINE
195             description: 'Maximum run time in minutes if steady state cannot be found. Defaults to 3 times steady state samples'
196         - choice:
197             name: TEST_CASE
198             choices:
199                 - 'snia_steady_state'
200             description: 'The test case to run'
201
202     scm:
203         - git-scm
204
205     triggers:
206         - timed: '0 22 * * *'
207
208     builders:
209         - shell: |
210             $WORKSPACE/ci/daily.sh
211