blob: bdb63dfa4f9abbc08b296407370d67d2fa01b765 [file] [log] [blame]
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +02001---
2#
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
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
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.
17#
18# SPDX-License-Identifier: Apache-2.0
19# ============LICENSE_END=========================================================
20
21#--------------------------------------------------------------------------------------
Fatih Degirmenci9ff44df2019-08-22 20:17:30 +000022# The jobs declared in this JJB configuration file are used for deploying and testing
23# ONAP scenario onap-nofeature-noha.
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020024#--------------------------------------------------------------------------------------
25
26- project:
27 name: 'cloud-infra-periodic-onap'
28
29 project: 'infra/engine'
30
31 onap-branch:
32 - 'dublin':
33 nordix-branch: master
Fatih Degirmencida8abf72019-08-23 17:18:25 +000034 onap-version: dublin
Fatih Degirmenci9c661b62019-08-23 07:49:43 +000035 onap-flavor: full
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020036 engine-version: master
Fatih Degirmencicf34ca72019-08-20 11:26:50 +000037 engine-refspec: master
38 deploy-scenario-version: master
39 deploy-scenario-refspec: master
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020040 disabled: false
Fatih Degirmenciac529ac2019-07-29 22:20:41 +020041 - 'master':
42 nordix-branch: master
43 onap-version: master
Fatih Degirmenci9c661b62019-08-23 07:49:43 +000044 onap-flavor: full
Fatih Degirmenciac529ac2019-07-29 22:20:41 +020045 engine-version: master
46 engine-refspec: master
47 deploy-scenario-version: master
48 deploy-scenario-refspec: master
Fatih Degirmencibe8394d2019-08-21 06:14:29 +000049 disabled: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020050
51 distro:
Fatih Degirmencif3afb6d2019-07-29 22:27:40 +020052 - ubuntu1804
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020053
54 deploy-scenario:
Fatih Degirmenci3473f6f2019-08-22 17:37:34 +000055 - onap-nofeature-noha
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020056
Fatih Degirmencida8abf72019-08-23 17:18:25 +000057 ci-loop:
58 - daily
59
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020060 type:
61 - cloud:
Fatih Degirmenci714872e2019-08-24 11:16:38 +000062 pod-name: est-cloud
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020063 provisioner-type: heat
Fatih Degirmenciac529ac2019-07-29 22:20:41 +020064 installer-type: kubespray
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020065 slave-label: 'jumphost-onap-ubuntu1804'
66
Fatih Degirmencid6f228b2019-07-30 20:53:46 +020067 onap-other-phases:
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020068 - onap-deploy:
Fatih Degirmenci1a2d3cf2019-08-26 11:06:57 +000069 build-timeout: 210
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020070 - oom-healthcheck:
71 build-timeout: 30
Fatih Degirmenci0d464752019-07-30 12:14:02 +020072 test-type: oom-healthcheck
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020073 - promote-onap:
74 build-timeout: 5
75
Fatih Degirmencid6f228b2019-07-30 20:53:46 +020076 onap-healthcheck-phases:
77 - onap-healthcheck-core:
78 build-timeout: 30
79 test-type: onap-healthcheck
80 - onap-healthcheck-small:
81 build-timeout: 30
82 test-type: onap-healthcheck
83 - onap-healthcheck-medium:
84 build-timeout: 30
85 test-type: onap-healthcheck
86 - onap-healthcheck-full:
87 build-timeout: 30
88 test-type: onap-healthcheck
89
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020090 jobs:
Fatih Degirmencida8abf72019-08-23 17:18:25 +000091 - '{deploy-scenario}-{onap-flavor}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
92 - '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
93 - '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020094
95- job-template:
Fatih Degirmencida8abf72019-08-23 17:18:25 +000096 name: '{deploy-scenario}-{onap-flavor}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020097
98 project-type: multijob
99
100 disabled: '{obj:disabled}'
101
102 concurrent: true
103
104 parameters:
Fatih Degirmencia21f59a2019-07-30 21:14:41 +0200105 - project-parameters:
106 project: '{project}'
107 branch: '{nordix-branch}'
108 - nordix-gerrit-parameters
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200109 - onap-parameter-macro
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200110 - string:
111 name: ONAP_VERSION
112 default: '{onap-version}'
113 description: 'ONAP version to deploy'
114 - string:
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000115 name: ONAP_FLAVOR
116 default: '{onap-flavor}'
117 description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
118 - string:
119 name: STACK_NAME
120 default: 'nordix-cicd-onap-{onap-branch}-{onap-flavor}'
121 - string:
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200122 name: ENGINE_VERSION
123 default: '{engine-version}'
124 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
125 - string:
126 name: ENGINE_REFSPEC
127 default: '{engine-refspec}'
128 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
129 - string:
130 name: DEPLOY_SCENARIO_VERSION
131 default: '{deploy-scenario-version}'
132 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
133 - string:
134 name: DEPLOY_SCENARIO_REFSPEC
135 default: '{deploy-scenario-refspec}'
136 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000137 - string:
138 name: POD_NAME
139 default: '{pod-name}'
140 description: 'Development purposes only! Set to none for disabling test results DB reporting.'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200141
142 properties:
143 - logrotate
144 - build-blocker:
145 use-build-blocker: true
146 blocking-jobs:
147 - 'cloud-infra-periodic-engine-.*'
148 - 'onap-.*'
149 - 'k8-.*'
150 block-level: 'NODE'
151 - throttle:
152 max-per-node: 1
153 max-total: 3
154 option: project
155
156 wrappers:
Fatih Degirmenci395f17a2019-08-22 21:09:59 +0000157 - credentials-binding:
158 - file:
159 credential-id: nordix-jenkins-openrcfile-city-frankfurt-defaultproject
160 variable: OPENRC_FILE
161 - mask-passwords
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200162 - build-timeout:
Fatih Degirmenci1a2d3cf2019-08-26 11:06:57 +0000163 timeout: 300
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200164 - fix-workspace-permissions
Fatih Degirmenciec9ae932019-08-20 11:41:50 +0000165 - openstack:
166 single-use: True
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200167
168 scm:
169 - git-scm:
170 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
171 branch: '{nordix-branch}'
172 refspec: ''
173 wipe_workspace: true
174 clean_before: false
175
176 builders:
177 - description-setter:
Fatih Degirmenci6e05fbf2019-08-25 13:48:37 +0000178 description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
Fatih Degirmenciaf99e7e2019-08-22 21:29:02 +0000179 - shell: |
180 #!/bin/bash
181 cp $OPENRC_FILE /tmp/openrc
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200182 - multijob:
Fatih Degirmenci53d78f42019-07-30 17:47:57 +0200183 name: Deploy ONAP using OOM
Fatih Degirmenci9cc78442019-08-23 08:23:57 +0000184 condition: ALWAYS
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200185 projects:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000186 - name: 'onap-deploy-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200187 current-parameters: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200188 predefined-parameters: |
189 DISTRO=$DISTRO
190 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200191 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200192 INSTALLER_TYPE=$INSTALLER_TYPE
193 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200194 ONAP_VERSION=$ONAP_VERSION
195 ONAP_FLAVOR=$ONAP_FLAVOR
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000196 POD_NAME=$POD_NAME
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000197 STACK_NAME=$STACK_NAME
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200198 ENGINE_VERSION=$ENGINE_VERSION
199 ENGINE_REFSPEC=$ENGINE_REFSPEC
200 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
201 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
202 XTESTING_REPO_URL=$XTESTING_REPO_URL
203 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
204 CLEANUP=$CLEANUP
205 git-revision: true
206 node-parameters: true
Fatih Degirmenci9cc78442019-08-23 08:23:57 +0000207 kill-phase-on: NEVER
208 abort-all-job: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200209 - multijob:
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200210 name: K8S and OOM Healthcheck using xtesting
Fatih Degirmencic1a528c2019-07-30 12:24:36 +0200211 condition: ALWAYS
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200212 projects:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000213 - name: 'oom-healthcheck-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200214 current-parameters: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200215 predefined-parameters: |
216 DISTRO=$DISTRO
217 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200218 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200219 INSTALLER_TYPE=$INSTALLER_TYPE
220 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
221 ONAP_VERSION=$ONAP_VERSION
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200222 ONAP_FLAVOR=full
223 TEST_TYPE=oom-healthcheck
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000224 POD_NAME=$POD_NAME
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000225 STACK_NAME=$STACK_NAME
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200226 ENGINE_VERSION=$ENGINE_VERSION
227 ENGINE_REFSPEC=$ENGINE_REFSPEC
228 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
229 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
230 XTESTING_REPO_URL=$XTESTING_REPO_URL
231 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
232 CLEANUP=$CLEANUP
233 node-parameters: true
234 kill-phase-on: NEVER
235 abort-all-job: false
236 - multijob:
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200237 name: ONAP Healthcheck using xtesting
Fatih Degirmencic1a528c2019-07-30 12:24:36 +0200238 condition: ALWAYS
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200239 projects:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000240 - name: 'onap-healthcheck-core-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200241 current-parameters: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200242 predefined-parameters: |
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200243 SLAVE_LABEL=$SLAVE_LABEL
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200244 DISTRO=$DISTRO
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200245 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200246 INSTALLER_TYPE=$INSTALLER_TYPE
247 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200248 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200249 ONAP_VERSION=$ONAP_VERSION
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200250 ONAP_FLAVOR=core
251 TEST_TYPE=onap-healthcheck
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000252 POD_NAME=$POD_NAME
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000253 STACK_NAME=$STACK_NAME
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200254 ENGINE_VERSION=$ENGINE_VERSION
255 ENGINE_REFSPEC=$ENGINE_REFSPEC
256 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
257 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200258 XTESTING_REPO_URL=$XTESTING_REPO_URL
259 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
260 CLEANUP=$CLEANUP
261 node-parameters: true
262 kill-phase-on: NEVER
263 abort-all-job: false
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000264 - name: 'onap-healthcheck-small-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200265 current-parameters: false
266 predefined-parameters: |
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200267 SLAVE_LABEL=$SLAVE_LABEL
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200268 DISTRO=$DISTRO
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200269 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200270 INSTALLER_TYPE=$INSTALLER_TYPE
271 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200272 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200273 ONAP_VERSION=$ONAP_VERSION
274 ONAP_FLAVOR=small
275 TEST_TYPE=onap-healthcheck
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000276 POD_NAME=$POD_NAME
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000277 STACK_NAME=$STACK_NAME
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200278 ENGINE_VERSION=$ENGINE_VERSION
279 ENGINE_REFSPEC=$ENGINE_REFSPEC
280 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
281 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200282 XTESTING_REPO_URL=$XTESTING_REPO_URL
283 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
284 CLEANUP=$CLEANUP
285 node-parameters: true
286 kill-phase-on: NEVER
287 abort-all-job: false
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000288 - name: 'onap-healthcheck-medium-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200289 current-parameters: false
290 predefined-parameters: |
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200291 SLAVE_LABEL=$SLAVE_LABEL
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200292 DISTRO=$DISTRO
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200293 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200294 INSTALLER_TYPE=$INSTALLER_TYPE
295 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200296 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200297 ONAP_VERSION=$ONAP_VERSION
298 ONAP_FLAVOR=medium
299 TEST_TYPE=onap-healthcheck
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000300 POD_NAME=$POD_NAME
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000301 STACK_NAME=$STACK_NAME
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200302 ENGINE_VERSION=$ENGINE_VERSION
303 ENGINE_REFSPEC=$ENGINE_REFSPEC
304 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
305 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200306 XTESTING_REPO_URL=$XTESTING_REPO_URL
307 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
308 CLEANUP=$CLEANUP
309 node-parameters: true
310 kill-phase-on: NEVER
311 abort-all-job: false
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000312 - name: 'onap-healthcheck-full-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200313 current-parameters: false
314 predefined-parameters: |
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200315 SLAVE_LABEL=$SLAVE_LABEL
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200316 DISTRO=$DISTRO
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200317 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200318 INSTALLER_TYPE=$INSTALLER_TYPE
319 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200320 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200321 ONAP_VERSION=$ONAP_VERSION
322 ONAP_FLAVOR=full
323 TEST_TYPE=onap-healthcheck
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000324 POD_NAME=$POD_NAME
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000325 STACK_NAME=$STACK_NAME
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200326 ENGINE_VERSION=$ENGINE_VERSION
327 ENGINE_REFSPEC=$ENGINE_REFSPEC
328 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
329 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200330 XTESTING_REPO_URL=$XTESTING_REPO_URL
331 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
332 CLEANUP=$CLEANUP
333 node-parameters: true
334 kill-phase-on: NEVER
335 abort-all-job: false
336 - multijob:
Fatih Degirmenci53d78f42019-07-30 17:47:57 +0200337 name: Promote ONAP (not activated)
Fatih Degirmencic1a528c2019-07-30 12:24:36 +0200338 condition: ALWAYS
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200339 projects:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000340 - name: 'promote-onap-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200341 current-parameters: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200342 predefined-parameters: |
343 DISTRO=$DISTRO
344 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200345 INSTALLER_TYPE=$INSTALLER_TYPE
346 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
347 ONAP_VERSION=$ONAP_VERSION
348 ONAP_FLAVOR=$ONAP_FLAVOR
349 ENGINE_VERSION=$ENGINE_VERSION
350 ENGINE_REFSPEC=$ENGINE_REFSPEC
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000351 POD_NAME=$POD_NAME
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000352 STACK_NAME=$STACK_NAME
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200353 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
354 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
355 XTESTING_REPO_URL=$XTESTING_REPO_URL
356 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
357 CLEANUP=$CLEANUP
358 node-parameters: true
359 kill-phase-on: NEVER
360 abort-all-job: false
Fatih Degirmenci9ff44df2019-08-22 20:17:30 +0000361
362 publishers:
363 - postbuildscript:
364 builders:
365 - role: SLAVE
366 build-on:
367 - SUCCESS
368 - FAILURE
369 - ABORTED
370 - NOT_BUILT
371 - UNSTABLE
372 build-steps:
373 - shell:
Fatih Degirmenci395f17a2019-08-22 21:09:59 +0000374 !include-raw-escape: ./wait-for-pkg-manager.sh
375 - shell:
Fatih Degirmenci9ff44df2019-08-22 20:17:30 +0000376 !include-raw: ./delete-heat-stack.sh
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200377
378- job-template:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000379 name: '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200380
381 disabled: false
382
383 concurrent: true
384
385 properties:
386 - logrotate
387
388 parameters:
Fatih Degirmencia21f59a2019-07-30 21:14:41 +0200389 - project-parameters:
390 project: '{project}'
391 branch: '{nordix-branch}'
392 - nordix-gerrit-parameters
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200393 - onap-parameter-macro
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200394 - string:
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000395 name: ONAP_FLAVOR
396 default: '{onap-flavor}'
397 description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
398 - string:
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200399 name: ONAP_VERSION
400 default: '{onap-version}'
401 description: 'ONAP version to deploy'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200402
403 wrappers:
Fatih Degirmencia10efd12019-07-29 22:47:54 +0200404 - credentials-binding:
Fatih Degirmenci89f21802019-07-29 22:54:56 +0200405 - file:
Fatih Degirmencia10efd12019-07-29 22:47:54 +0200406 credential-id: nordix-jenkins-openrcfile-city-frankfurt-defaultproject
407 variable: OPENRC_FILE
408 - mask-passwords
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200409 - build-timeout:
410 timeout: '{build-timeout}'
411 - fix-workspace-permissions
412
413 scm:
414 - git-scm:
415 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
416 branch: '{nordix-branch}'
417 refspec: ''
418 wipe_workspace: true
419 clean_before: false
420
421 builders:
422 - description-setter:
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000423 description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200424 - '{onap-other-phases}-macro'
425
426- job-template:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000427 name: '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200428
429 disabled: false
430
431 concurrent: true
432
433 properties:
434 - logrotate
435
436 parameters:
Fatih Degirmencia21f59a2019-07-30 21:14:41 +0200437 - project-parameters:
438 project: '{project}'
439 branch: '{nordix-branch}'
440 - nordix-gerrit-parameters
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200441 - onap-parameter-macro
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200442 - string:
443 name: ONAP_VERSION
444 default: '{onap-version}'
445 description: 'ONAP version to deploy'
446 - string:
447 name: ENGINE_VERSION
448 default: '{engine-version}'
449 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
450 - string:
451 name: ENGINE_REFSPEC
452 default: '{engine-refspec}'
453 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
454 - string:
455 name: DEPLOY_SCENARIO_VERSION
456 default: '{deploy-scenario-version}'
457 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
458 - string:
459 name: DEPLOY_SCENARIO_REFSPEC
460 default: '{deploy-scenario-refspec}'
461 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000462 - string:
463 name: POD_NAME
464 default: '{pod-name}'
465 description: 'Development purposes only! Set to none for disabling test results DB reporting.'
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200466
467 wrappers:
468 - credentials-binding:
469 - file:
470 credential-id: nordix-jenkins-openrcfile-city-frankfurt-defaultproject
471 variable: OPENRC_FILE
472 - mask-passwords
473 - build-timeout:
474 timeout: '{build-timeout}'
475 - fix-workspace-permissions
476
477 scm:
478 - git-scm:
479 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
480 branch: '{nordix-branch}'
481 refspec: ''
482 wipe_workspace: true
483 clean_before: false
484
485 builders:
486 - description-setter:
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000487 description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200488 - 'onap-healthcheck-macro'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200489
490# vim: set ts=2 sw=2 expandtab: