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}'
25 # -------------------------------
26 # POD, INSTALLER, AND BRANCH MAPPING
27 # -------------------------------
28 # Installers using labels
30 # This section should only contain the installers
31 # that have been switched using labels for slaves
32 # -------------------------------
36 slave-label: fuel-baremetal
40 slave-label: fuel-virtual
44 slave-label: fuel-baremetal
48 slave-label: fuel-virtual
53 slave-label: compass-baremetal
57 slave-label: compass-virtual
62 slave-label: apex-virtual-master
66 slave-label: apex-baremetal-master
70 slave-label: apex-virtual-master
74 slave-label: apex-baremetal-master
78 slave-label: apex-virtual-master
82 slave-label: apex-baremetal-master
87 slave-label: armband-baremetal
91 slave-label: armband-baremetal
102 - 'functest-{installer}-{pod}-{testsuite}-{stream}'
104 ################################
106 ################################
108 name: 'functest-{installer}-{pod}-{testsuite}-{stream}'
122 name: '$BUILD_NUMBER Suite: $FUNCTEST_MODE Scenario: $DEPLOY_SCENARIO'
124 timeout: '{job-timeout}'
131 - '{installer}-defaults'
132 - '{slave-label}-defaults'
133 - 'functest-{testsuite}-parameter'
135 name: DEPLOY_SCENARIO
136 default: 'os-nosdn-nofeature-noha'
141 name: CLEAN_DOCKER_IMAGES
143 description: 'Remove downloaded docker images (opnfv/functest*:*)'
144 - functest-parameter:
145 gs-pathname: '{gs-pathname}'
151 - description-setter:
152 description: "Built on $NODE_NAME"
153 - 'functest-{testsuite}-builder'
156 ########################
158 ########################
160 name: functest-daily-parameter
165 description: "Daily suite name to run"
168 name: functest-suite-parameter
176 description: "Test case or Tier to be run"
178 name: FUNCTEST_SUITE_NAME
182 - 'snaps_health_check'
195 - 'doctor-notification'
198 - 'barometercollectd'
206 default: 'connection_check'
217 default: 'healthcheck'
219 name: TESTCASE_OPTIONS
221 description: 'Additional parameters specific to test case(s)'
224 name: functest-parameter
228 default: '{gs-pathname}'
229 description: "Version directory where the opnfv documents will be stored in gs repository"
231 name: FUNCTEST_REPO_DIR
232 default: "/home/opnfv/repos/functest"
233 description: "Directory where the Functest repository is cloned"
235 name: PUSH_RESULTS_TO_DB
237 description: "Push the results of all the tests to the resultDB"
241 description: "Show debug output information"
245 description: "Path to the OS credentials file if given"
249 description: "Repository name for functest images"
250 ########################
252 ########################
254 name: 'functest-master'
258 ########################
260 ########################
262 name: functest-daily-builder
266 - 'functest-store-results'
270 name: functest-suite-builder
274 - 'functest-store-results'
280 # yamllint disable rule:indentation
282 condition-kind: regex-match
284 label: '$DEPLOY_SCENARIO'
288 - ./functest-env-presetup.sh
289 - ../../utils/fetch_os_creds.sh
290 - ./functest-alpine.sh
292 condition-kind: regex-match
294 label: '$DEPLOY_SCENARIO'
298 - ../../utils/fetch_k8_conf.sh
301 # yamllint enable rule:indentation
303 name: functest-store-results
306 !include-raw: ../../utils/push-test-logs.sh
309 name: functest-cleanup
312 !include-raw: ./functest-cleanup.sh
318 !include-raw: ./functest-exit.sh