blob: 8328d94298c84c703eec25909f253a1b19406e79 [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:
62 provisioner-type: heat
Fatih Degirmenciac529ac2019-07-29 22:20:41 +020063 installer-type: kubespray
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020064 slave-label: 'jumphost-onap-ubuntu1804'
65
Fatih Degirmencid6f228b2019-07-30 20:53:46 +020066 onap-other-phases:
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020067 - onap-deploy:
68 build-timeout: 150
69 - oom-healthcheck:
70 build-timeout: 30
Fatih Degirmenci0d464752019-07-30 12:14:02 +020071 test-type: oom-healthcheck
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020072 - promote-onap:
73 build-timeout: 5
74
Fatih Degirmencid6f228b2019-07-30 20:53:46 +020075 onap-healthcheck-phases:
76 - onap-healthcheck-core:
77 build-timeout: 30
78 test-type: onap-healthcheck
79 - onap-healthcheck-small:
80 build-timeout: 30
81 test-type: onap-healthcheck
82 - onap-healthcheck-medium:
83 build-timeout: 30
84 test-type: onap-healthcheck
85 - onap-healthcheck-full:
86 build-timeout: 30
87 test-type: onap-healthcheck
88
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020089 jobs:
Fatih Degirmencida8abf72019-08-23 17:18:25 +000090 - '{deploy-scenario}-{onap-flavor}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
91 - '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
92 - '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020093
94- job-template:
Fatih Degirmencida8abf72019-08-23 17:18:25 +000095 name: '{deploy-scenario}-{onap-flavor}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020096
97 project-type: multijob
98
99 disabled: '{obj:disabled}'
100
101 concurrent: true
102
103 parameters:
Fatih Degirmencia21f59a2019-07-30 21:14:41 +0200104 - project-parameters:
105 project: '{project}'
106 branch: '{nordix-branch}'
107 - nordix-gerrit-parameters
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200108 - onap-parameter-macro
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200109 - string:
110 name: ONAP_VERSION
111 default: '{onap-version}'
112 description: 'ONAP version to deploy'
113 - string:
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000114 name: ONAP_FLAVOR
115 default: '{onap-flavor}'
116 description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
117 - string:
118 name: STACK_NAME
119 default: 'nordix-cicd-onap-{onap-branch}-{onap-flavor}'
120 - string:
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200121 name: ENGINE_VERSION
122 default: '{engine-version}'
123 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
124 - string:
125 name: ENGINE_REFSPEC
126 default: '{engine-refspec}'
127 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
128 - string:
129 name: DEPLOY_SCENARIO_VERSION
130 default: '{deploy-scenario-version}'
131 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
132 - string:
133 name: DEPLOY_SCENARIO_REFSPEC
134 default: '{deploy-scenario-refspec}'
135 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200136
137 properties:
138 - logrotate
139 - build-blocker:
140 use-build-blocker: true
141 blocking-jobs:
142 - 'cloud-infra-periodic-engine-.*'
143 - 'onap-.*'
144 - 'k8-.*'
145 block-level: 'NODE'
146 - throttle:
147 max-per-node: 1
148 max-total: 3
149 option: project
150
151 wrappers:
Fatih Degirmenci395f17a2019-08-22 21:09:59 +0000152 - credentials-binding:
153 - file:
154 credential-id: nordix-jenkins-openrcfile-city-frankfurt-defaultproject
155 variable: OPENRC_FILE
156 - mask-passwords
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200157 - build-timeout:
158 timeout: 220
159 - fix-workspace-permissions
Fatih Degirmenciec9ae932019-08-20 11:41:50 +0000160 - openstack:
161 single-use: True
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200162
163 scm:
164 - git-scm:
165 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
166 branch: '{nordix-branch}'
167 refspec: ''
168 wipe_workspace: true
169 clean_before: false
170
171 builders:
172 - description-setter:
173 description: $INSTALLER_TYPE | $DEPLOY_SCENARIO
Fatih Degirmenciaf99e7e2019-08-22 21:29:02 +0000174 - shell: |
175 #!/bin/bash
176 cp $OPENRC_FILE /tmp/openrc
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200177 - multijob:
Fatih Degirmenci53d78f42019-07-30 17:47:57 +0200178 name: Deploy ONAP using OOM
Fatih Degirmenci9cc78442019-08-23 08:23:57 +0000179 condition: ALWAYS
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200180 projects:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000181 - name: 'onap-deploy-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200182 current-parameters: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200183 predefined-parameters: |
184 DISTRO=$DISTRO
185 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200186 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200187 INSTALLER_TYPE=$INSTALLER_TYPE
188 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200189 ONAP_VERSION=$ONAP_VERSION
190 ONAP_FLAVOR=$ONAP_FLAVOR
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000191 STACK_NAME=$STACK_NAME
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200192 ENGINE_VERSION=$ENGINE_VERSION
193 ENGINE_REFSPEC=$ENGINE_REFSPEC
194 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
195 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
196 XTESTING_REPO_URL=$XTESTING_REPO_URL
197 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
198 CLEANUP=$CLEANUP
199 git-revision: true
200 node-parameters: true
Fatih Degirmenci9cc78442019-08-23 08:23:57 +0000201 kill-phase-on: NEVER
202 abort-all-job: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200203 - multijob:
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200204 name: K8S and OOM Healthcheck using xtesting
Fatih Degirmencic1a528c2019-07-30 12:24:36 +0200205 condition: ALWAYS
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200206 projects:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000207 - name: 'oom-healthcheck-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200208 current-parameters: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200209 predefined-parameters: |
210 DISTRO=$DISTRO
211 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200212 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200213 INSTALLER_TYPE=$INSTALLER_TYPE
214 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
215 ONAP_VERSION=$ONAP_VERSION
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200216 ONAP_FLAVOR=full
217 TEST_TYPE=oom-healthcheck
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000218 STACK_NAME=$STACK_NAME
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200219 ENGINE_VERSION=$ENGINE_VERSION
220 ENGINE_REFSPEC=$ENGINE_REFSPEC
221 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
222 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
223 XTESTING_REPO_URL=$XTESTING_REPO_URL
224 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
225 CLEANUP=$CLEANUP
226 node-parameters: true
227 kill-phase-on: NEVER
228 abort-all-job: false
229 - multijob:
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200230 name: ONAP Healthcheck using xtesting
Fatih Degirmencic1a528c2019-07-30 12:24:36 +0200231 condition: ALWAYS
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200232 projects:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000233 - name: 'onap-healthcheck-core-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200234 current-parameters: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200235 predefined-parameters: |
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200236 SLAVE_LABEL=$SLAVE_LABEL
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200237 DISTRO=$DISTRO
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200238 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200239 INSTALLER_TYPE=$INSTALLER_TYPE
240 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200241 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200242 ONAP_VERSION=$ONAP_VERSION
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200243 ONAP_FLAVOR=core
244 TEST_TYPE=onap-healthcheck
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000245 STACK_NAME=$STACK_NAME
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200246 ENGINE_VERSION=$ENGINE_VERSION
247 ENGINE_REFSPEC=$ENGINE_REFSPEC
248 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
249 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200250 XTESTING_REPO_URL=$XTESTING_REPO_URL
251 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
252 CLEANUP=$CLEANUP
253 node-parameters: true
254 kill-phase-on: NEVER
255 abort-all-job: false
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000256 - name: 'onap-healthcheck-small-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200257 current-parameters: false
258 predefined-parameters: |
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200259 SLAVE_LABEL=$SLAVE_LABEL
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200260 DISTRO=$DISTRO
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200261 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200262 INSTALLER_TYPE=$INSTALLER_TYPE
263 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200264 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200265 ONAP_VERSION=$ONAP_VERSION
266 ONAP_FLAVOR=small
267 TEST_TYPE=onap-healthcheck
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000268 STACK_NAME=$STACK_NAME
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200269 ENGINE_VERSION=$ENGINE_VERSION
270 ENGINE_REFSPEC=$ENGINE_REFSPEC
271 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
272 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200273 XTESTING_REPO_URL=$XTESTING_REPO_URL
274 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
275 CLEANUP=$CLEANUP
276 node-parameters: true
277 kill-phase-on: NEVER
278 abort-all-job: false
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000279 - name: 'onap-healthcheck-medium-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200280 current-parameters: false
281 predefined-parameters: |
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200282 SLAVE_LABEL=$SLAVE_LABEL
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200283 DISTRO=$DISTRO
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200284 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200285 INSTALLER_TYPE=$INSTALLER_TYPE
286 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200287 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200288 ONAP_VERSION=$ONAP_VERSION
289 ONAP_FLAVOR=medium
290 TEST_TYPE=onap-healthcheck
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000291 STACK_NAME=$STACK_NAME
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200292 ENGINE_VERSION=$ENGINE_VERSION
293 ENGINE_REFSPEC=$ENGINE_REFSPEC
294 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
295 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200296 XTESTING_REPO_URL=$XTESTING_REPO_URL
297 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
298 CLEANUP=$CLEANUP
299 node-parameters: true
300 kill-phase-on: NEVER
301 abort-all-job: false
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000302 - name: 'onap-healthcheck-full-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200303 current-parameters: false
304 predefined-parameters: |
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200305 SLAVE_LABEL=$SLAVE_LABEL
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200306 DISTRO=$DISTRO
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200307 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200308 INSTALLER_TYPE=$INSTALLER_TYPE
309 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200310 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200311 ONAP_VERSION=$ONAP_VERSION
312 ONAP_FLAVOR=full
313 TEST_TYPE=onap-healthcheck
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000314 STACK_NAME=$STACK_NAME
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200315 ENGINE_VERSION=$ENGINE_VERSION
316 ENGINE_REFSPEC=$ENGINE_REFSPEC
317 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
318 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200319 XTESTING_REPO_URL=$XTESTING_REPO_URL
320 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
321 CLEANUP=$CLEANUP
322 node-parameters: true
323 kill-phase-on: NEVER
324 abort-all-job: false
325 - multijob:
Fatih Degirmenci53d78f42019-07-30 17:47:57 +0200326 name: Promote ONAP (not activated)
Fatih Degirmencic1a528c2019-07-30 12:24:36 +0200327 condition: ALWAYS
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200328 projects:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000329 - name: 'promote-onap-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200330 current-parameters: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200331 predefined-parameters: |
332 DISTRO=$DISTRO
333 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200334 INSTALLER_TYPE=$INSTALLER_TYPE
335 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
336 ONAP_VERSION=$ONAP_VERSION
337 ONAP_FLAVOR=$ONAP_FLAVOR
338 ENGINE_VERSION=$ENGINE_VERSION
339 ENGINE_REFSPEC=$ENGINE_REFSPEC
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000340 STACK_NAME=$STACK_NAME
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200341 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
342 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
343 XTESTING_REPO_URL=$XTESTING_REPO_URL
344 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
345 CLEANUP=$CLEANUP
346 node-parameters: true
347 kill-phase-on: NEVER
348 abort-all-job: false
Fatih Degirmenci9ff44df2019-08-22 20:17:30 +0000349
350 publishers:
351 - postbuildscript:
352 builders:
353 - role: SLAVE
354 build-on:
355 - SUCCESS
356 - FAILURE
357 - ABORTED
358 - NOT_BUILT
359 - UNSTABLE
360 build-steps:
361 - shell:
Fatih Degirmenci395f17a2019-08-22 21:09:59 +0000362 !include-raw-escape: ./wait-for-pkg-manager.sh
363 - shell:
Fatih Degirmenci9ff44df2019-08-22 20:17:30 +0000364 !include-raw: ./delete-heat-stack.sh
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200365
366- job-template:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000367 name: '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200368
369 disabled: false
370
371 concurrent: true
372
373 properties:
374 - logrotate
375
376 parameters:
Fatih Degirmencia21f59a2019-07-30 21:14:41 +0200377 - project-parameters:
378 project: '{project}'
379 branch: '{nordix-branch}'
380 - nordix-gerrit-parameters
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200381 - onap-parameter-macro
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200382 - string:
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000383 name: ONAP_FLAVOR
384 default: '{onap-flavor}'
385 description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
386 - string:
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200387 name: ONAP_VERSION
388 default: '{onap-version}'
389 description: 'ONAP version to deploy'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200390
391 wrappers:
Fatih Degirmencia10efd12019-07-29 22:47:54 +0200392 - credentials-binding:
Fatih Degirmenci89f21802019-07-29 22:54:56 +0200393 - file:
Fatih Degirmencia10efd12019-07-29 22:47:54 +0200394 credential-id: nordix-jenkins-openrcfile-city-frankfurt-defaultproject
395 variable: OPENRC_FILE
396 - mask-passwords
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200397 - build-timeout:
398 timeout: '{build-timeout}'
399 - fix-workspace-permissions
400
401 scm:
402 - git-scm:
403 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
404 branch: '{nordix-branch}'
405 refspec: ''
406 wipe_workspace: true
407 clean_before: false
408
409 builders:
410 - description-setter:
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000411 description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200412 - '{onap-other-phases}-macro'
413
414- job-template:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000415 name: '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200416
417 disabled: false
418
419 concurrent: true
420
421 properties:
422 - logrotate
423
424 parameters:
Fatih Degirmencia21f59a2019-07-30 21:14:41 +0200425 - project-parameters:
426 project: '{project}'
427 branch: '{nordix-branch}'
428 - nordix-gerrit-parameters
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200429 - onap-parameter-macro
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200430 - string:
431 name: ONAP_VERSION
432 default: '{onap-version}'
433 description: 'ONAP version to deploy'
434 - string:
435 name: ENGINE_VERSION
436 default: '{engine-version}'
437 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
438 - string:
439 name: ENGINE_REFSPEC
440 default: '{engine-refspec}'
441 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
442 - string:
443 name: DEPLOY_SCENARIO_VERSION
444 default: '{deploy-scenario-version}'
445 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
446 - string:
447 name: DEPLOY_SCENARIO_REFSPEC
448 default: '{deploy-scenario-refspec}'
449 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200450
451 wrappers:
452 - credentials-binding:
453 - file:
454 credential-id: nordix-jenkins-openrcfile-city-frankfurt-defaultproject
455 variable: OPENRC_FILE
456 - mask-passwords
457 - build-timeout:
458 timeout: '{build-timeout}'
459 - fix-workspace-permissions
460
461 scm:
462 - git-scm:
463 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
464 branch: '{nordix-branch}'
465 refspec: ''
466 wipe_workspace: true
467 clean_before: false
468
469 builders:
470 - description-setter:
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000471 description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200472 - 'onap-healthcheck-macro'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200473
474# vim: set ts=2 sw=2 expandtab: