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: apex-virtual-master
57 slave-label: apex-baremetal-master
61 slave-label: apex-virtual-master
65 slave-label: apex-baremetal-master
70 slave-label: armband-baremetal
74 slave-label: armband-baremetal
79 slave-label: fuel-baremetal
83 slave-label: fuel-baremetal
94 - 'functest-{installer}-{pod}-{testsuite}-{stream}'
96 ################################
98 ################################
100 name: 'functest-{installer}-{pod}-{testsuite}-{stream}'
114 name: '$BUILD_NUMBER Suite: $FUNCTEST_MODE Scenario: $DEPLOY_SCENARIO'
116 timeout: '{job-timeout}'
123 - '{installer}-defaults'
124 - '{slave-label}-defaults'
125 - 'functest-{testsuite}-parameter'
127 name: DEPLOY_SCENARIO
128 default: 'os-nosdn-nofeature-noha'
133 name: CLEAN_DOCKER_IMAGES
135 description: 'Remove downloaded docker images (opnfv/functest*:*)'
136 - functest-parameter:
137 gs-pathname: '{gs-pathname}'
143 - description-setter:
144 description: "Built on $NODE_NAME"
145 - 'functest-{testsuite}-builder'
148 ########################
150 ########################
152 name: functest-daily-parameter
157 description: "Daily suite name to run"
160 name: functest-suite-parameter
168 description: "Test case or Tier to be run"
170 name: FUNCTEST_SUITE_NAME
174 - 'snaps_health_check'
193 default: 'connection_check'
203 default: 'healthcheck'
205 name: TESTCASE_OPTIONS
207 description: 'Additional parameters specific to test case(s)'
210 name: functest-parameter
214 default: '{gs-pathname}'
215 description: "Version directory where the opnfv documents will be stored in gs repository"
217 name: FUNCTEST_REPO_DIR
218 default: "/home/opnfv/repos/functest"
219 description: "Directory where the Functest repository is cloned"
221 name: PUSH_RESULTS_TO_DB
223 description: "Push the results of all the tests to the resultDB"
227 description: "Show debug output information"
231 description: "Path to the OS credentials file if given"
235 description: "Repository name for functest images"
236 ########################
238 ########################
240 name: 'functest-master'
244 ########################
246 ########################
248 name: functest-daily-builder
252 - 'functest-store-results'
256 name: functest-suite-builder
260 - 'functest-store-results'
266 # yamllint disable rule:indentation
268 condition-kind: regex-match
270 label: '$DEPLOY_SCENARIO'
274 - ./functest-env-presetup.sh
275 - ../../utils/fetch_os_creds.sh
276 - ./functest-alpine.sh
278 condition-kind: regex-match
280 label: '$DEPLOY_SCENARIO'
284 - ../../utils/fetch_k8_conf.sh
287 # yamllint enable rule:indentation
289 name: functest-store-results
292 !include-raw: ../../utils/push-test-logs.sh
295 name: functest-cleanup
298 !include-raw: ./functest-cleanup.sh
304 !include-raw: ./functest-exit.sh