Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 1 | --- |
| 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 Degirmenci | 9ff44df | 2019-08-22 20:17:30 +0000 | [diff] [blame] | 22 | # The jobs declared in this JJB configuration file are used for deploying and testing |
| 23 | # ONAP scenario onap-nofeature-noha. |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 24 | #-------------------------------------------------------------------------------------- |
| 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 Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 34 | onap-version: dublin |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 35 | onap-flavor: full |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 36 | engine-version: master |
Fatih Degirmenci | cf34ca7 | 2019-08-20 11:26:50 +0000 | [diff] [blame] | 37 | engine-refspec: master |
| 38 | deploy-scenario-version: master |
| 39 | deploy-scenario-refspec: master |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 40 | disabled: false |
Fatih Degirmenci | 42a4498 | 2019-08-29 07:46:40 +0000 | [diff] [blame] | 41 | delete-stack: yes |
Fatih Degirmenci | ac529ac | 2019-07-29 22:20:41 +0200 | [diff] [blame] | 42 | - 'master': |
| 43 | nordix-branch: master |
| 44 | onap-version: master |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 45 | onap-flavor: full |
Fatih Degirmenci | ac529ac | 2019-07-29 22:20:41 +0200 | [diff] [blame] | 46 | engine-version: master |
| 47 | engine-refspec: master |
| 48 | deploy-scenario-version: master |
| 49 | deploy-scenario-refspec: master |
Fatih Degirmenci | be8394d | 2019-08-21 06:14:29 +0000 | [diff] [blame] | 50 | disabled: false |
Fatih Degirmenci | 42a4498 | 2019-08-29 07:46:40 +0000 | [diff] [blame] | 51 | delete-stack: no |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 52 | |
| 53 | distro: |
Fatih Degirmenci | f3afb6d | 2019-07-29 22:27:40 +0200 | [diff] [blame] | 54 | - ubuntu1804 |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 55 | |
| 56 | deploy-scenario: |
Fatih Degirmenci | 3473f6f | 2019-08-22 17:37:34 +0000 | [diff] [blame] | 57 | - onap-nofeature-noha |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 58 | |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 59 | ci-loop: |
| 60 | - daily |
| 61 | |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 62 | type: |
| 63 | - cloud: |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 64 | pod-name: est-cloud |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 65 | provisioner-type: heat |
Fatih Degirmenci | ac529ac | 2019-07-29 22:20:41 +0200 | [diff] [blame] | 66 | installer-type: kubespray |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 67 | slave-label: 'jumphost-onap-ubuntu1804' |
| 68 | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 69 | onap-other-phases: |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 70 | - onap-deploy: |
Fatih Degirmenci | 1a2d3cf | 2019-08-26 11:06:57 +0000 | [diff] [blame] | 71 | build-timeout: 210 |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 72 | - oom-healthcheck: |
| 73 | build-timeout: 30 |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 74 | test-type: oom-healthcheck |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 75 | - promote-onap: |
| 76 | build-timeout: 5 |
| 77 | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 78 | 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 Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 92 | jobs: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 93 | - '{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 Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 96 | |
| 97 | - job-template: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 98 | name: '{deploy-scenario}-{onap-flavor}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 99 | |
| 100 | project-type: multijob |
| 101 | |
| 102 | disabled: '{obj:disabled}' |
| 103 | |
| 104 | concurrent: true |
| 105 | |
| 106 | parameters: |
Fatih Degirmenci | a21f59a | 2019-07-30 21:14:41 +0200 | [diff] [blame] | 107 | - project-parameters: |
| 108 | project: '{project}' |
| 109 | branch: '{nordix-branch}' |
| 110 | - nordix-gerrit-parameters |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 111 | - onap-parameter-macro |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 112 | - string: |
| 113 | name: ONAP_VERSION |
| 114 | default: '{onap-version}' |
| 115 | description: 'ONAP version to deploy' |
| 116 | - string: |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 117 | 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 Degirmenci | e6fcd24 | 2019-08-27 16:54:58 +0000 | [diff] [blame] | 122 | default: 'nordix-cicd-{deploy-scenario}-{onap-branch}-{onap-flavor}' |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 123 | - string: |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 124 | 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 Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 139 | - string: |
| 140 | name: POD_NAME |
| 141 | default: '{pod-name}' |
| 142 | description: 'Development purposes only! Set to none for disabling test results DB reporting.' |
Fatih Degirmenci | 7ad7113 | 2019-08-29 07:57:41 +0000 | [diff] [blame^] | 143 | - string: |
Fatih Degirmenci | d293bfa | 2019-08-26 13:30:14 +0000 | [diff] [blame] | 144 | name: DELETE_STACK |
Fatih Degirmenci | 42a4498 | 2019-08-29 07:46:40 +0000 | [diff] [blame] | 145 | default: '{delete-stack}' |
Fatih Degirmenci | 7ad7113 | 2019-08-29 07:57:41 +0000 | [diff] [blame^] | 146 | 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 Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 147 | |
| 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 Degirmenci | 395f17a | 2019-08-22 21:09:59 +0000 | [diff] [blame] | 163 | - credentials-binding: |
| 164 | - file: |
Fatih Degirmenci | d293bfa | 2019-08-26 13:30:14 +0000 | [diff] [blame] | 165 | credential-id: est-jenkins-openrcfile-city-karlskrona-onap |
Fatih Degirmenci | 395f17a | 2019-08-22 21:09:59 +0000 | [diff] [blame] | 166 | variable: OPENRC_FILE |
| 167 | - mask-passwords |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 168 | - build-timeout: |
Fatih Degirmenci | 1a2d3cf | 2019-08-26 11:06:57 +0000 | [diff] [blame] | 169 | timeout: 300 |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 170 | - fix-workspace-permissions |
Fatih Degirmenci | ec9ae93 | 2019-08-20 11:41:50 +0000 | [diff] [blame] | 171 | - openstack: |
| 172 | single-use: True |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 173 | |
Fatih Degirmenci | 42a4498 | 2019-08-29 07:46:40 +0000 | [diff] [blame] | 174 | triggers: |
| 175 | - timed: '@midnight' |
| 176 | |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 177 | 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 Degirmenci | 6e05fbf | 2019-08-25 13:48:37 +0000 | [diff] [blame] | 187 | description: $DEPLOY_SCENARIO | $ONAP_FLAVOR |
Fatih Degirmenci | af99e7e | 2019-08-22 21:29:02 +0000 | [diff] [blame] | 188 | - shell: | |
| 189 | #!/bin/bash |
| 190 | cp $OPENRC_FILE /tmp/openrc |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 191 | - multijob: |
Fatih Degirmenci | 53d78f4 | 2019-07-30 17:47:57 +0200 | [diff] [blame] | 192 | name: Deploy ONAP using OOM |
Fatih Degirmenci | 9cc7844 | 2019-08-23 08:23:57 +0000 | [diff] [blame] | 193 | condition: ALWAYS |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 194 | projects: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 195 | - name: 'onap-deploy-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 196 | current-parameters: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 197 | predefined-parameters: | |
| 198 | DISTRO=$DISTRO |
| 199 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 200 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 201 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 202 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 203 | ONAP_VERSION=$ONAP_VERSION |
| 204 | ONAP_FLAVOR=$ONAP_FLAVOR |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 205 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 206 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 207 | 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 Degirmenci | 9cc7844 | 2019-08-23 08:23:57 +0000 | [diff] [blame] | 216 | kill-phase-on: NEVER |
| 217 | abort-all-job: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 218 | - multijob: |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 219 | name: K8S and OOM Healthcheck using xtesting |
Fatih Degirmenci | c1a528c | 2019-07-30 12:24:36 +0200 | [diff] [blame] | 220 | condition: ALWAYS |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 221 | projects: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 222 | - name: 'oom-healthcheck-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 223 | current-parameters: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 224 | predefined-parameters: | |
| 225 | DISTRO=$DISTRO |
| 226 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 227 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 228 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 229 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
| 230 | ONAP_VERSION=$ONAP_VERSION |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 231 | ONAP_FLAVOR=full |
| 232 | TEST_TYPE=oom-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 233 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 234 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 235 | 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 Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 246 | name: ONAP Healthcheck using xtesting |
Fatih Degirmenci | c1a528c | 2019-07-30 12:24:36 +0200 | [diff] [blame] | 247 | condition: ALWAYS |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 248 | projects: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 249 | - name: 'onap-healthcheck-core-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 250 | current-parameters: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 251 | predefined-parameters: | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 252 | SLAVE_LABEL=$SLAVE_LABEL |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 253 | DISTRO=$DISTRO |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 254 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 255 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 256 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 257 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 258 | ONAP_VERSION=$ONAP_VERSION |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 259 | ONAP_FLAVOR=core |
| 260 | TEST_TYPE=onap-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 261 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 262 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 263 | ENGINE_VERSION=$ENGINE_VERSION |
| 264 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 265 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 266 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 267 | 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 Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 273 | - name: 'onap-healthcheck-small-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 274 | current-parameters: false |
| 275 | predefined-parameters: | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 276 | SLAVE_LABEL=$SLAVE_LABEL |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 277 | DISTRO=$DISTRO |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 278 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 279 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 280 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 281 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 282 | ONAP_VERSION=$ONAP_VERSION |
| 283 | ONAP_FLAVOR=small |
| 284 | TEST_TYPE=onap-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 285 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 286 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 287 | ENGINE_VERSION=$ENGINE_VERSION |
| 288 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 289 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 290 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 291 | 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 Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 297 | - name: 'onap-healthcheck-medium-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 298 | current-parameters: false |
| 299 | predefined-parameters: | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 300 | SLAVE_LABEL=$SLAVE_LABEL |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 301 | DISTRO=$DISTRO |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 302 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 303 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 304 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 305 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 306 | ONAP_VERSION=$ONAP_VERSION |
| 307 | ONAP_FLAVOR=medium |
| 308 | TEST_TYPE=onap-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 309 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 310 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 311 | ENGINE_VERSION=$ENGINE_VERSION |
| 312 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 313 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 314 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 315 | 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 Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 321 | - name: 'onap-healthcheck-full-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 322 | current-parameters: false |
| 323 | predefined-parameters: | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 324 | SLAVE_LABEL=$SLAVE_LABEL |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 325 | DISTRO=$DISTRO |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 326 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 327 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 328 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 329 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 330 | ONAP_VERSION=$ONAP_VERSION |
| 331 | ONAP_FLAVOR=full |
| 332 | TEST_TYPE=onap-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 333 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 334 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 335 | ENGINE_VERSION=$ENGINE_VERSION |
| 336 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 337 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 338 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 339 | 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 Degirmenci | 53d78f4 | 2019-07-30 17:47:57 +0200 | [diff] [blame] | 346 | name: Promote ONAP (not activated) |
Fatih Degirmenci | c1a528c | 2019-07-30 12:24:36 +0200 | [diff] [blame] | 347 | condition: ALWAYS |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 348 | projects: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 349 | - name: 'promote-onap-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 350 | current-parameters: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 351 | predefined-parameters: | |
| 352 | DISTRO=$DISTRO |
| 353 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 354 | 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 Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 360 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 361 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 362 | 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 Degirmenci | 9ff44df | 2019-08-22 20:17:30 +0000 | [diff] [blame] | 370 | |
| 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 Degirmenci | 395f17a | 2019-08-22 21:09:59 +0000 | [diff] [blame] | 383 | !include-raw-escape: ./wait-for-pkg-manager.sh |
| 384 | - shell: |
Fatih Degirmenci | 9ff44df | 2019-08-22 20:17:30 +0000 | [diff] [blame] | 385 | !include-raw: ./delete-heat-stack.sh |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 386 | |
| 387 | - job-template: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 388 | name: '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 389 | |
| 390 | disabled: false |
| 391 | |
| 392 | concurrent: true |
| 393 | |
| 394 | properties: |
| 395 | - logrotate |
| 396 | |
| 397 | parameters: |
Fatih Degirmenci | a21f59a | 2019-07-30 21:14:41 +0200 | [diff] [blame] | 398 | - project-parameters: |
| 399 | project: '{project}' |
| 400 | branch: '{nordix-branch}' |
| 401 | - nordix-gerrit-parameters |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 402 | - onap-parameter-macro |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 403 | - string: |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 404 | 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 Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 408 | name: ONAP_VERSION |
| 409 | default: '{onap-version}' |
| 410 | description: 'ONAP version to deploy' |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 411 | |
| 412 | wrappers: |
Fatih Degirmenci | a10efd1 | 2019-07-29 22:47:54 +0200 | [diff] [blame] | 413 | - credentials-binding: |
Fatih Degirmenci | 89f2180 | 2019-07-29 22:54:56 +0200 | [diff] [blame] | 414 | - file: |
Fatih Degirmenci | d293bfa | 2019-08-26 13:30:14 +0000 | [diff] [blame] | 415 | credential-id: est-jenkins-openrcfile-city-karlskrona-onap |
Fatih Degirmenci | a10efd1 | 2019-07-29 22:47:54 +0200 | [diff] [blame] | 416 | variable: OPENRC_FILE |
| 417 | - mask-passwords |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 418 | - 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 Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 432 | description: $DEPLOY_SCENARIO | $ONAP_FLAVOR |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 433 | - '{onap-other-phases}-macro' |
| 434 | |
| 435 | - job-template: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 436 | name: '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 437 | |
| 438 | disabled: false |
| 439 | |
| 440 | concurrent: true |
| 441 | |
| 442 | properties: |
| 443 | - logrotate |
| 444 | |
| 445 | parameters: |
Fatih Degirmenci | a21f59a | 2019-07-30 21:14:41 +0200 | [diff] [blame] | 446 | - project-parameters: |
| 447 | project: '{project}' |
| 448 | branch: '{nordix-branch}' |
| 449 | - nordix-gerrit-parameters |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 450 | - onap-parameter-macro |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 451 | - 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 Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 471 | - string: |
| 472 | name: POD_NAME |
| 473 | default: '{pod-name}' |
| 474 | description: 'Development purposes only! Set to none for disabling test results DB reporting.' |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 475 | |
| 476 | wrappers: |
| 477 | - credentials-binding: |
| 478 | - file: |
Fatih Degirmenci | d293bfa | 2019-08-26 13:30:14 +0000 | [diff] [blame] | 479 | credential-id: est-jenkins-openrcfile-city-karlskrona-onap |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 480 | 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 Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 496 | description: $DEPLOY_SCENARIO | $ONAP_FLAVOR |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 497 | - 'onap-healthcheck-macro' |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 498 | |
| 499 | # vim: set ts=2 sw=2 expandtab: |