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
96 slave-label: fuel-baremetal
100 slave-label: fuel-baremetal
111 - 'functest-{installer}-{pod}-{testsuite}-{stream}'
113 ################################
115 ################################
117 name: 'functest-{installer}-{pod}-{testsuite}-{stream}'
131 name: '$BUILD_NUMBER Suite: $FUNCTEST_MODE Scenario: $DEPLOY_SCENARIO'
133 timeout: '{job-timeout}'
140 - '{installer}-defaults'
141 - '{slave-label}-defaults'
142 - 'functest-{testsuite}-parameter'
144 name: DEPLOY_SCENARIO
145 default: 'os-nosdn-nofeature-noha'
150 name: CLEAN_DOCKER_IMAGES
152 description: 'Remove downloaded docker images (opnfv/functest*:*)'
153 - functest-parameter:
154 gs-pathname: '{gs-pathname}'
160 - description-setter:
161 description: "Built on $NODE_NAME"
162 - 'functest-{testsuite}-builder'
165 ########################
167 ########################
169 name: functest-daily-parameter
174 description: "Daily suite name to run"
177 name: functest-suite-parameter
185 description: "Test case or Tier to be run"
187 name: FUNCTEST_SUITE_NAME
191 - 'snaps_health_check'
204 - 'doctor-notification'
207 - 'barometercollectd'
215 default: 'connection_check'
226 default: 'healthcheck'
228 name: TESTCASE_OPTIONS
230 description: 'Additional parameters specific to test case(s)'
233 name: functest-parameter
237 default: '{gs-pathname}'
238 description: "Version directory where the opnfv documents will be stored in gs repository"
240 name: FUNCTEST_REPO_DIR
241 default: "/home/opnfv/repos/functest"
242 description: "Directory where the Functest repository is cloned"
244 name: PUSH_RESULTS_TO_DB
246 description: "Push the results of all the tests to the resultDB"
250 description: "Show debug output information"
254 description: "Path to the OS credentials file if given"
258 description: "Repository name for functest images"
259 ########################
261 ########################
263 name: 'functest-master'
267 ########################
269 ########################
271 name: functest-daily-builder
275 - 'functest-store-results'
279 name: functest-suite-builder
283 - 'functest-store-results'
289 # yamllint disable rule:indentation
291 condition-kind: regex-match
293 label: '$DEPLOY_SCENARIO'
297 - ./functest-env-presetup.sh
298 - ../../utils/fetch_os_creds.sh
299 - ./functest-alpine.sh
301 condition-kind: regex-match
303 label: '$DEPLOY_SCENARIO'
307 - ../../utils/fetch_k8_conf.sh
310 # yamllint enable rule:indentation
312 name: functest-store-results
315 !include-raw: ../../utils/push-test-logs.sh
318 name: functest-cleanup
321 !include-raw: ./functest-cleanup.sh
327 !include-raw: ./functest-exit.sh