blob: b69a4bf49b4b726103993cecf78365124b49f935 [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 Degirmenci42a44982019-08-29 07:46:40 +000041 delete-stack: yes
Fatih Degirmenciac529ac2019-07-29 22:20:41 +020042 - 'master':
43 nordix-branch: master
44 onap-version: master
Fatih Degirmenci9c661b62019-08-23 07:49:43 +000045 onap-flavor: full
Fatih Degirmenciac529ac2019-07-29 22:20:41 +020046 engine-version: master
47 engine-refspec: master
48 deploy-scenario-version: master
49 deploy-scenario-refspec: master
Fatih Degirmencibe8394d2019-08-21 06:14:29 +000050 disabled: false
Fatih Degirmenci42a44982019-08-29 07:46:40 +000051 delete-stack: no
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020052
53 distro:
Fatih Degirmencif3afb6d2019-07-29 22:27:40 +020054 - ubuntu1804
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020055
56 deploy-scenario:
Fatih Degirmenci3473f6f2019-08-22 17:37:34 +000057 - onap-nofeature-noha
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020058
Fatih Degirmencida8abf72019-08-23 17:18:25 +000059 ci-loop:
60 - daily
61
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020062 type:
63 - cloud:
Fatih Degirmenci714872e2019-08-24 11:16:38 +000064 pod-name: est-cloud
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020065 provisioner-type: heat
Fatih Degirmenciac529ac2019-07-29 22:20:41 +020066 installer-type: kubespray
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020067 slave-label: 'jumphost-onap-ubuntu1804'
68
Fatih Degirmencid6f228b2019-07-30 20:53:46 +020069 onap-other-phases:
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020070 - onap-deploy:
Fatih Degirmenci1a2d3cf2019-08-26 11:06:57 +000071 build-timeout: 210
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020072 - oom-healthcheck:
73 build-timeout: 30
Fatih Degirmenci0d464752019-07-30 12:14:02 +020074 test-type: oom-healthcheck
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020075 - promote-onap:
76 build-timeout: 5
77
Fatih Degirmencid6f228b2019-07-30 20:53:46 +020078 onap-healthcheck-phases:
79 - onap-healthcheck-core:
80 build-timeout: 30
81 test-type: onap-healthcheck
82 - onap-healthcheck-small:
83 build-timeout: 30
84 test-type: onap-healthcheck
85 - onap-healthcheck-medium:
86 build-timeout: 30
87 test-type: onap-healthcheck
88 - onap-healthcheck-full:
89 build-timeout: 30
90 test-type: onap-healthcheck
91
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020092 jobs:
Fatih Degirmencida8abf72019-08-23 17:18:25 +000093 - '{deploy-scenario}-{onap-flavor}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
94 - '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
95 - '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020096
97- job-template:
Fatih Degirmencida8abf72019-08-23 17:18:25 +000098 name: '{deploy-scenario}-{onap-flavor}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +020099
100 project-type: multijob
101
102 disabled: '{obj:disabled}'
103
104 concurrent: true
105
106 parameters:
Fatih Degirmencia21f59a2019-07-30 21:14:41 +0200107 - project-parameters:
108 project: '{project}'
109 branch: '{nordix-branch}'
110 - nordix-gerrit-parameters
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200111 - onap-parameter-macro
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200112 - string:
113 name: ONAP_VERSION
114 default: '{onap-version}'
115 description: 'ONAP version to deploy'
116 - string:
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000117 name: ONAP_FLAVOR
118 default: '{onap-flavor}'
119 description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
120 - string:
121 name: STACK_NAME
Fatih Degirmencie6fcd242019-08-27 16:54:58 +0000122 default: 'nordix-cicd-{deploy-scenario}-{onap-branch}-{onap-flavor}'
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000123 - string:
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200124 name: ENGINE_VERSION
125 default: '{engine-version}'
126 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
127 - string:
128 name: ENGINE_REFSPEC
129 default: '{engine-refspec}'
130 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
131 - string:
132 name: DEPLOY_SCENARIO_VERSION
133 default: '{deploy-scenario-version}'
134 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
135 - string:
136 name: DEPLOY_SCENARIO_REFSPEC
137 default: '{deploy-scenario-refspec}'
138 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 +0000139 - string:
140 name: POD_NAME
141 default: '{pod-name}'
142 description: 'Development purposes only! Set to none for disabling test results DB reporting.'
Fatih Degirmenci7ad71132019-08-29 07:57:41 +0000143 - string:
Fatih Degirmencid293bfa2019-08-26 13:30:14 +0000144 name: DELETE_STACK
Fatih Degirmenci42a44982019-08-29 07:46:40 +0000145 default: '{delete-stack}'
Fatih Degirmenci7ad71132019-08-29 07:57:41 +0000146 description: 'Development purposes only! Whether delete the stack or not. It must either be yes or no. Setting this to no will increase the cost!'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200147
148 properties:
149 - logrotate
150 - build-blocker:
151 use-build-blocker: true
152 blocking-jobs:
153 - 'cloud-infra-periodic-engine-.*'
154 - 'onap-.*'
155 - 'k8-.*'
156 block-level: 'NODE'
157 - throttle:
158 max-per-node: 1
159 max-total: 3
160 option: project
161
162 wrappers:
Fatih Degirmenci395f17a2019-08-22 21:09:59 +0000163 - credentials-binding:
164 - file:
Fatih Degirmencid293bfa2019-08-26 13:30:14 +0000165 credential-id: est-jenkins-openrcfile-city-karlskrona-onap
Fatih Degirmenci395f17a2019-08-22 21:09:59 +0000166 variable: OPENRC_FILE
167 - mask-passwords
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200168 - build-timeout:
Fatih Degirmenci1a2d3cf2019-08-26 11:06:57 +0000169 timeout: 300
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200170 - fix-workspace-permissions
Fatih Degirmenciec9ae932019-08-20 11:41:50 +0000171 - openstack:
172 single-use: True
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200173
Fatih Degirmenci42a44982019-08-29 07:46:40 +0000174 triggers:
175 - timed: '@midnight'
176
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200177 scm:
178 - git-scm:
179 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
180 branch: '{nordix-branch}'
181 refspec: ''
182 wipe_workspace: true
183 clean_before: false
184
185 builders:
186 - description-setter:
Fatih Degirmenci6e05fbf2019-08-25 13:48:37 +0000187 description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
Fatih Degirmenciaf99e7e2019-08-22 21:29:02 +0000188 - shell: |
189 #!/bin/bash
190 cp $OPENRC_FILE /tmp/openrc
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200191 - multijob:
Fatih Degirmenci53d78f42019-07-30 17:47:57 +0200192 name: Deploy ONAP using OOM
Fatih Degirmenci9cc78442019-08-23 08:23:57 +0000193 condition: ALWAYS
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200194 projects:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000195 - name: 'onap-deploy-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200196 current-parameters: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200197 predefined-parameters: |
198 DISTRO=$DISTRO
199 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200200 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200201 INSTALLER_TYPE=$INSTALLER_TYPE
202 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200203 ONAP_VERSION=$ONAP_VERSION
204 ONAP_FLAVOR=$ONAP_FLAVOR
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000205 POD_NAME=$POD_NAME
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000206 STACK_NAME=$STACK_NAME
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200207 ENGINE_VERSION=$ENGINE_VERSION
208 ENGINE_REFSPEC=$ENGINE_REFSPEC
209 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
210 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
211 XTESTING_REPO_URL=$XTESTING_REPO_URL
212 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
213 CLEANUP=$CLEANUP
214 git-revision: true
215 node-parameters: true
Fatih Degirmenci9cc78442019-08-23 08:23:57 +0000216 kill-phase-on: NEVER
217 abort-all-job: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200218 - multijob:
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200219 name: K8S and OOM Healthcheck using xtesting
Fatih Degirmencic1a528c2019-07-30 12:24:36 +0200220 condition: ALWAYS
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200221 projects:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000222 - name: 'oom-healthcheck-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200223 current-parameters: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200224 predefined-parameters: |
225 DISTRO=$DISTRO
226 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200227 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200228 INSTALLER_TYPE=$INSTALLER_TYPE
229 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
230 ONAP_VERSION=$ONAP_VERSION
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200231 ONAP_FLAVOR=full
232 TEST_TYPE=oom-healthcheck
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000233 POD_NAME=$POD_NAME
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000234 STACK_NAME=$STACK_NAME
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200235 ENGINE_VERSION=$ENGINE_VERSION
236 ENGINE_REFSPEC=$ENGINE_REFSPEC
237 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
238 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
239 XTESTING_REPO_URL=$XTESTING_REPO_URL
240 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
241 CLEANUP=$CLEANUP
242 node-parameters: true
243 kill-phase-on: NEVER
244 abort-all-job: false
245 - multijob:
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200246 name: ONAP Healthcheck using xtesting
Fatih Degirmencic1a528c2019-07-30 12:24:36 +0200247 condition: ALWAYS
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200248 projects:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000249 - name: 'onap-healthcheck-core-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200250 current-parameters: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200251 predefined-parameters: |
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200252 SLAVE_LABEL=$SLAVE_LABEL
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200253 DISTRO=$DISTRO
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200254 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200255 INSTALLER_TYPE=$INSTALLER_TYPE
256 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200257 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200258 ONAP_VERSION=$ONAP_VERSION
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200259 ONAP_FLAVOR=core
260 TEST_TYPE=onap-healthcheck
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000261 POD_NAME=$POD_NAME
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000262 STACK_NAME=$STACK_NAME
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200263 ENGINE_VERSION=$ENGINE_VERSION
264 ENGINE_REFSPEC=$ENGINE_REFSPEC
265 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
266 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200267 XTESTING_REPO_URL=$XTESTING_REPO_URL
268 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
269 CLEANUP=$CLEANUP
270 node-parameters: true
271 kill-phase-on: NEVER
272 abort-all-job: false
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000273 - name: 'onap-healthcheck-small-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200274 current-parameters: false
275 predefined-parameters: |
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200276 SLAVE_LABEL=$SLAVE_LABEL
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200277 DISTRO=$DISTRO
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200278 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200279 INSTALLER_TYPE=$INSTALLER_TYPE
280 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200281 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200282 ONAP_VERSION=$ONAP_VERSION
283 ONAP_FLAVOR=small
284 TEST_TYPE=onap-healthcheck
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000285 POD_NAME=$POD_NAME
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000286 STACK_NAME=$STACK_NAME
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200287 ENGINE_VERSION=$ENGINE_VERSION
288 ENGINE_REFSPEC=$ENGINE_REFSPEC
289 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
290 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200291 XTESTING_REPO_URL=$XTESTING_REPO_URL
292 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
293 CLEANUP=$CLEANUP
294 node-parameters: true
295 kill-phase-on: NEVER
296 abort-all-job: false
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000297 - name: 'onap-healthcheck-medium-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200298 current-parameters: false
299 predefined-parameters: |
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200300 SLAVE_LABEL=$SLAVE_LABEL
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200301 DISTRO=$DISTRO
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200302 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200303 INSTALLER_TYPE=$INSTALLER_TYPE
304 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200305 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200306 ONAP_VERSION=$ONAP_VERSION
307 ONAP_FLAVOR=medium
308 TEST_TYPE=onap-healthcheck
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000309 POD_NAME=$POD_NAME
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000310 STACK_NAME=$STACK_NAME
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200311 ENGINE_VERSION=$ENGINE_VERSION
312 ENGINE_REFSPEC=$ENGINE_REFSPEC
313 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
314 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200315 XTESTING_REPO_URL=$XTESTING_REPO_URL
316 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
317 CLEANUP=$CLEANUP
318 node-parameters: true
319 kill-phase-on: NEVER
320 abort-all-job: false
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000321 - name: 'onap-healthcheck-full-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200322 current-parameters: false
323 predefined-parameters: |
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200324 SLAVE_LABEL=$SLAVE_LABEL
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200325 DISTRO=$DISTRO
Fatih Degirmencic01b6d52019-07-30 13:51:09 +0200326 PROVISIONER_TYPE=$PROVISIONER_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200327 INSTALLER_TYPE=$INSTALLER_TYPE
328 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200329 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200330 ONAP_VERSION=$ONAP_VERSION
331 ONAP_FLAVOR=full
332 TEST_TYPE=onap-healthcheck
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000333 POD_NAME=$POD_NAME
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000334 STACK_NAME=$STACK_NAME
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200335 ENGINE_VERSION=$ENGINE_VERSION
336 ENGINE_REFSPEC=$ENGINE_REFSPEC
337 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
338 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200339 XTESTING_REPO_URL=$XTESTING_REPO_URL
340 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
341 CLEANUP=$CLEANUP
342 node-parameters: true
343 kill-phase-on: NEVER
344 abort-all-job: false
345 - multijob:
Fatih Degirmenci53d78f42019-07-30 17:47:57 +0200346 name: Promote ONAP (not activated)
Fatih Degirmencic1a528c2019-07-30 12:24:36 +0200347 condition: ALWAYS
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200348 projects:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000349 - name: 'promote-onap-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenci0d464752019-07-30 12:14:02 +0200350 current-parameters: false
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200351 predefined-parameters: |
352 DISTRO=$DISTRO
353 DEPLOY_TYPE=$DEPLOY_TYPE
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200354 INSTALLER_TYPE=$INSTALLER_TYPE
355 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
356 ONAP_VERSION=$ONAP_VERSION
357 ONAP_FLAVOR=$ONAP_FLAVOR
358 ENGINE_VERSION=$ENGINE_VERSION
359 ENGINE_REFSPEC=$ENGINE_REFSPEC
Fatih Degirmenci714872e2019-08-24 11:16:38 +0000360 POD_NAME=$POD_NAME
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000361 STACK_NAME=$STACK_NAME
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200362 DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
363 DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
364 XTESTING_REPO_URL=$XTESTING_REPO_URL
365 ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS
366 CLEANUP=$CLEANUP
367 node-parameters: true
368 kill-phase-on: NEVER
369 abort-all-job: false
Fatih Degirmenci9ff44df2019-08-22 20:17:30 +0000370
371 publishers:
372 - postbuildscript:
373 builders:
374 - role: SLAVE
375 build-on:
376 - SUCCESS
377 - FAILURE
378 - ABORTED
379 - NOT_BUILT
380 - UNSTABLE
381 build-steps:
382 - shell:
Fatih Degirmenci395f17a2019-08-22 21:09:59 +0000383 !include-raw-escape: ./wait-for-pkg-manager.sh
384 - shell:
Fatih Degirmenci9ff44df2019-08-22 20:17:30 +0000385 !include-raw: ./delete-heat-stack.sh
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200386
387- job-template:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000388 name: '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200389
390 disabled: false
391
392 concurrent: true
393
394 properties:
395 - logrotate
396
397 parameters:
Fatih Degirmencia21f59a2019-07-30 21:14:41 +0200398 - project-parameters:
399 project: '{project}'
400 branch: '{nordix-branch}'
401 - nordix-gerrit-parameters
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200402 - onap-parameter-macro
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200403 - string:
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000404 name: ONAP_FLAVOR
405 default: '{onap-flavor}'
406 description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.'
407 - string:
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200408 name: ONAP_VERSION
409 default: '{onap-version}'
410 description: 'ONAP version to deploy'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200411
412 wrappers:
Fatih Degirmencia10efd12019-07-29 22:47:54 +0200413 - credentials-binding:
Fatih Degirmenci89f21802019-07-29 22:54:56 +0200414 - file:
Fatih Degirmencid293bfa2019-08-26 13:30:14 +0000415 credential-id: est-jenkins-openrcfile-city-karlskrona-onap
Fatih Degirmencia10efd12019-07-29 22:47:54 +0200416 variable: OPENRC_FILE
417 - mask-passwords
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200418 - build-timeout:
419 timeout: '{build-timeout}'
420 - fix-workspace-permissions
421
422 scm:
423 - git-scm:
424 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
425 branch: '{nordix-branch}'
426 refspec: ''
427 wipe_workspace: true
428 clean_before: false
429
430 builders:
431 - description-setter:
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000432 description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200433 - '{onap-other-phases}-macro'
434
435- job-template:
Fatih Degirmencida8abf72019-08-23 17:18:25 +0000436 name: '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200437
438 disabled: false
439
440 concurrent: true
441
442 properties:
443 - logrotate
444
445 parameters:
Fatih Degirmencia21f59a2019-07-30 21:14:41 +0200446 - project-parameters:
447 project: '{project}'
448 branch: '{nordix-branch}'
449 - nordix-gerrit-parameters
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200450 - onap-parameter-macro
Fatih Degirmenciaca27a62019-07-30 21:10:32 +0200451 - string:
452 name: ONAP_VERSION
453 default: '{onap-version}'
454 description: 'ONAP version to deploy'
455 - string:
456 name: ENGINE_VERSION
457 default: '{engine-version}'
458 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch'
459 - string:
460 name: ENGINE_REFSPEC
461 default: '{engine-refspec}'
462 description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.'
463 - string:
464 name: DEPLOY_SCENARIO_VERSION
465 default: '{deploy-scenario-version}'
466 description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.'
467 - string:
468 name: DEPLOY_SCENARIO_REFSPEC
469 default: '{deploy-scenario-refspec}'
470 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 +0000471 - string:
472 name: POD_NAME
473 default: '{pod-name}'
474 description: 'Development purposes only! Set to none for disabling test results DB reporting.'
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200475
476 wrappers:
477 - credentials-binding:
478 - file:
Fatih Degirmencid293bfa2019-08-26 13:30:14 +0000479 credential-id: est-jenkins-openrcfile-city-karlskrona-onap
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200480 variable: OPENRC_FILE
481 - mask-passwords
482 - build-timeout:
483 timeout: '{build-timeout}'
484 - fix-workspace-permissions
485
486 scm:
487 - git-scm:
488 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
489 branch: '{nordix-branch}'
490 refspec: ''
491 wipe_workspace: true
492 clean_before: false
493
494 builders:
495 - description-setter:
Fatih Degirmenci9c661b62019-08-23 07:49:43 +0000496 description: $DEPLOY_SCENARIO | $ONAP_FLAVOR
Fatih Degirmencid6f228b2019-07-30 20:53:46 +0200497 - 'onap-healthcheck-macro'
Fatih Degirmenciaadea7b2019-07-29 21:19:42 +0200498
499# vim: set ts=2 sw=2 expandtab: