2 ###################################
3 # job configuration for dovetail
4 ###################################
10 # --------------------------------------
12 # --------------------------------------
13 # 1)the stream/branch here represents the SUT(System Under Test) stream/branch
14 # 2)docker-tag is the docker tag of dovetail(only master by now, then all latest used)
15 # the dovetail stream is one-to-one mapping with dovetail docker-tag
16 # the dovetail is not sync with A/B/C release
20 dovetail-branch: '{stream}'
25 branch: 'stable/{stream}'
26 dovetail-branch: master
27 gs-pathname: '/{stream}'
30 # ----------------------------------
31 # POD, PLATFORM, AND BRANCH MAPPING
32 # ----------------------------------
34 # This section should only contain the SUTs
35 # that have been switched using labels for slaves
36 # -----------------------------------------------
37 # the pods, SUTs listed here are just examples to
38 # let the dovetail tool run, there can be more ways beside CI to
39 # run the dovetail tool.
40 # pods, SUTs will be added/adjusted when needed
44 slave-label: fuel-baremetal
46 auto-trigger-name: 'daily-trigger-disabled'
49 slave-label: fuel-virtual
51 auto-trigger-name: 'daily-trigger-disabled'
54 slave-label: fuel-baremetal
56 auto-trigger-name: 'daily-trigger-disabled'
59 slave-label: fuel-virtual
61 auto-trigger-name: 'daily-trigger-disabled'
65 slave-label: compass-baremetal
67 auto-trigger-name: 'daily-trigger-disabled'
70 slave-label: compass-virtual
72 auto-trigger-name: 'daily-trigger-disabled'
75 slave-label: compass-baremetal
77 auto-trigger-name: 'daily-trigger-disabled'
80 slave-label: compass-virtual
82 auto-trigger-name: 'daily-trigger-disabled'
84 # -------------------------------
85 # Installers not using labels
87 # This section should only contain the installers
88 # that have not been switched using labels for slaves
89 # -------------------------------
92 slave-label: apex-virtual-master
94 auto-trigger-name: 'daily-trigger-disabled'
97 slave-label: apex-baremetal-master
99 auto-trigger-name: 'daily-trigger-disabled'
102 slave-label: apex-virtual-master
104 auto-trigger-name: 'daily-trigger-disabled'
107 slave-label: apex-baremetal-master
109 auto-trigger-name: 'daily-trigger-disabled'
113 slave-label: armband-baremetal
115 auto-trigger-name: 'daily-trigger-disabled'
118 slave-label: armband-virtual
120 auto-trigger-name: 'daily-trigger-disabled'
123 slave-label: armband-baremetal
125 auto-trigger-name: 'daily-trigger-disabled'
128 slave-label: armband-virtual
130 auto-trigger-name: 'daily-trigger-disabled'
132 # -------------------------------
134 # -------------------------------
136 slave-label: 'intel-pod8'
138 auto-trigger-name: 'daily-trigger-disabled'
141 slave-label: zte-pod1
143 auto-trigger-name: 'daily-trigger-disabled'
146 slave-label: zte-pod2
148 auto-trigger-name: 'daily-trigger-disabled'
151 slave-label: zte-pod3
153 auto-trigger-name: 'daily-trigger-disabled'
156 slave-label: zte-pod1
158 auto-trigger-name: 'daily-trigger-disabled'
161 slave-label: zte-pod3
163 auto-trigger-name: 'daily-trigger-disabled'
166 slave-label: huawei-pod4
168 auto-trigger-name: 'daily-trigger-disabled'
171 slave-label: huawei-pod7
173 auto-trigger-name: 'daily-trigger-disabled'
176 # -------------------------------
186 - 'dovetail-{SUT}-{pod}-{testsuite}-{stream}'
187 - 'dovetail-{SUT}-{pod}-{testsuite}-{testarea}-{stream}'
189 ################################
191 ################################
193 name: 'dovetail-{SUT}-{pod}-{testsuite}-{stream}'
208 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
212 - fix-workspace-permissions
215 - '{auto-trigger-name}'
220 branch: '{dovetail-branch}'
222 - '{slave-label}-defaults'
224 name: DEPLOY_SCENARIO
225 default: 'os-nosdn-nofeature-ha'
228 default: '{docker-tag}'
229 description: 'Tag to pull dovetail docker image'
233 description: "Show debug output information"
236 default: '{testsuite}'
237 description: "dovetail testsuite to run"
241 description: "dovetail testarea to run"
243 name: DOVETAIL_REPO_DIR
244 default: "/home/opnfv/dovetail"
245 description: "Directory where the dovetail repository is cloned"
249 description: "SUT branch"
255 - description-setter:
256 description: "POD: $NODE_NAME"
262 artifacts: 'results/**/*'
265 - email-jenkins-admins-on-failure
268 name: 'dovetail-{SUT}-{pod}-{testsuite}-{testarea}-{stream}'
283 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
287 - fix-workspace-permissions
290 - '{auto-trigger-name}'
295 branch: '{dovetail-branch}'
297 - '{slave-label}-defaults'
299 name: DEPLOY_SCENARIO
300 default: 'os-nosdn-nofeature-ha'
303 default: '{docker-tag}'
304 description: 'Tag to pull dovetail docker image'
308 description: "Show debug output information"
311 default: '{testsuite}'
312 description: "dovetail testsuite to run"
315 default: '{testarea}'
316 description: "dovetail testarea to run"
318 name: DOVETAIL_REPO_DIR
319 default: "/home/opnfv/dovetail"
320 description: "Directory where the dovetail repository is cloned"
324 description: "SUT branch"
330 - description-setter:
331 description: "POD: $NODE_NAME"
337 artifacts: 'results/**/*'
340 - email-jenkins-admins-on-failure
342 # -------------------------
344 # -------------------------
349 !include-raw: ./dovetail-run.sh
352 name: dovetail-cleanup
355 !include-raw: ./dovetail-cleanup.sh