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'
29 project: 'infra/engine'
34 onap-version: 4.0.0-ONAP
35 engine-version: master
36 engine-refspec: master
37 deploy-scenario-version: master
38 deploy-scenario-refspec: master
43 engine-version: master
44 engine-refspec: master
45 deploy-scenario-version: master
46 deploy-scenario-refspec: master
57 provisioner-type: heat
58 installer-type: kubespray
59 slave-label: 'jumphost-onap-ubuntu1804'
66 test-type: oom-healthcheck
70 onap-healthcheck-phases:
71 - onap-healthcheck-core:
73 test-type: onap-healthcheck
74 - onap-healthcheck-small:
76 test-type: onap-healthcheck
77 - onap-healthcheck-medium:
79 test-type: onap-healthcheck
80 - onap-healthcheck-full:
82 test-type: onap-healthcheck
85 - '{deploy-scenario}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
86 - '{onap-other-phases}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
87 - '{onap-healthcheck-phases}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
90 name: '{deploy-scenario}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
92 project-type: multijob
94 disabled: '{obj:disabled}'
101 branch: '{nordix-branch}'
102 - nordix-gerrit-parameters
103 - onap-parameter-macro
106 default: '{onap-version}'
107 description: 'ONAP version to deploy'
110 default: '{engine-version}'
111 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
114 default: '{engine-refspec}'
115 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
117 name: DEPLOY_SCENARIO_VERSION
118 default: '{deploy-scenario-version}'
119 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
121 name: DEPLOY_SCENARIO_REFSPEC
122 default: '{deploy-scenario-refspec}'
123 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
128 use-build-blocker: true
130 - 'cloud-infra-periodic-engine-.*'
142 - fix-workspace-permissions
148 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
149 branch: '{nordix-branch}'
155 - description-setter:
156 description: $INSTALLER_TYPE | $DEPLOY_SCENARIO
158 name: Deploy ONAP using OOM
159 condition: SUCCESSFUL
161 - name: 'onap-deploy-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
162 current-parameters: false
163 predefined-parameters: |
165 DEPLOY_TYPE=$DEPLOY_TYPE
166 PROVISIONER_TYPE=$PROVISIONER_TYPE
167 INSTALLER_TYPE=$INSTALLER_TYPE
168 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
169 ONAP_VERSION=$ONAP_VERSION
170 ONAP_FLAVOR=$ONAP_FLAVOR
171 ENGINE_VERSION=$ENGINE_VERSION
172 ENGINE_REFSPEC=$ENGINE_REFSPEC
173 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
174 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
175 XTESTING_REPO_URL=$XTESTING_REPO_URL
176 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
179 node-parameters: true
180 kill-phase-on: FAILURE
183 name: K8S and OOM Healthcheck using xtesting
186 - name: 'oom-healthcheck-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
187 current-parameters: false
188 predefined-parameters: |
190 DEPLOY_TYPE=$DEPLOY_TYPE
191 PROVISIONER_TYPE=$PROVISIONER_TYPE
192 INSTALLER_TYPE=$INSTALLER_TYPE
193 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
194 ONAP_VERSION=$ONAP_VERSION
196 TEST_TYPE=oom-healthcheck
197 ENGINE_VERSION=$ENGINE_VERSION
198 ENGINE_REFSPEC=$ENGINE_REFSPEC
199 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
200 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
201 XTESTING_REPO_URL=$XTESTING_REPO_URL
202 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
204 node-parameters: true
208 name: ONAP Healthcheck using xtesting
211 - name: 'onap-healthcheck-core-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
212 current-parameters: false
213 predefined-parameters: |
214 SLAVE_LABEL=$SLAVE_LABEL
216 PROVISIONER_TYPE=$PROVISIONER_TYPE
217 INSTALLER_TYPE=$INSTALLER_TYPE
218 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
219 DEPLOY_TYPE=$DEPLOY_TYPE
220 ONAP_VERSION=$ONAP_VERSION
222 TEST_TYPE=onap-healthcheck
223 ENGINE_VERSION=$ENGINE_VERSION
224 ENGINE_REFSPEC=$ENGINE_REFSPEC
225 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
226 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
227 XTESTING_REPO_URL=$XTESTING_REPO_URL
228 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
230 node-parameters: true
233 - name: 'onap-healthcheck-small-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
234 current-parameters: false
235 predefined-parameters: |
236 SLAVE_LABEL=$SLAVE_LABEL
238 PROVISIONER_TYPE=$PROVISIONER_TYPE
239 INSTALLER_TYPE=$INSTALLER_TYPE
240 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
241 DEPLOY_TYPE=$DEPLOY_TYPE
242 ONAP_VERSION=$ONAP_VERSION
244 TEST_TYPE=onap-healthcheck
245 ENGINE_VERSION=$ENGINE_VERSION
246 ENGINE_REFSPEC=$ENGINE_REFSPEC
247 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
248 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
249 XTESTING_REPO_URL=$XTESTING_REPO_URL
250 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
252 node-parameters: true
255 - name: 'onap-healthcheck-medium-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
256 current-parameters: false
257 predefined-parameters: |
258 SLAVE_LABEL=$SLAVE_LABEL
260 PROVISIONER_TYPE=$PROVISIONER_TYPE
261 INSTALLER_TYPE=$INSTALLER_TYPE
262 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
263 DEPLOY_TYPE=$DEPLOY_TYPE
264 ONAP_VERSION=$ONAP_VERSION
266 TEST_TYPE=onap-healthcheck
267 ENGINE_VERSION=$ENGINE_VERSION
268 ENGINE_REFSPEC=$ENGINE_REFSPEC
269 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
270 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
271 XTESTING_REPO_URL=$XTESTING_REPO_URL
272 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
274 node-parameters: true
277 - name: 'onap-healthcheck-full-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
278 current-parameters: false
279 predefined-parameters: |
280 SLAVE_LABEL=$SLAVE_LABEL
282 PROVISIONER_TYPE=$PROVISIONER_TYPE
283 INSTALLER_TYPE=$INSTALLER_TYPE
284 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
285 DEPLOY_TYPE=$DEPLOY_TYPE
286 ONAP_VERSION=$ONAP_VERSION
288 TEST_TYPE=onap-healthcheck
289 ENGINE_VERSION=$ENGINE_VERSION
290 ENGINE_REFSPEC=$ENGINE_REFSPEC
291 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
292 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
293 XTESTING_REPO_URL=$XTESTING_REPO_URL
294 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
296 node-parameters: true
300 name: Promote ONAP (not activated)
303 - name: 'promote-onap-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
304 current-parameters: false
305 predefined-parameters: |
307 DEPLOY_TYPE=$DEPLOY_TYPE
308 INSTALLER_TYPE=$INSTALLER_TYPE
309 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
310 ONAP_VERSION=$ONAP_VERSION
311 ONAP_FLAVOR=$ONAP_FLAVOR
312 ENGINE_VERSION=$ENGINE_VERSION
313 ENGINE_REFSPEC=$ENGINE_REFSPEC
314 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
315 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
316 XTESTING_REPO_URL=$XTESTING_REPO_URL
317 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
319 node-parameters: true
335 !include-raw: ./delete-heat-stack.sh
338 name: '{onap-other-phases}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
348 - project-parameters:
350 branch: '{nordix-branch}'
351 - nordix-gerrit-parameters
352 - onap-parameter-macro
355 default: '{onap-version}'
356 description: 'ONAP version to deploy'
359 - credentials-binding:
361 credential-id: nordix-jenkins-openrcfile-city-frankfurt-defaultproject
362 variable: OPENRC_FILE
365 timeout: '{build-timeout}'
366 - fix-workspace-permissions
370 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
371 branch: '{nordix-branch}'
377 - description-setter:
378 description: $INSTALLER_TYPE $DEPLOY_SCENARIO
379 - '{onap-other-phases}-macro'
382 name: '{onap-healthcheck-phases}-periodic-{distro}-{installer-type}-{type}-{onap-branch}'
392 - project-parameters:
394 branch: '{nordix-branch}'
395 - nordix-gerrit-parameters
396 - onap-parameter-macro
399 default: '{onap-version}'
400 description: 'ONAP version to deploy'
403 default: '{engine-version}'
404 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
407 default: '{engine-refspec}'
408 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
410 name: DEPLOY_SCENARIO_VERSION
411 default: '{deploy-scenario-version}'
412 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
414 name: DEPLOY_SCENARIO_REFSPEC
415 default: '{deploy-scenario-refspec}'
416 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
419 - credentials-binding:
421 credential-id: nordix-jenkins-openrcfile-city-frankfurt-defaultproject
422 variable: OPENRC_FILE
425 timeout: '{build-timeout}'
426 - fix-workspace-permissions
430 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
431 branch: '{nordix-branch}'
437 - description-setter:
438 description: $INSTALLER_TYPE $DEPLOY_SCENARIO
439 - 'onap-healthcheck-macro'
441 # vim: set ts=2 sw=2 expandtab: