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 | 785e5ac | 2019-08-29 08:36:30 +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 | 785e5ac | 2019-08-29 08:36:30 +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: |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame^] | 79 | - onap-hc-core: |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 80 | build-timeout: 30 |
| 81 | test-type: onap-healthcheck |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame^] | 82 | - onap-hc-small: |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 83 | build-timeout: 30 |
| 84 | test-type: onap-healthcheck |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame^] | 85 | - onap-hc-medium: |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 86 | build-timeout: 30 |
| 87 | test-type: onap-healthcheck |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame^] | 88 | - onap-hc-full: |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 89 | build-timeout: 30 |
| 90 | test-type: onap-healthcheck |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame^] | 91 | - onap-hc-healthdist: |
afenner | da7ada6 | 2019-09-11 15:56:23 +0100 | [diff] [blame] | 92 | build-timeout: 30 |
| 93 | test-type: onap-healthcheck |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 94 | |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 95 | jobs: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 96 | - '{deploy-scenario}-{onap-flavor}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
| 97 | - '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
| 98 | - '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 99 | |
| 100 | - job-template: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 101 | 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] | 102 | |
| 103 | project-type: multijob |
| 104 | |
| 105 | disabled: '{obj:disabled}' |
| 106 | |
| 107 | concurrent: true |
| 108 | |
| 109 | parameters: |
Fatih Degirmenci | a21f59a | 2019-07-30 21:14:41 +0200 | [diff] [blame] | 110 | - project-parameters: |
| 111 | project: '{project}' |
| 112 | branch: '{nordix-branch}' |
| 113 | - nordix-gerrit-parameters |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 114 | - onap-parameter-macro |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 115 | - string: |
| 116 | name: ONAP_VERSION |
| 117 | default: '{onap-version}' |
| 118 | description: 'ONAP version to deploy' |
| 119 | - string: |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 120 | name: ONAP_FLAVOR |
| 121 | default: '{onap-flavor}' |
| 122 | description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.' |
| 123 | - string: |
| 124 | name: STACK_NAME |
Fatih Degirmenci | e6fcd24 | 2019-08-27 16:54:58 +0000 | [diff] [blame] | 125 | default: 'nordix-cicd-{deploy-scenario}-{onap-branch}-{onap-flavor}' |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 126 | - string: |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 127 | name: ENGINE_VERSION |
| 128 | default: '{engine-version}' |
| 129 | description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch' |
| 130 | - string: |
| 131 | name: ENGINE_REFSPEC |
| 132 | default: '{engine-refspec}' |
| 133 | description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.' |
| 134 | - string: |
| 135 | name: DEPLOY_SCENARIO_VERSION |
| 136 | default: '{deploy-scenario-version}' |
| 137 | description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.' |
| 138 | - string: |
| 139 | name: DEPLOY_SCENARIO_REFSPEC |
| 140 | default: '{deploy-scenario-refspec}' |
| 141 | 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] | 142 | - string: |
| 143 | name: POD_NAME |
| 144 | default: '{pod-name}' |
| 145 | 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] | 146 | - string: |
Fatih Degirmenci | d293bfa | 2019-08-26 13:30:14 +0000 | [diff] [blame] | 147 | name: DELETE_STACK |
Fatih Degirmenci | 42a4498 | 2019-08-29 07:46:40 +0000 | [diff] [blame] | 148 | default: '{delete-stack}' |
Fatih Degirmenci | 7ad7113 | 2019-08-29 07:57:41 +0000 | [diff] [blame] | 149 | 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] | 150 | |
| 151 | properties: |
| 152 | - logrotate |
| 153 | - build-blocker: |
| 154 | use-build-blocker: true |
| 155 | blocking-jobs: |
| 156 | - 'cloud-infra-periodic-engine-.*' |
| 157 | - 'onap-.*' |
| 158 | - 'k8-.*' |
| 159 | block-level: 'NODE' |
| 160 | - throttle: |
| 161 | max-per-node: 1 |
| 162 | max-total: 3 |
| 163 | option: project |
| 164 | |
| 165 | wrappers: |
Fatih Degirmenci | 395f17a | 2019-08-22 21:09:59 +0000 | [diff] [blame] | 166 | - credentials-binding: |
| 167 | - file: |
Fatih Degirmenci | d293bfa | 2019-08-26 13:30:14 +0000 | [diff] [blame] | 168 | credential-id: est-jenkins-openrcfile-city-karlskrona-onap |
Fatih Degirmenci | 395f17a | 2019-08-22 21:09:59 +0000 | [diff] [blame] | 169 | variable: OPENRC_FILE |
| 170 | - mask-passwords |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 171 | - build-timeout: |
Fatih Degirmenci | 1a2d3cf | 2019-08-26 11:06:57 +0000 | [diff] [blame] | 172 | timeout: 300 |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 173 | - fix-workspace-permissions |
Fatih Degirmenci | ec9ae93 | 2019-08-20 11:41:50 +0000 | [diff] [blame] | 174 | - openstack: |
| 175 | single-use: True |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 176 | |
Fatih Degirmenci | 42a4498 | 2019-08-29 07:46:40 +0000 | [diff] [blame] | 177 | triggers: |
| 178 | - timed: '@midnight' |
| 179 | |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 180 | scm: |
| 181 | - git-scm: |
| 182 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 183 | branch: '{nordix-branch}' |
| 184 | refspec: '' |
| 185 | wipe_workspace: true |
| 186 | clean_before: false |
| 187 | |
| 188 | builders: |
| 189 | - description-setter: |
Fatih Degirmenci | 6e05fbf | 2019-08-25 13:48:37 +0000 | [diff] [blame] | 190 | description: $DEPLOY_SCENARIO | $ONAP_FLAVOR |
Fatih Degirmenci | af99e7e | 2019-08-22 21:29:02 +0000 | [diff] [blame] | 191 | - shell: | |
| 192 | #!/bin/bash |
| 193 | cp $OPENRC_FILE /tmp/openrc |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 194 | - multijob: |
Fatih Degirmenci | 53d78f4 | 2019-07-30 17:47:57 +0200 | [diff] [blame] | 195 | name: Deploy ONAP using OOM |
Fatih Degirmenci | 9cc7844 | 2019-08-23 08:23:57 +0000 | [diff] [blame] | 196 | condition: ALWAYS |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 197 | projects: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 198 | - name: 'onap-deploy-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 199 | current-parameters: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 200 | predefined-parameters: | |
| 201 | DISTRO=$DISTRO |
| 202 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 203 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 204 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 205 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 206 | ONAP_VERSION=$ONAP_VERSION |
| 207 | ONAP_FLAVOR=$ONAP_FLAVOR |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 208 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 209 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 210 | ENGINE_VERSION=$ENGINE_VERSION |
| 211 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 212 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 213 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
| 214 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 215 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 216 | CLEANUP=$CLEANUP |
| 217 | git-revision: true |
| 218 | node-parameters: true |
Fatih Degirmenci | 9cc7844 | 2019-08-23 08:23:57 +0000 | [diff] [blame] | 219 | kill-phase-on: NEVER |
| 220 | abort-all-job: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 221 | - multijob: |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 222 | name: K8S and OOM Healthcheck using xtesting |
Fatih Degirmenci | c1a528c | 2019-07-30 12:24:36 +0200 | [diff] [blame] | 223 | condition: ALWAYS |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 224 | projects: |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame^] | 225 | - name: 'oom-hc-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 226 | current-parameters: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 227 | predefined-parameters: | |
| 228 | DISTRO=$DISTRO |
| 229 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 230 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 231 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 232 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
| 233 | ONAP_VERSION=$ONAP_VERSION |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 234 | ONAP_FLAVOR=full |
| 235 | TEST_TYPE=oom-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 236 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 237 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 238 | ENGINE_VERSION=$ENGINE_VERSION |
| 239 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 240 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 241 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
| 242 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 243 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 244 | CLEANUP=$CLEANUP |
| 245 | node-parameters: true |
| 246 | kill-phase-on: NEVER |
| 247 | abort-all-job: false |
| 248 | - multijob: |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 249 | name: ONAP Healthcheck using xtesting |
Fatih Degirmenci | c1a528c | 2019-07-30 12:24:36 +0200 | [diff] [blame] | 250 | condition: ALWAYS |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 251 | projects: |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame^] | 252 | - name: 'onap-hc-core-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 253 | current-parameters: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 254 | predefined-parameters: | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 255 | SLAVE_LABEL=$SLAVE_LABEL |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 256 | DISTRO=$DISTRO |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 257 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 258 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 259 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 260 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 261 | ONAP_VERSION=$ONAP_VERSION |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 262 | ONAP_FLAVOR=core |
| 263 | TEST_TYPE=onap-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 264 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 265 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 266 | ENGINE_VERSION=$ENGINE_VERSION |
| 267 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 268 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 269 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 270 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 271 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 272 | CLEANUP=$CLEANUP |
| 273 | node-parameters: true |
| 274 | kill-phase-on: NEVER |
| 275 | abort-all-job: false |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame^] | 276 | - name: 'onap-hc-small-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 277 | current-parameters: false |
| 278 | predefined-parameters: | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 279 | SLAVE_LABEL=$SLAVE_LABEL |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 280 | DISTRO=$DISTRO |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 281 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 282 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 283 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 284 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 285 | ONAP_VERSION=$ONAP_VERSION |
| 286 | ONAP_FLAVOR=small |
| 287 | TEST_TYPE=onap-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 288 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 289 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 290 | ENGINE_VERSION=$ENGINE_VERSION |
| 291 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 292 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 293 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 294 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 295 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 296 | CLEANUP=$CLEANUP |
| 297 | node-parameters: true |
| 298 | kill-phase-on: NEVER |
| 299 | abort-all-job: false |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame^] | 300 | - name: 'onap-hc-medium-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 301 | current-parameters: false |
| 302 | predefined-parameters: | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 303 | SLAVE_LABEL=$SLAVE_LABEL |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 304 | DISTRO=$DISTRO |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 305 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 306 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 307 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 308 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 309 | ONAP_VERSION=$ONAP_VERSION |
| 310 | ONAP_FLAVOR=medium |
| 311 | TEST_TYPE=onap-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 312 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 313 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 314 | ENGINE_VERSION=$ENGINE_VERSION |
| 315 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 316 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 317 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 318 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 319 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 320 | CLEANUP=$CLEANUP |
| 321 | node-parameters: true |
| 322 | kill-phase-on: NEVER |
| 323 | abort-all-job: false |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame^] | 324 | - name: 'onap-hc-full-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 325 | current-parameters: false |
| 326 | predefined-parameters: | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 327 | SLAVE_LABEL=$SLAVE_LABEL |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 328 | DISTRO=$DISTRO |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 329 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 330 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 331 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 332 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 333 | ONAP_VERSION=$ONAP_VERSION |
| 334 | ONAP_FLAVOR=full |
| 335 | TEST_TYPE=onap-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 336 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 337 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 338 | ENGINE_VERSION=$ENGINE_VERSION |
| 339 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 340 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 341 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 342 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 343 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 344 | CLEANUP=$CLEANUP |
| 345 | node-parameters: true |
| 346 | kill-phase-on: NEVER |
| 347 | abort-all-job: false |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame^] | 348 | - name: 'onap-hc-healthdist-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
afenner | da7ada6 | 2019-09-11 15:56:23 +0100 | [diff] [blame] | 349 | current-parameters: false |
| 350 | predefined-parameters: | |
| 351 | SLAVE_LABEL=$SLAVE_LABEL |
| 352 | DISTRO=$DISTRO |
| 353 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
| 354 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 355 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
| 356 | DEPLOY_TYPE=$DEPLOY_TYPE |
| 357 | ONAP_VERSION=$ONAP_VERSION |
| 358 | ONAP_FLAVOR=healthdist |
| 359 | TEST_TYPE=onap-healthcheck |
| 360 | POD_NAME=$POD_NAME |
| 361 | STACK_NAME=$STACK_NAME |
| 362 | ENGINE_VERSION=$ENGINE_VERSION |
| 363 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 364 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 365 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
| 366 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 367 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 368 | CLEANUP=$CLEANUP |
| 369 | node-parameters: true |
| 370 | kill-phase-on: NEVER |
| 371 | abort-all-job: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 372 | - multijob: |
Fatih Degirmenci | 53d78f4 | 2019-07-30 17:47:57 +0200 | [diff] [blame] | 373 | name: Promote ONAP (not activated) |
Fatih Degirmenci | c1a528c | 2019-07-30 12:24:36 +0200 | [diff] [blame] | 374 | condition: ALWAYS |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 375 | projects: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 376 | - name: 'promote-onap-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 377 | current-parameters: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 378 | predefined-parameters: | |
| 379 | DISTRO=$DISTRO |
| 380 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 381 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 382 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
| 383 | ONAP_VERSION=$ONAP_VERSION |
| 384 | ONAP_FLAVOR=$ONAP_FLAVOR |
| 385 | ENGINE_VERSION=$ENGINE_VERSION |
| 386 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 387 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 388 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 389 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 390 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
| 391 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 392 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 393 | CLEANUP=$CLEANUP |
| 394 | node-parameters: true |
| 395 | kill-phase-on: NEVER |
| 396 | abort-all-job: false |
Fatih Degirmenci | 9ff44df | 2019-08-22 20:17:30 +0000 | [diff] [blame] | 397 | |
| 398 | publishers: |
| 399 | - postbuildscript: |
| 400 | builders: |
| 401 | - role: SLAVE |
| 402 | build-on: |
| 403 | - SUCCESS |
| 404 | - FAILURE |
| 405 | - ABORTED |
| 406 | - NOT_BUILT |
| 407 | - UNSTABLE |
| 408 | build-steps: |
| 409 | - shell: |
Fatih Degirmenci | 395f17a | 2019-08-22 21:09:59 +0000 | [diff] [blame] | 410 | !include-raw-escape: ./wait-for-pkg-manager.sh |
| 411 | - shell: |
Fatih Degirmenci | 9ff44df | 2019-08-22 20:17:30 +0000 | [diff] [blame] | 412 | !include-raw: ./delete-heat-stack.sh |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 413 | |
| 414 | - job-template: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 415 | name: '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 416 | |
| 417 | disabled: false |
| 418 | |
| 419 | concurrent: true |
| 420 | |
| 421 | properties: |
| 422 | - logrotate |
| 423 | |
| 424 | parameters: |
Fatih Degirmenci | a21f59a | 2019-07-30 21:14:41 +0200 | [diff] [blame] | 425 | - project-parameters: |
| 426 | project: '{project}' |
| 427 | branch: '{nordix-branch}' |
| 428 | - nordix-gerrit-parameters |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 429 | - onap-parameter-macro |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 430 | - string: |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 431 | name: ONAP_FLAVOR |
| 432 | default: '{onap-flavor}' |
| 433 | description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.' |
| 434 | - string: |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 435 | name: ONAP_VERSION |
| 436 | default: '{onap-version}' |
| 437 | description: 'ONAP version to deploy' |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 438 | |
| 439 | wrappers: |
Fatih Degirmenci | a10efd1 | 2019-07-29 22:47:54 +0200 | [diff] [blame] | 440 | - credentials-binding: |
Fatih Degirmenci | 89f2180 | 2019-07-29 22:54:56 +0200 | [diff] [blame] | 441 | - file: |
Fatih Degirmenci | d293bfa | 2019-08-26 13:30:14 +0000 | [diff] [blame] | 442 | credential-id: est-jenkins-openrcfile-city-karlskrona-onap |
Fatih Degirmenci | a10efd1 | 2019-07-29 22:47:54 +0200 | [diff] [blame] | 443 | variable: OPENRC_FILE |
| 444 | - mask-passwords |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 445 | - build-timeout: |
| 446 | timeout: '{build-timeout}' |
| 447 | - fix-workspace-permissions |
| 448 | |
| 449 | scm: |
| 450 | - git-scm: |
| 451 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 452 | branch: '{nordix-branch}' |
| 453 | refspec: '' |
| 454 | wipe_workspace: true |
| 455 | clean_before: false |
| 456 | |
| 457 | builders: |
| 458 | - description-setter: |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 459 | description: $DEPLOY_SCENARIO | $ONAP_FLAVOR |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 460 | - '{onap-other-phases}-macro' |
| 461 | |
| 462 | - job-template: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 463 | name: '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 464 | |
| 465 | disabled: false |
| 466 | |
| 467 | concurrent: true |
| 468 | |
| 469 | properties: |
| 470 | - logrotate |
| 471 | |
| 472 | parameters: |
Fatih Degirmenci | a21f59a | 2019-07-30 21:14:41 +0200 | [diff] [blame] | 473 | - project-parameters: |
| 474 | project: '{project}' |
| 475 | branch: '{nordix-branch}' |
| 476 | - nordix-gerrit-parameters |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 477 | - onap-parameter-macro |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 478 | - string: |
| 479 | name: ONAP_VERSION |
| 480 | default: '{onap-version}' |
| 481 | description: 'ONAP version to deploy' |
| 482 | - string: |
| 483 | name: ENGINE_VERSION |
| 484 | default: '{engine-version}' |
| 485 | description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch' |
| 486 | - string: |
| 487 | name: ENGINE_REFSPEC |
| 488 | default: '{engine-refspec}' |
| 489 | description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.' |
| 490 | - string: |
| 491 | name: DEPLOY_SCENARIO_VERSION |
| 492 | default: '{deploy-scenario-version}' |
| 493 | description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.' |
| 494 | - string: |
| 495 | name: DEPLOY_SCENARIO_REFSPEC |
| 496 | default: '{deploy-scenario-refspec}' |
| 497 | 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] | 498 | - string: |
| 499 | name: POD_NAME |
| 500 | default: '{pod-name}' |
| 501 | 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] | 502 | |
| 503 | wrappers: |
| 504 | - credentials-binding: |
| 505 | - file: |
Fatih Degirmenci | d293bfa | 2019-08-26 13:30:14 +0000 | [diff] [blame] | 506 | credential-id: est-jenkins-openrcfile-city-karlskrona-onap |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 507 | variable: OPENRC_FILE |
| 508 | - mask-passwords |
| 509 | - build-timeout: |
| 510 | timeout: '{build-timeout}' |
| 511 | - fix-workspace-permissions |
| 512 | |
| 513 | scm: |
| 514 | - git-scm: |
| 515 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 516 | branch: '{nordix-branch}' |
| 517 | refspec: '' |
| 518 | wipe_workspace: true |
| 519 | clean_before: false |
| 520 | |
| 521 | builders: |
| 522 | - description-setter: |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 523 | description: $DEPLOY_SCENARIO | $ONAP_FLAVOR |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 524 | - 'onap-healthcheck-macro' |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 525 | |
| 526 | # vim: set ts=2 sw=2 expandtab: |