2 ###################################
3 # job configuration for functest
4 ###################################
10 # -------------------------------
12 # -------------------------------
19 branch: 'stable/{stream}'
20 gs-pathname: '/{stream}'
21 # -------------------------------
22 # POD, INSTALLER, AND BRANCH MAPPING
23 # -------------------------------
24 # Installers using labels
26 # This section should only contain the installers
27 # that have been switched using labels for slaves
28 # -------------------------------
32 slave-label: fuel-baremetal
36 slave-label: fuel-virtual
40 slave-label: fuel-baremetal
44 slave-label: fuel-virtual
49 slave-label: joid-baremetal
53 slave-label: joid-virtual
57 slave-label: joid-baremetal
61 slave-label: joid-virtual
66 slave-label: compass-baremetal
70 slave-label: compass-virtual
74 slave-label: compass-baremetal
78 slave-label: compass-virtual
83 slave-label: apex-virtual-master
87 slave-label: apex-baremetal-master
91 slave-label: apex-virtual-fraser
95 slave-label: apex-baremetal-fraser
100 slave-label: armband-baremetal
104 slave-label: armband-virtual
108 slave-label: armband-baremetal
112 slave-label: armband-virtual
117 slave-label: daisy-baremetal
121 slave-label: daisy-virtual
125 slave-label: daisy-baremetal
129 slave-label: daisy-virtual
132 # netvirt 3rd party ci
134 slave-label: odl-netvirt-virtual
137 # -------------------------------
139 # -------------------------------
153 slave-label: 'intel-pod8'
192 # -------------------------------
193 # PODs for verify jobs triggered by each patch upload
195 # slave-label: '{pod}'
198 # -------------------------------
207 - 'functest-{installer}-{pod}-{testsuite}-{stream}'
209 ################################
211 ################################
213 name: 'functest-{installer}-{pod}-{testsuite}-{stream}'
226 name: '$BUILD_NUMBER Suite: $FUNCTEST_MODE Scenario: $DEPLOY_SCENARIO'
228 timeout: '{job-timeout}'
235 - '{installer}-defaults'
236 - '{slave-label}-defaults'
237 - 'functest-{testsuite}-parameter'
239 name: DEPLOY_SCENARIO
240 default: 'os-nosdn-nofeature-noha'
242 name: CLEAN_DOCKER_IMAGES
244 description: 'Remove downloaded docker images (opnfv/functest*:*)'
245 - functest-parameter:
246 gs-pathname: '{gs-pathname}'
252 - description-setter:
253 description: "Built on $NODE_NAME"
254 - 'functest-{testsuite}-builder'
257 ########################
259 ########################
261 name: functest-daily-parameter
266 description: "Daily suite name to run"
269 name: functest-suite-parameter
277 description: "Test case or Tier to be run"
279 name: FUNCTEST_SUITE_NAME
283 - 'snaps_health_check'
294 - 'doctor-notification'
297 - 'barometercollectd'
305 default: 'connection_check'
315 default: 'healthcheck'
317 name: TESTCASE_OPTIONS
319 description: 'Additional parameters specific to test case(s)'
322 name: functest-parameter
326 default: '{gs-pathname}'
327 description: "Version directory where the opnfv documents will be stored in gs repository"
329 name: FUNCTEST_REPO_DIR
330 default: "/home/opnfv/repos/functest"
331 description: "Directory where the Functest repository is cloned"
333 name: PUSH_RESULTS_TO_DB
335 description: "Push the results of all the tests to the resultDB"
339 description: "Show debug output information"
343 description: "Path to the OS credentials file if given"
347 description: "Repository name for functest images"
348 ########################
350 ########################
352 name: 'functest-master'
356 ########################
358 ########################
360 name: functest-daily-builder
364 - 'functest-store-results'
368 name: functest-suite-builder
372 - 'functest-store-results'
378 # yamllint disable rule:indentation
380 condition-kind: regex-match
382 label: '$DEPLOY_SCENARIO'
386 - ./functest-env-presetup.sh
387 - ../../utils/fetch_os_creds.sh
388 - ./functest-alpine.sh
390 condition-kind: regex-match
392 label: '$DEPLOY_SCENARIO'
396 - ../../utils/fetch_k8_conf.sh
399 # yamllint enable rule:indentation
401 name: functest-store-results
404 !include-raw: ../../utils/push-test-logs.sh
407 name: functest-cleanup
410 !include-raw: ./functest-cleanup.sh
416 !include-raw: ./functest-exit.sh