2 ###################################
3 # job configuration for functest
4 ###################################
10 # -------------------------------
12 # -------------------------------
19 branch: 'stable/{stream}'
20 gs-pathname: '/{stream}'
23 branch: 'stable/{stream}'
24 gs-pathname: '/{stream}'
27 branch: 'stable/{stream}'
28 gs-pathname: '/{stream}'
29 # -------------------------------
30 # POD, INSTALLER, AND BRANCH MAPPING
31 # -------------------------------
32 # Installers using labels
34 # This section should only contain the installers
35 # that have been switched using labels for slaves
36 # -------------------------------
40 slave-label: fuel-baremetal
44 slave-label: fuel-virtual
48 slave-label: fuel-baremetal
52 slave-label: fuel-virtual
57 slave-label: joid-baremetal
61 slave-label: joid-virtual
65 slave-label: joid-baremetal
69 slave-label: joid-virtual
74 slave-label: compass-baremetal
78 slave-label: compass-virtual
82 slave-label: compass-baremetal
86 slave-label: compass-virtual
91 slave-label: apex-virtual-master
95 slave-label: apex-baremetal-master
99 slave-label: apex-virtual-fraser
103 slave-label: apex-baremetal-fraser
108 slave-label: armband-baremetal
112 slave-label: armband-virtual
116 slave-label: armband-baremetal
120 slave-label: armband-virtual
125 slave-label: daisy-baremetal
129 slave-label: daisy-virtual
133 slave-label: daisy-baremetal
137 slave-label: daisy-virtual
140 # netvirt 3rd party ci
142 slave-label: odl-netvirt-virtual
145 # -------------------------------
147 # -------------------------------
161 slave-label: 'intel-pod8'
200 # -------------------------------
201 # PODs for verify jobs triggered by each patch upload
203 # slave-label: '{pod}'
206 # -------------------------------
215 - 'functest-{installer}-{pod}-{testsuite}-{stream}'
217 ################################
219 ################################
221 name: 'functest-{installer}-{pod}-{testsuite}-{stream}'
234 name: '$BUILD_NUMBER Suite: $FUNCTEST_MODE Scenario: $DEPLOY_SCENARIO'
236 timeout: '{job-timeout}'
243 - '{installer}-defaults'
244 - '{slave-label}-defaults'
245 - 'functest-{testsuite}-parameter'
247 name: DEPLOY_SCENARIO
248 default: 'os-nosdn-nofeature-noha'
250 name: CLEAN_DOCKER_IMAGES
252 description: 'Remove downloaded docker images (opnfv/functest*:*)'
253 - functest-parameter:
254 gs-pathname: '{gs-pathname}'
260 - description-setter:
261 description: "Built on $NODE_NAME"
262 - 'functest-{testsuite}-builder'
265 ########################
267 ########################
269 name: functest-daily-parameter
274 description: "Daily suite name to run"
277 name: functest-suite-parameter
285 description: "Test case or Tier to be run"
287 name: FUNCTEST_SUITE_NAME
291 - 'snaps_health_check'
302 - 'doctor-notification'
305 - 'barometercollectd'
313 default: 'connection_check'
323 default: 'healthcheck'
325 name: TESTCASE_OPTIONS
327 description: 'Additional parameters specific to test case(s)'
330 name: functest-parameter
334 default: '{gs-pathname}'
335 description: "Version directory where the opnfv documents will be stored in gs repository"
337 name: FUNCTEST_REPO_DIR
338 default: "/home/opnfv/repos/functest"
339 description: "Directory where the Functest repository is cloned"
341 name: PUSH_RESULTS_TO_DB
343 description: "Push the results of all the tests to the resultDB"
347 description: "Show debug output information"
351 description: "Path to the OS credentials file if given"
355 description: "Repository name for functest images"
356 ########################
358 ########################
360 name: 'functest-master'
364 ########################
366 ########################
368 name: functest-daily-builder
372 - 'functest-store-results'
376 name: functest-suite-builder
380 - 'functest-store-results'
386 # yamllint disable rule:indentation
388 condition-kind: regex-match
390 label: '$DEPLOY_SCENARIO'
394 - ./functest-env-presetup.sh
395 - ../../utils/fetch_os_creds.sh
396 - ./functest-alpine.sh
398 condition-kind: regex-match
400 label: '$DEPLOY_SCENARIO'
404 - ../../utils/fetch_k8_conf.sh
407 # yamllint enable rule:indentation
409 name: functest-store-results
412 !include-raw: ../../utils/push-test-logs.sh
415 name: functest-cleanup
418 !include-raw: ./functest-cleanup.sh
424 !include-raw: ./functest-exit.sh