3 # ============LICENSE_START=======================================================
4 # Copyright (C) 2019 Nordix Foundation.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
21 #--------------------------------------------------------------------------------------
22 # The jobs declared in this JJB configuration file are used for deploying and testing
23 # ONAP scenario onap-nofeature-noha.
24 #--------------------------------------------------------------------------------------
27 name: 'cloud-infra-periodic-onap-baremetal'
29 project: 'infra/engine'
36 engine-version: master
37 engine-refspec: 'refs/changes/57/4157/12'
38 deploy-scenario: 'onap-nofeature-noha'
39 deploy-scenario-version: master
40 deploy-scenario-refspec: master
46 engine-version: master
47 engine-refspec: 'refs/changes/57/4157/12'
48 deploy-scenario: 'onap-nofeature-noha'
49 deploy-scenario-version: master
50 deploy-scenario-refspec: master
55 slave-label: 'onap-baremetal-deploy'
56 pod-name: est-baremetal
57 provisioner-type: bifrost
58 installer-type: kubespray
62 daily-trigger: '#@midnight'
69 test-type: oom-healthcheck
73 onap-healthcheck-phases:
76 test-type: onap-healthcheck
79 test-type: onap-healthcheck
82 test-type: onap-healthcheck
85 test-type: onap-healthcheck
88 test-type: onap-healthcheck
91 - 'onap-online-{onap-flavor}-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
92 - '{onap-other-phases}-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
93 - '{onap-healthcheck-phases}-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
96 name: 'onap-online-{onap-flavor}-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
98 project-type: multijob
100 disabled: '{obj:disabled}'
105 - project-parameters:
107 branch: '{nordix-branch}'
108 - nordix-gerrit-parameters
109 - onap-baremetal-parameter-macro-legacy
112 default: '{slave-label}'
113 description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
117 description: 'Distribution to use for configuring target nodes (networking etc.)'
120 default: '{onap-version}'
121 description: 'ONAP version to deploy'
124 default: '{onap-flavor}'
125 description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
128 default: '{engine-version}'
129 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
132 default: '{engine-refspec}'
133 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
135 name: DEPLOY_SCENARIO_VERSION
136 default: '{deploy-scenario-version}'
137 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
139 name: DEPLOY_SCENARIO_REFSPEC
140 default: '{deploy-scenario-refspec}'
141 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
144 default: '{pod-name}'
145 description: 'Development purposes only! Set to none for disabling test results DB reporting.'
150 use-build-blocker: true
152 - 'cloud-infra-verify-engine-.*'
153 - 'cloud-infra-verify-scenario-.*'
154 - 'cloud-infra-periodic-engine-.*'
169 - fix-workspace-permissions
172 - timed: '{daily-trigger}'
176 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
177 branch: '{nordix-branch}'
183 - description-setter:
184 description: $DEPLOY_SCENARIO | $ONAP_FLAVOR | baremetal
186 name: Deploy ONAP using OOM
189 - name: 'onap-deploy-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
190 current-parameters: false
191 predefined-parameters: |
193 PROVISIONER_TYPE=$PROVISIONER_TYPE
194 INSTALLER_TYPE=$INSTALLER_TYPE
195 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
196 ONAP_VERSION=$ONAP_VERSION
197 ONAP_FLAVOR=$ONAP_FLAVOR
199 ENGINE_VERSION=$ENGINE_VERSION
200 ENGINE_REFSPEC=$ENGINE_REFSPEC
201 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
202 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
203 XTESTING_REPO_URL=$XTESTING_REPO_URL
204 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
206 node-parameters: true
210 name: K8S and OOM Healthcheck using xtesting
213 - name: 'oom-hc-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
214 current-parameters: false
215 predefined-parameters: |
217 PROVISIONER_TYPE=$PROVISIONER_TYPE
218 INSTALLER_TYPE=$INSTALLER_TYPE
219 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
220 ONAP_VERSION=$ONAP_VERSION
222 TEST_TYPE=oom-healthcheck
224 ENGINE_VERSION=$ENGINE_VERSION
225 ENGINE_REFSPEC=$ENGINE_REFSPEC
226 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
227 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
228 XTESTING_REPO_URL=$XTESTING_REPO_URL
229 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
230 node-parameters: true
234 name: ONAP Healthcheck using xtesting
235 execution-type: SEQUENTIALLY
238 - name: 'onap-hc-core-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
239 current-parameters: false
240 predefined-parameters: |
241 SLAVE_LABEL=$SLAVE_LABEL
243 PROVISIONER_TYPE=$PROVISIONER_TYPE
244 INSTALLER_TYPE=$INSTALLER_TYPE
245 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
246 ONAP_VERSION=$ONAP_VERSION
248 TEST_TYPE=onap-healthcheck
250 ENGINE_VERSION=$ENGINE_VERSION
251 ENGINE_REFSPEC=$ENGINE_REFSPEC
252 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
253 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
254 XTESTING_REPO_URL=$XTESTING_REPO_URL
255 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
256 node-parameters: true
259 - name: 'onap-hc-small-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
260 current-parameters: false
261 predefined-parameters: |
262 SLAVE_LABEL=$SLAVE_LABEL
264 PROVISIONER_TYPE=$PROVISIONER_TYPE
265 INSTALLER_TYPE=$INSTALLER_TYPE
266 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
267 ONAP_VERSION=$ONAP_VERSION
269 TEST_TYPE=onap-healthcheck
271 ENGINE_VERSION=$ENGINE_VERSION
272 ENGINE_REFSPEC=$ENGINE_REFSPEC
273 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
274 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
275 XTESTING_REPO_URL=$XTESTING_REPO_URL
276 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
277 node-parameters: true
280 - name: 'onap-hc-medium-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
281 current-parameters: false
282 predefined-parameters: |
283 SLAVE_LABEL=$SLAVE_LABEL
285 PROVISIONER_TYPE=$PROVISIONER_TYPE
286 INSTALLER_TYPE=$INSTALLER_TYPE
287 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
288 ONAP_VERSION=$ONAP_VERSION
290 TEST_TYPE=onap-healthcheck
292 ENGINE_VERSION=$ENGINE_VERSION
293 ENGINE_REFSPEC=$ENGINE_REFSPEC
294 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
295 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
296 XTESTING_REPO_URL=$XTESTING_REPO_URL
297 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
298 node-parameters: true
301 - name: 'onap-hc-full-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
302 current-parameters: false
303 predefined-parameters: |
304 SLAVE_LABEL=$SLAVE_LABEL
306 PROVISIONER_TYPE=$PROVISIONER_TYPE
307 INSTALLER_TYPE=$INSTALLER_TYPE
308 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
309 ONAP_VERSION=$ONAP_VERSION
311 TEST_TYPE=onap-healthcheck
313 ENGINE_VERSION=$ENGINE_VERSION
314 ENGINE_REFSPEC=$ENGINE_REFSPEC
315 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
316 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
317 XTESTING_REPO_URL=$XTESTING_REPO_URL
318 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
319 node-parameters: true
322 - name: 'onap-hc-healthdist-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
323 current-parameters: false
324 predefined-parameters: |
325 SLAVE_LABEL=$SLAVE_LABEL
327 PROVISIONER_TYPE=$PROVISIONER_TYPE
328 INSTALLER_TYPE=$INSTALLER_TYPE
329 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
330 ONAP_VERSION=$ONAP_VERSION
331 ONAP_FLAVOR=healthdist
332 TEST_TYPE=onap-healthcheck
334 ENGINE_VERSION=$ENGINE_VERSION
335 ENGINE_REFSPEC=$ENGINE_REFSPEC
336 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
337 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
338 XTESTING_REPO_URL=$XTESTING_REPO_URL
339 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
340 node-parameters: true
344 # name: Promote ONAP (not activated)
347 # - name: 'promote-onap-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
348 # current-parameters: false
349 # predefined-parameters: |
350 # SLAVE_LABEL=$SLAVE_LABEL
352 # PROVISIONER_TYPE=$PROVISIONER_TYPE
353 # INSTALLER_TYPE=$INSTALLER_TYPE
354 # DEPLOY_SCENARIO=$DEPLOY_SCENARIO
355 # ONAP_VERSION=$ONAP_VERSION
357 # TEST_TYPE=onap-healthcheck
359 # ENGINE_VERSION=$ENGINE_VERSION
360 # ENGINE_REFSPEC=$ENGINE_REFSPEC
361 # DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
362 # DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
363 # XTESTING_REPO_URL=$XTESTING_REPO_URL
364 # ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
365 # node-parameters: true
366 # kill-phase-on: NEVER
367 # abort-all-job: false
370 name: '{onap-other-phases}-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
380 - project-parameters:
382 branch: '{nordix-branch}'
383 - nordix-gerrit-parameters
384 - onap-baremetal-parameter-macro-legacy
387 default: 'xerces-jumphost-onap-ubuntu1804'
388 description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
391 default: 'ubuntu1804'
392 description: 'Distribution to use for configuring target nodes (networking etc.)'
395 default: '{onap-flavor}'
396 description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
399 default: '{onap-version}'
400 description: 'ONAP version to deploy'
405 timeout: '{build-timeout}'
406 - fix-workspace-permissions
407 - credentials-binding:
408 - username-password-separated:
409 credential-id: 'nordix-cicd-arm-credentials'
410 username: NORDIX_ARM_USERNAME
411 password: NORDIX_ARM_TOKEN
412 - username-password-separated:
413 credential-id: 'nordix-cicd-harbor-credentials'
414 username: NORDIX_HARBOR_USERNAME
415 password: NORDIX_HARBOR_PASSWORD
419 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
420 branch: '{nordix-branch}'
426 - description-setter:
427 description: $DEPLOY_SCENARIO | $ONAP_FLAVOR | baremetal
428 - '{onap-other-phases}-baremetal-macro-legacy'
431 name: '{onap-healthcheck-phases}-{distro}-{installer-type}-baremetal-{ci-loop}-{onap-branch}'
441 - project-parameters:
443 branch: '{nordix-branch}'
444 - nordix-gerrit-parameters
445 - onap-baremetal-parameter-macro-legacy
448 default: 'xerces-jumphost-onap-ubuntu1804'
449 description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
452 default: 'ubuntu1804'
453 description: 'Distribution to use for configuring target nodes (networking etc.)'
456 default: '{onap-version}'
457 description: 'ONAP version to deploy'
460 default: '{engine-version}'
461 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
464 default: '{engine-refspec}'
465 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
467 name: DEPLOY_SCENARIO_VERSION
468 default: '{deploy-scenario-version}'
469 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
471 name: DEPLOY_SCENARIO_REFSPEC
472 default: '{deploy-scenario-refspec}'
473 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
476 default: '{pod-name}'
477 description: 'Development purposes only! Set to none for disabling test results DB reporting.'
482 timeout: '{build-timeout}'
483 - fix-workspace-permissions
487 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
488 branch: '{nordix-branch}'
494 - description-setter:
495 description: $DEPLOY_SCENARIO | $ONAP_FLAVOR | baremetal
496 - 'onap-healthcheck-baremetal-macro-legacy'
498 # vim: set ts=2 sw=2 expandtab: