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'
304 - 'doctor-notification'
307 - 'barometercollectd'
315 default: 'connection_check'
326 default: 'healthcheck'
328 name: TESTCASE_OPTIONS
330 description: 'Additional parameters specific to test case(s)'
333 name: functest-parameter
337 default: '{gs-pathname}'
338 description: "Version directory where the opnfv documents will be stored in gs repository"
340 name: FUNCTEST_REPO_DIR
341 default: "/home/opnfv/repos/functest"
342 description: "Directory where the Functest repository is cloned"
344 name: PUSH_RESULTS_TO_DB
346 description: "Push the results of all the tests to the resultDB"
350 description: "Show debug output information"
354 description: "Path to the OS credentials file if given"
358 description: "Repository name for functest images"
359 ########################
361 ########################
363 name: 'functest-master'
367 ########################
369 ########################
371 name: functest-daily-builder
375 - 'functest-store-results'
379 name: functest-suite-builder
383 - 'functest-store-results'
389 # yamllint disable rule:indentation
391 condition-kind: regex-match
393 label: '$DEPLOY_SCENARIO'
397 - ./functest-env-presetup.sh
398 - ../../utils/fetch_os_creds.sh
399 - ./functest-alpine.sh
401 condition-kind: regex-match
403 label: '$DEPLOY_SCENARIO'
407 - ../../utils/fetch_k8_conf.sh
410 # yamllint enable rule:indentation
412 name: functest-store-results
415 !include-raw: ../../utils/push-test-logs.sh
418 name: functest-cleanup
421 !include-raw: ./functest-cleanup.sh
427 !include-raw: ./functest-exit.sh