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 | |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 31 | cloud: |
| 32 | - city: |
Fatih Degirmenci | 98d459a | 2019-10-17 18:50:20 +0200 | [diff] [blame] | 33 | slave-label: 'city-jumphost-ubuntu1804' |
Fatih Degirmenci | d89b9f7 | 2019-10-18 16:28:56 +0200 | [diff] [blame] | 34 | openrc-credentials-file: 'est-jenkins-openrcfile-city-frankfurt-onap' |
Fatih Degirmenci | f91eae9 | 2019-10-21 08:13:56 +0200 | [diff] [blame] | 35 | daily-trigger: '@midnight' |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 36 | - xerces: |
Fatih Degirmenci | 98d459a | 2019-10-17 18:50:20 +0200 | [diff] [blame] | 37 | slave-label: 'xerces-jumphost-ubuntu1804' |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 38 | openrc-credentials-file: 'est-estinfra-openrcfile-xerces-lund-onap' |
| 39 | daily-trigger: '#@midnight' |
| 40 | |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 41 | onap-branch: |
| 42 | - 'dublin': |
| 43 | nordix-branch: master |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 44 | onap-version: dublin |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 45 | onap-flavor: full |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 46 | engine-version: master |
Fatih Degirmenci | cf34ca7 | 2019-08-20 11:26:50 +0000 | [diff] [blame] | 47 | engine-refspec: master |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 48 | deploy-scenario: 'onap-nofeature-noha' |
Fatih Degirmenci | cf34ca7 | 2019-08-20 11:26:50 +0000 | [diff] [blame] | 49 | deploy-scenario-version: master |
| 50 | deploy-scenario-refspec: master |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 51 | disabled: false |
Fatih Degirmenci | 785e5ac | 2019-08-29 08:36:30 +0000 | [diff] [blame] | 52 | delete-stack: 'yes' |
Fatih Degirmenci | ac529ac | 2019-07-29 22:20:41 +0200 | [diff] [blame] | 53 | - 'master': |
| 54 | nordix-branch: master |
| 55 | onap-version: master |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 56 | onap-flavor: full |
Fatih Degirmenci | ac529ac | 2019-07-29 22:20:41 +0200 | [diff] [blame] | 57 | engine-version: master |
| 58 | engine-refspec: master |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 59 | deploy-scenario: 'onap-nofeature-noha' |
Fatih Degirmenci | ac529ac | 2019-07-29 22:20:41 +0200 | [diff] [blame] | 60 | deploy-scenario-version: master |
| 61 | deploy-scenario-refspec: master |
Fatih Degirmenci | be8394d | 2019-08-21 06:14:29 +0000 | [diff] [blame] | 62 | disabled: false |
Fatih Degirmenci | 785e5ac | 2019-08-29 08:36:30 +0000 | [diff] [blame] | 63 | delete-stack: 'no' |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 64 | |
| 65 | distro: |
Fatih Degirmenci | f3afb6d | 2019-07-29 22:27:40 +0200 | [diff] [blame] | 66 | - ubuntu1804 |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 67 | |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 68 | ci-loop: |
| 69 | - daily |
| 70 | |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 71 | type: |
| 72 | - cloud: |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 73 | pod-name: est-cloud |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 74 | provisioner-type: heat |
Fatih Degirmenci | ac529ac | 2019-07-29 22:20:41 +0200 | [diff] [blame] | 75 | installer-type: kubespray |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 76 | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 77 | onap-other-phases: |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 78 | - onap-deploy: |
Fatih Degirmenci | 1a2d3cf | 2019-08-26 11:06:57 +0000 | [diff] [blame] | 79 | build-timeout: 210 |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 80 | - oom-hc: |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 81 | build-timeout: 30 |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 82 | test-type: oom-healthcheck |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 83 | - promote-onap: |
| 84 | build-timeout: 5 |
| 85 | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 86 | onap-healthcheck-phases: |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame] | 87 | - onap-hc-core: |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 88 | build-timeout: 30 |
| 89 | test-type: onap-healthcheck |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame] | 90 | - onap-hc-small: |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 91 | build-timeout: 30 |
| 92 | test-type: onap-healthcheck |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame] | 93 | - onap-hc-medium: |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 94 | build-timeout: 30 |
| 95 | test-type: onap-healthcheck |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame] | 96 | - onap-hc-full: |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 97 | build-timeout: 30 |
| 98 | test-type: onap-healthcheck |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame] | 99 | - onap-hc-healthdist: |
afenner | da7ada6 | 2019-09-11 15:56:23 +0100 | [diff] [blame] | 100 | build-timeout: 30 |
| 101 | test-type: onap-healthcheck |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 102 | |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 103 | jobs: |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 104 | - 'onap-online-{onap-flavor}-{distro}-{installer-type}-{cloud}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 105 | - '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
| 106 | - '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 107 | |
| 108 | - job-template: |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 109 | name: 'onap-online-{onap-flavor}-{distro}-{installer-type}-{cloud}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 110 | |
| 111 | project-type: multijob |
| 112 | |
| 113 | disabled: '{obj:disabled}' |
| 114 | |
Fatih Degirmenci | d89b9f7 | 2019-10-18 16:28:56 +0200 | [diff] [blame] | 115 | concurrent: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 116 | |
| 117 | parameters: |
Fatih Degirmenci | a21f59a | 2019-07-30 21:14:41 +0200 | [diff] [blame] | 118 | - project-parameters: |
| 119 | project: '{project}' |
| 120 | branch: '{nordix-branch}' |
| 121 | - nordix-gerrit-parameters |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 122 | - onap-parameter-macro |
Fatih Degirmenci | ebfb38b | 2019-10-16 19:28:19 +0200 | [diff] [blame] | 123 | - label: |
| 124 | name: SLAVE_LABEL |
| 125 | default: '{slave-label}' |
| 126 | description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use' |
| 127 | - string: |
| 128 | name: DISTRO |
| 129 | default: '{distro}' |
| 130 | description: 'Distribution to use for configuring target nodes (networking etc.)' |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 131 | - string: |
Fatih Degirmenci | 96a1974 | 2019-10-16 20:25:24 +0200 | [diff] [blame] | 132 | name: OPENSTACK_CLOUD_PROVIDER |
| 133 | default: '{cloud}' |
| 134 | description: 'Name of the cloud where this job is run' |
| 135 | - string: |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 136 | name: ONAP_VERSION |
| 137 | default: '{onap-version}' |
| 138 | description: 'ONAP version to deploy' |
| 139 | - string: |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 140 | name: ONAP_FLAVOR |
| 141 | default: '{onap-flavor}' |
| 142 | description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.' |
| 143 | - string: |
| 144 | name: STACK_NAME |
Fatih Degirmenci | e6fcd24 | 2019-08-27 16:54:58 +0000 | [diff] [blame] | 145 | default: 'nordix-cicd-{deploy-scenario}-{onap-branch}-{onap-flavor}' |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 146 | - string: |
Fatih Degirmenci | 6c7ccc3 | 2019-10-16 19:50:06 +0200 | [diff] [blame] | 147 | name: HEAT_ENVIRONMENT_FILENAME |
| 148 | default: "heat-environment-{cloud}-{distro}-full.yaml" |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 149 | description: 'Type of the deployment' |
| 150 | - string: |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 151 | name: ENGINE_VERSION |
| 152 | default: '{engine-version}' |
| 153 | description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch' |
| 154 | - string: |
| 155 | name: ENGINE_REFSPEC |
| 156 | default: '{engine-refspec}' |
| 157 | description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.' |
| 158 | - string: |
| 159 | name: DEPLOY_SCENARIO_VERSION |
| 160 | default: '{deploy-scenario-version}' |
| 161 | description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.' |
| 162 | - string: |
| 163 | name: DEPLOY_SCENARIO_REFSPEC |
| 164 | default: '{deploy-scenario-refspec}' |
| 165 | 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] | 166 | - string: |
| 167 | name: POD_NAME |
| 168 | default: '{pod-name}' |
| 169 | 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] | 170 | - string: |
Fatih Degirmenci | d293bfa | 2019-08-26 13:30:14 +0000 | [diff] [blame] | 171 | name: DELETE_STACK |
Fatih Degirmenci | 42a4498 | 2019-08-29 07:46:40 +0000 | [diff] [blame] | 172 | default: '{delete-stack}' |
Fatih Degirmenci | 7ad7113 | 2019-08-29 07:57:41 +0000 | [diff] [blame] | 173 | 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] | 174 | |
| 175 | properties: |
| 176 | - logrotate |
| 177 | - build-blocker: |
| 178 | use-build-blocker: true |
| 179 | blocking-jobs: |
| 180 | - 'cloud-infra-periodic-engine-.*' |
| 181 | - 'onap-.*' |
| 182 | - 'k8-.*' |
| 183 | block-level: 'NODE' |
| 184 | - throttle: |
| 185 | max-per-node: 1 |
Fatih Degirmenci | d89b9f7 | 2019-10-18 16:28:56 +0200 | [diff] [blame] | 186 | max-total: 1 |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 187 | option: project |
| 188 | |
| 189 | wrappers: |
Fatih Degirmenci | 395f17a | 2019-08-22 21:09:59 +0000 | [diff] [blame] | 190 | - credentials-binding: |
| 191 | - file: |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 192 | credential-id: '{openrc-credentials-file}' |
Fatih Degirmenci | 395f17a | 2019-08-22 21:09:59 +0000 | [diff] [blame] | 193 | variable: OPENRC_FILE |
| 194 | - mask-passwords |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 195 | - build-timeout: |
Fatih Degirmenci | 1a2d3cf | 2019-08-26 11:06:57 +0000 | [diff] [blame] | 196 | timeout: 300 |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 197 | - fix-workspace-permissions |
Fatih Degirmenci | ec9ae93 | 2019-08-20 11:41:50 +0000 | [diff] [blame] | 198 | - openstack: |
| 199 | single-use: True |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 200 | |
Fatih Degirmenci | 42a4498 | 2019-08-29 07:46:40 +0000 | [diff] [blame] | 201 | triggers: |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 202 | - timed: '{daily-trigger}' |
Fatih Degirmenci | 42a4498 | 2019-08-29 07:46:40 +0000 | [diff] [blame] | 203 | |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 204 | scm: |
| 205 | - git-scm: |
| 206 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 207 | branch: '{nordix-branch}' |
| 208 | refspec: '' |
| 209 | wipe_workspace: true |
| 210 | clean_before: false |
| 211 | |
| 212 | builders: |
| 213 | - description-setter: |
Fatih Degirmenci | 6e05fbf | 2019-08-25 13:48:37 +0000 | [diff] [blame] | 214 | description: $DEPLOY_SCENARIO | $ONAP_FLAVOR |
Fatih Degirmenci | af99e7e | 2019-08-22 21:29:02 +0000 | [diff] [blame] | 215 | - shell: | |
| 216 | #!/bin/bash |
Fatih Degirmenci | 96a1974 | 2019-10-16 20:25:24 +0200 | [diff] [blame] | 217 | /bin/rm -rf /tmp/openrc && /bin/cp -f $OPENRC_FILE /tmp/openrc |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 218 | - multijob: |
Fatih Degirmenci | 53d78f4 | 2019-07-30 17:47:57 +0200 | [diff] [blame] | 219 | name: Deploy ONAP using OOM |
Fatih Degirmenci | 9cc7844 | 2019-08-23 08:23:57 +0000 | [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: 'onap-deploy-{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 |
Fatih Degirmenci | 96a1974 | 2019-10-16 20:25:24 +0200 | [diff] [blame] | 226 | OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 227 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 228 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 229 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 230 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 231 | ONAP_VERSION=$ONAP_VERSION |
| 232 | ONAP_FLAVOR=$ONAP_FLAVOR |
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 | 6c7ccc3 | 2019-10-16 19:50:06 +0200 | [diff] [blame] | 235 | HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 236 | ENGINE_VERSION=$ENGINE_VERSION |
| 237 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 238 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 239 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
| 240 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 241 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 242 | CLEANUP=$CLEANUP |
| 243 | git-revision: true |
| 244 | node-parameters: true |
Fatih Degirmenci | 9cc7844 | 2019-08-23 08:23:57 +0000 | [diff] [blame] | 245 | kill-phase-on: NEVER |
| 246 | abort-all-job: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 247 | - multijob: |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 248 | name: K8S and OOM Healthcheck using xtesting |
Fatih Degirmenci | c1a528c | 2019-07-30 12:24:36 +0200 | [diff] [blame] | 249 | condition: ALWAYS |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 250 | projects: |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame] | 251 | - name: 'oom-hc-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 252 | current-parameters: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 253 | predefined-parameters: | |
| 254 | DISTRO=$DISTRO |
Fatih Degirmenci | 96a1974 | 2019-10-16 20:25:24 +0200 | [diff] [blame] | 255 | OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 256 | DEPLOY_TYPE=$DEPLOY_TYPE |
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 |
| 260 | ONAP_VERSION=$ONAP_VERSION |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 261 | ONAP_FLAVOR=full |
| 262 | TEST_TYPE=oom-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 263 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 264 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | 6c7ccc3 | 2019-10-16 19:50:06 +0200 | [diff] [blame] | 265 | HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +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 |
| 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 |
| 276 | - multijob: |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 277 | name: ONAP Healthcheck using xtesting |
Fatih Degirmenci | cfc0600 | 2019-10-03 11:26:59 +0200 | [diff] [blame] | 278 | execution-type: SEQUENTIALLY |
Fatih Degirmenci | c1a528c | 2019-07-30 12:24:36 +0200 | [diff] [blame] | 279 | condition: ALWAYS |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 280 | projects: |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame] | 281 | - name: 'onap-hc-core-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 282 | current-parameters: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 283 | predefined-parameters: | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 284 | SLAVE_LABEL=$SLAVE_LABEL |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 285 | DISTRO=$DISTRO |
Fatih Degirmenci | 96a1974 | 2019-10-16 20:25:24 +0200 | [diff] [blame] | 286 | OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 287 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 288 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 289 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 290 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 291 | ONAP_VERSION=$ONAP_VERSION |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 292 | ONAP_FLAVOR=core |
| 293 | TEST_TYPE=onap-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 294 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 295 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | 6c7ccc3 | 2019-10-16 19:50:06 +0200 | [diff] [blame] | 296 | HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 297 | ENGINE_VERSION=$ENGINE_VERSION |
| 298 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 299 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 300 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 301 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 302 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 303 | CLEANUP=$CLEANUP |
| 304 | node-parameters: true |
| 305 | kill-phase-on: NEVER |
| 306 | abort-all-job: false |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame] | 307 | - name: 'onap-hc-small-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 308 | current-parameters: false |
| 309 | predefined-parameters: | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 310 | SLAVE_LABEL=$SLAVE_LABEL |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 311 | DISTRO=$DISTRO |
Fatih Degirmenci | 96a1974 | 2019-10-16 20:25:24 +0200 | [diff] [blame] | 312 | OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 313 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 314 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 315 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 316 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 317 | ONAP_VERSION=$ONAP_VERSION |
| 318 | ONAP_FLAVOR=small |
| 319 | TEST_TYPE=onap-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 320 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 321 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | 6c7ccc3 | 2019-10-16 19:50:06 +0200 | [diff] [blame] | 322 | HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 323 | ENGINE_VERSION=$ENGINE_VERSION |
| 324 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 325 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 326 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 327 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 328 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 329 | CLEANUP=$CLEANUP |
| 330 | node-parameters: true |
| 331 | kill-phase-on: NEVER |
| 332 | abort-all-job: false |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame] | 333 | - name: 'onap-hc-medium-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 334 | current-parameters: false |
| 335 | predefined-parameters: | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 336 | SLAVE_LABEL=$SLAVE_LABEL |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 337 | DISTRO=$DISTRO |
Fatih Degirmenci | 96a1974 | 2019-10-16 20:25:24 +0200 | [diff] [blame] | 338 | OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 339 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 340 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 341 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 342 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 343 | ONAP_VERSION=$ONAP_VERSION |
| 344 | ONAP_FLAVOR=medium |
| 345 | TEST_TYPE=onap-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 346 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 347 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | 6c7ccc3 | 2019-10-16 19:50:06 +0200 | [diff] [blame] | 348 | HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 349 | ENGINE_VERSION=$ENGINE_VERSION |
| 350 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 351 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 352 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 353 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 354 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 355 | CLEANUP=$CLEANUP |
| 356 | node-parameters: true |
| 357 | kill-phase-on: NEVER |
| 358 | abort-all-job: false |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame] | 359 | - name: 'onap-hc-full-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 360 | current-parameters: false |
| 361 | predefined-parameters: | |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 362 | SLAVE_LABEL=$SLAVE_LABEL |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 363 | DISTRO=$DISTRO |
Fatih Degirmenci | 96a1974 | 2019-10-16 20:25:24 +0200 | [diff] [blame] | 364 | OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER |
Fatih Degirmenci | c01b6d5 | 2019-07-30 13:51:09 +0200 | [diff] [blame] | 365 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 366 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 367 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 368 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 369 | ONAP_VERSION=$ONAP_VERSION |
| 370 | ONAP_FLAVOR=full |
| 371 | TEST_TYPE=onap-healthcheck |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 372 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 373 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | 6c7ccc3 | 2019-10-16 19:50:06 +0200 | [diff] [blame] | 374 | HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 375 | ENGINE_VERSION=$ENGINE_VERSION |
| 376 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 377 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 378 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 379 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 380 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 381 | CLEANUP=$CLEANUP |
| 382 | node-parameters: true |
| 383 | kill-phase-on: NEVER |
| 384 | abort-all-job: false |
afenner | bbdc834 | 2019-09-18 14:59:52 +0100 | [diff] [blame] | 385 | - name: 'onap-hc-healthdist-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
afenner | da7ada6 | 2019-09-11 15:56:23 +0100 | [diff] [blame] | 386 | current-parameters: false |
| 387 | predefined-parameters: | |
| 388 | SLAVE_LABEL=$SLAVE_LABEL |
| 389 | DISTRO=$DISTRO |
Fatih Degirmenci | 96a1974 | 2019-10-16 20:25:24 +0200 | [diff] [blame] | 390 | OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER |
afenner | da7ada6 | 2019-09-11 15:56:23 +0100 | [diff] [blame] | 391 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
| 392 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 393 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
| 394 | DEPLOY_TYPE=$DEPLOY_TYPE |
| 395 | ONAP_VERSION=$ONAP_VERSION |
| 396 | ONAP_FLAVOR=healthdist |
| 397 | TEST_TYPE=onap-healthcheck |
| 398 | POD_NAME=$POD_NAME |
| 399 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | 6c7ccc3 | 2019-10-16 19:50:06 +0200 | [diff] [blame] | 400 | HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME |
afenner | da7ada6 | 2019-09-11 15:56:23 +0100 | [diff] [blame] | 401 | ENGINE_VERSION=$ENGINE_VERSION |
| 402 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
| 403 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 404 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
| 405 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 406 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 407 | CLEANUP=$CLEANUP |
| 408 | node-parameters: true |
| 409 | kill-phase-on: NEVER |
| 410 | abort-all-job: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 411 | - multijob: |
Fatih Degirmenci | 53d78f4 | 2019-07-30 17:47:57 +0200 | [diff] [blame] | 412 | name: Promote ONAP (not activated) |
Fatih Degirmenci | c1a528c | 2019-07-30 12:24:36 +0200 | [diff] [blame] | 413 | condition: ALWAYS |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 414 | projects: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 415 | - name: 'promote-onap-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | 0d46475 | 2019-07-30 12:14:02 +0200 | [diff] [blame] | 416 | current-parameters: false |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 417 | predefined-parameters: | |
Fatih Degirmenci | ebfb38b | 2019-10-16 19:28:19 +0200 | [diff] [blame] | 418 | SLAVE_LABEL=$SLAVE_LABEL |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 419 | DISTRO=$DISTRO |
Fatih Degirmenci | 96a1974 | 2019-10-16 20:25:24 +0200 | [diff] [blame] | 420 | OPENSTACK_CLOUD_PROVIDER=$OPENSTACK_CLOUD_PROVIDER |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 421 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 422 | INSTALLER_TYPE=$INSTALLER_TYPE |
| 423 | DEPLOY_SCENARIO=$DEPLOY_SCENARIO |
| 424 | ONAP_VERSION=$ONAP_VERSION |
| 425 | ONAP_FLAVOR=$ONAP_FLAVOR |
| 426 | ENGINE_VERSION=$ENGINE_VERSION |
| 427 | ENGINE_REFSPEC=$ENGINE_REFSPEC |
Fatih Degirmenci | 714872e | 2019-08-24 11:16:38 +0000 | [diff] [blame] | 428 | POD_NAME=$POD_NAME |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 429 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | 6c7ccc3 | 2019-10-16 19:50:06 +0200 | [diff] [blame] | 430 | HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 431 | DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION |
| 432 | DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC |
| 433 | XTESTING_REPO_URL=$XTESTING_REPO_URL |
| 434 | ENGINE_ANSIBLE_PARAMS=$ENGINE_ANSIBLE_PARAMS |
| 435 | CLEANUP=$CLEANUP |
| 436 | node-parameters: true |
| 437 | kill-phase-on: NEVER |
| 438 | abort-all-job: false |
Fatih Degirmenci | 9ff44df | 2019-08-22 20:17:30 +0000 | [diff] [blame] | 439 | |
| 440 | publishers: |
| 441 | - postbuildscript: |
| 442 | builders: |
| 443 | - role: SLAVE |
| 444 | build-on: |
| 445 | - SUCCESS |
| 446 | - FAILURE |
| 447 | - ABORTED |
| 448 | - NOT_BUILT |
| 449 | - UNSTABLE |
| 450 | build-steps: |
| 451 | - shell: |
Fatih Degirmenci | 395f17a | 2019-08-22 21:09:59 +0000 | [diff] [blame] | 452 | !include-raw-escape: ./wait-for-pkg-manager.sh |
| 453 | - shell: |
Fatih Degirmenci | 9ff44df | 2019-08-22 20:17:30 +0000 | [diff] [blame] | 454 | !include-raw: ./delete-heat-stack.sh |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 455 | |
| 456 | - job-template: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 457 | name: '{onap-other-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 458 | |
| 459 | disabled: false |
| 460 | |
| 461 | concurrent: true |
| 462 | |
| 463 | properties: |
| 464 | - logrotate |
| 465 | |
| 466 | parameters: |
Fatih Degirmenci | a21f59a | 2019-07-30 21:14:41 +0200 | [diff] [blame] | 467 | - project-parameters: |
| 468 | project: '{project}' |
| 469 | branch: '{nordix-branch}' |
| 470 | - nordix-gerrit-parameters |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 471 | - onap-parameter-macro |
Fatih Degirmenci | ebfb38b | 2019-10-16 19:28:19 +0200 | [diff] [blame] | 472 | - label: |
| 473 | name: SLAVE_LABEL |
| 474 | default: 'xerces-jumphost-onap-ubuntu1804' |
| 475 | description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use' |
| 476 | - string: |
Fatih Degirmenci | 96a1974 | 2019-10-16 20:25:24 +0200 | [diff] [blame] | 477 | name: OPENSTACK_CLOUD_PROVIDER |
| 478 | default: 'city' |
| 479 | description: 'Name of the cloud where this job is run' |
| 480 | - string: |
Fatih Degirmenci | ebfb38b | 2019-10-16 19:28:19 +0200 | [diff] [blame] | 481 | name: DISTRO |
| 482 | default: 'ubuntu1804' |
| 483 | description: 'Distribution to use for configuring target nodes (networking etc.)' |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 484 | - string: |
Fatih Degirmenci | 9c661b6 | 2019-08-23 07:49:43 +0000 | [diff] [blame] | 485 | name: ONAP_FLAVOR |
| 486 | default: '{onap-flavor}' |
| 487 | description: 'ONAP flavor to deploy - could be core, small, medium, full. Also used for xtesting as run_type.' |
| 488 | - string: |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 489 | name: ONAP_VERSION |
| 490 | default: '{onap-version}' |
| 491 | description: 'ONAP version to deploy' |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 492 | - string: |
Fatih Degirmenci | 6c7ccc3 | 2019-10-16 19:50:06 +0200 | [diff] [blame] | 493 | name: HEAT_ENVIRONMENT_FILENAME |
| 494 | default: "heat-environment-full.yaml" |
| 495 | description: 'Type of the deployment' |
| 496 | - string: |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 497 | name: HEAT_ENVIRONMENT_FILE |
Fatih Degirmenci | 6c7ccc3 | 2019-10-16 19:50:06 +0200 | [diff] [blame] | 498 | default: "file://$WORKSPACE/.cache/repos/swconfig/scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO/files/$HEAT_ENVIRONMENT_FILENAME" |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 499 | description: 'Type of the deployment' |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 500 | |
| 501 | wrappers: |
Fatih Degirmenci | a10efd1 | 2019-07-29 22:47:54 +0200 | [diff] [blame] | 502 | - mask-passwords |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 503 | - build-timeout: |
| 504 | timeout: '{build-timeout}' |
| 505 | - fix-workspace-permissions |
Fatih Degirmenci | e57cd6a | 2019-10-22 09:56:35 +0200 | [diff] [blame] | 506 | - credentials-binding: |
| 507 | - username-password-separated: |
| 508 | credential-id: 'nordix-cicd-arm-credentials' |
| 509 | username: NORDIX_ARM_USERNAME |
| 510 | password: NORDIX_ARM_TOKEN |
| 511 | - username-password-separated: |
| 512 | credential-id: 'nordix-cicd-harbor-credentials' |
| 513 | username: NORDIX_HARBOR_USERNAME |
| 514 | password: NORDIX_HARBOR_PASSWORD |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 515 | |
| 516 | scm: |
| 517 | - git-scm: |
| 518 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 519 | branch: '{nordix-branch}' |
| 520 | refspec: '' |
| 521 | wipe_workspace: true |
| 522 | clean_before: false |
| 523 | |
| 524 | builders: |
| 525 | - description-setter: |
Fatih Degirmenci | 96a1974 | 2019-10-16 20:25:24 +0200 | [diff] [blame] | 526 | description: $DEPLOY_SCENARIO | $ONAP_FLAVOR | $OPENSTACK_CLOUD_PROVIDER |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 527 | - '{onap-other-phases}-macro' |
| 528 | |
| 529 | - job-template: |
Fatih Degirmenci | da8abf7 | 2019-08-23 17:18:25 +0000 | [diff] [blame] | 530 | name: '{onap-healthcheck-phases}-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}' |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 531 | |
| 532 | disabled: false |
| 533 | |
| 534 | concurrent: true |
| 535 | |
| 536 | properties: |
| 537 | - logrotate |
| 538 | |
| 539 | parameters: |
Fatih Degirmenci | a21f59a | 2019-07-30 21:14:41 +0200 | [diff] [blame] | 540 | - project-parameters: |
| 541 | project: '{project}' |
| 542 | branch: '{nordix-branch}' |
| 543 | - nordix-gerrit-parameters |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 544 | - onap-parameter-macro |
Fatih Degirmenci | ebfb38b | 2019-10-16 19:28:19 +0200 | [diff] [blame] | 545 | - label: |
| 546 | name: SLAVE_LABEL |
| 547 | default: 'xerces-jumphost-onap-ubuntu1804' |
| 548 | description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use' |
| 549 | - string: |
Fatih Degirmenci | 96a1974 | 2019-10-16 20:25:24 +0200 | [diff] [blame] | 550 | name: OPENSTACK_CLOUD_PROVIDER |
| 551 | default: 'city' |
| 552 | description: 'Name of the cloud where this job is run' |
| 553 | - string: |
Fatih Degirmenci | ebfb38b | 2019-10-16 19:28:19 +0200 | [diff] [blame] | 554 | name: DISTRO |
| 555 | default: 'ubuntu1804' |
| 556 | description: 'Distribution to use for configuring target nodes (networking etc.)' |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 557 | - string: |
| 558 | name: ONAP_VERSION |
| 559 | default: '{onap-version}' |
| 560 | description: 'ONAP version to deploy' |
| 561 | - string: |
Fatih Degirmenci | 6c7ccc3 | 2019-10-16 19:50:06 +0200 | [diff] [blame] | 562 | name: HEAT_ENVIRONMENT_FILENAME |
| 563 | default: "heat-environment-full.yaml" |
| 564 | description: 'Type of the deployment' |
| 565 | - string: |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 566 | name: HEAT_ENVIRONMENT_FILE |
Fatih Degirmenci | 6c7ccc3 | 2019-10-16 19:50:06 +0200 | [diff] [blame] | 567 | default: "file://$WORKSPACE/.cache/repos/swconfig/scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO/files/$HEAT_ENVIRONMENT_FILENAME" |
Fatih Degirmenci | 76c4bd9 | 2019-10-15 19:42:20 +0200 | [diff] [blame] | 568 | description: 'Type of the deployment' |
| 569 | - string: |
Fatih Degirmenci | aca27a6 | 2019-07-30 21:10:32 +0200 | [diff] [blame] | 570 | name: ENGINE_VERSION |
| 571 | default: '{engine-version}' |
| 572 | description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Could be sha, branch' |
| 573 | - string: |
| 574 | name: ENGINE_REFSPEC |
| 575 | default: '{engine-refspec}' |
| 576 | description: 'Development purposes only! Nordix Cloud Infra Engine version to use for deploying ONAP. Must be refspec.' |
| 577 | - string: |
| 578 | name: DEPLOY_SCENARIO_VERSION |
| 579 | default: '{deploy-scenario-version}' |
| 580 | description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_REFSPEC and could be sha, branch.' |
| 581 | - string: |
| 582 | name: DEPLOY_SCENARIO_REFSPEC |
| 583 | default: '{deploy-scenario-refspec}' |
| 584 | 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] | 585 | - string: |
| 586 | name: POD_NAME |
| 587 | default: '{pod-name}' |
| 588 | 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] | 589 | |
| 590 | wrappers: |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 591 | - mask-passwords |
| 592 | - build-timeout: |
| 593 | timeout: '{build-timeout}' |
| 594 | - fix-workspace-permissions |
| 595 | |
| 596 | scm: |
| 597 | - git-scm: |
| 598 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 599 | branch: '{nordix-branch}' |
| 600 | refspec: '' |
| 601 | wipe_workspace: true |
| 602 | clean_before: false |
| 603 | |
| 604 | builders: |
| 605 | - description-setter: |
Fatih Degirmenci | 96a1974 | 2019-10-16 20:25:24 +0200 | [diff] [blame] | 606 | description: $DEPLOY_SCENARIO | $ONAP_FLAVOR | $OPENSTACK_CLOUD_PROVIDER |
Fatih Degirmenci | d6f228b | 2019-07-30 20:53:46 +0200 | [diff] [blame] | 607 | - 'onap-healthcheck-macro' |
Fatih Degirmenci | aadea7b | 2019-07-29 21:19:42 +0200 | [diff] [blame] | 608 | |
| 609 | # vim: set ts=2 sw=2 expandtab: |