1 ###################################
2 # job configuration for functest
3 ###################################
9 #--------------------------------
11 #--------------------------------
17 brahmaputra: &brahmaputra
19 branch: 'stable/{stream}'
20 gs-pathname: '/{stream}'
22 #--------------------------------
23 # POD, INSTALLER, AND BRANCH MAPPING
24 #--------------------------------
25 # Installers using labels
27 # This section should only contain the installers
28 # that have been switched using labels for slaves
29 #--------------------------------
33 slave-label: fuel-baremetal
37 slave-label: fuel-virtual
41 slave-label: fuel-baremetal
45 slave-label: fuel-virtual
50 slave-label: joid-baremetal
54 slave-label: joid-virtual
58 slave-label: joid-baremetal
62 slave-label: joid-virtual
67 slave-label: compass-baremetal
71 slave-label: compass-virtual
75 slave-label: compass-baremetal
79 slave-label: compass-virtual
91 #--------------------------------
93 #--------------------------------
126 #--------------------------------
137 - 'functest-{installer}-{pod}-{testsuite}-{stream}'
139 ################################
141 ################################
143 name: 'functest-{installer}-{pod}-{testsuite}-{stream}'
155 name: '$BUILD_NUMBER Suite: $FUNCTEST_SUITE_NAME Scenario: $DEPLOY_SCENARIO'
157 timeout: '{job-timeout}'
163 - '{slave-label}-defaults'
164 - '{installer}-defaults'
165 - 'functest-{testsuite}-parameter'
167 name: DEPLOY_SCENARIO
168 default: 'os-odl_l2-nofeature-ha'
171 default: '{docker-tag}'
172 description: 'Tag to pull docker image'
173 - functest-parameter:
174 gs-pathname: '{gs-pathname}'
178 credentials-id: '{ssh-credentials}'
183 - description-setter:
184 description: "POD: $NODE_NAME"
185 - 'functest-{testsuite}-builder'
187 ########################
189 ########################
191 name: functest-daily-parameter
194 name: FUNCTEST_SUITE_NAME
196 description: "Daily suite name to run"
198 name: functest-weekly-parameter
201 name: FUNCTEST_SUITE_NAME
203 description: "Weekly suite name to run"
205 name: functest-suite-parameter
208 name: FUNCTEST_SUITE_NAME
213 - 'tempest_smoke_serial'
221 - 'tempest_full_parallel'
226 name: functest-parameter
230 default: '{gs-pathname}'
231 description: "Version directory where the opnfv documents will be stored in gs repository"
233 name: FUNCTEST_REPO_DIR
234 default: "/home/opnfv/repos/functest"
235 description: "Directory where the Functest repository is cloned"
237 name: PUSH_RESULTS_TO_DB
239 description: "Push the results of all the tests to the resultDB"
243 description: "Show debug output information"
244 ########################
246 ########################
248 name: 'functest-master'
252 ########################
254 ########################
256 name: functest-daily-builder
261 - 'functest-store-results'
264 name: functest-weekly-builder
269 - 'functest-store-results'
272 name: functest-suite-builder
282 !include-raw: ./functest-loop.sh
285 name: functest-weekly
288 !include-raw: ./functest-loop.sh
294 !include-raw: ./functest-suite.sh
297 name: set-functest-env
300 !include-raw: ./set-functest-env.sh
303 name: functest-store-results
306 !include-raw: ../../utils/push-test-logs.sh
309 name: functest-cleanup
312 !include-raw: ./functest-cleanup.sh