Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [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 | |
Fatih Degirmenci | d7f06a8 | 2019-03-23 12:54:45 +0100 | [diff] [blame] | 21 | #-------------------------------------------------------------------------------------- |
| 22 | # The jobs declared in this JJB configuration file are used for verifying patches |
| 23 | # that are sent to the repositories below |
| 24 | # - cloud-infra/engine |
| 25 | # |
| 26 | # These jobs verify changes that |
| 27 | # - implement new features or fix bugs for the deployment framework, engine, itself |
| 28 | # - implement new features or fix bugs to the playbooks and roles used for utilizing |
| 29 | # open source components such as bifrost, kubespray, and kolla-ansible |
| 30 | # - bump versions of open source components or the scenarios |
| 31 | # |
| 32 | # These jobs are set to run on slaves with label vpod-deploy-ubuntu1604. |
| 33 | # The slaves have |
| 34 | # - Ubuntu1604 as the base distro |
| 35 | # - nested virtualization |
| 36 | # - internet access |
| 37 | # - passwordless sudo |
| 38 | # - 16 CPUs/32GB RAM/200 GB Disk |
| 39 | # - docker, git vim curl wget zip unzip chrony apt-transport-https ca-certificates curl |
| 40 | # gnupg-agent software-properties-common docker-ce docker-ce-cli containerd.io openjdk-8-jre |
| 41 | # |
| 42 | # The slaves should not have a cloud infra scenario deployed on them. |
| 43 | #-------------------------------------------------------------------------------------- |
| 44 | |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 45 | - project: |
Fatih Degirmenci | d7f06a8 | 2019-03-23 12:54:45 +0100 | [diff] [blame] | 46 | name: 'cloud-infra-verify-engine' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 47 | |
Fatih Degirmenci | 1cea3ec | 2019-02-08 12:10:48 +0100 | [diff] [blame] | 48 | project: 'infra/engine' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 49 | |
| 50 | stream: |
| 51 | - 'master': |
| 52 | branch: '{stream}' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 53 | |
Fatih Degirmenci | cde0f9d | 2019-05-09 12:50:05 +0200 | [diff] [blame] | 54 | distro: |
Fatih Degirmenci | a71174c | 2019-02-28 10:19:43 +0100 | [diff] [blame] | 55 | - ubuntu1804: |
Fatih Degirmenci | cde0f9d | 2019-05-09 12:50:05 +0200 | [diff] [blame] | 56 | disabled: false |
Fatih Degirmenci | a71174c | 2019-02-28 10:19:43 +0100 | [diff] [blame] | 57 | - centos7: |
Fatih Degirmenci | f6d92e9 | 2019-06-25 11:14:22 +0200 | [diff] [blame] | 58 | disabled: true |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 59 | cloud: |
| 60 | - city: |
Fatih Degirmenci | fabd40b | 2019-12-17 14:38:11 +0100 | [diff] [blame^] | 61 | openrc-credentials-file: 'est-jenkins-openrcfile-city-karlskrona-onap' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 62 | |
| 63 | type: |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 64 | - virtual: |
| 65 | provisioner-type: 'bifrost' |
Fatih Degirmenci | 8f98095 | 2019-10-17 14:56:04 +0200 | [diff] [blame] | 66 | slave-type: 'vpod' |
Fatih Degirmenci | 21b1a83 | 2019-12-17 10:24:57 +0100 | [diff] [blame] | 67 | successful: false |
| 68 | failed: false |
| 69 | unstable: false |
| 70 | notbuilt: false |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 71 | - cloud: |
| 72 | provisioner-type: 'heat' |
Fatih Degirmenci | 8f98095 | 2019-10-17 14:56:04 +0200 | [diff] [blame] | 73 | slave-type: 'jumphost' |
Fatih Degirmenci | 21b1a83 | 2019-12-17 10:24:57 +0100 | [diff] [blame] | 74 | successful: true |
| 75 | failed: true |
| 76 | unstable: true |
| 77 | notbuilt: true |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 78 | |
| 79 | phase: |
Fatih Degirmenci | e820eb1 | 2019-07-27 20:18:14 +0200 | [diff] [blame] | 80 | - deploy: |
| 81 | build-timeout: 90 |
| 82 | - functest: |
Sriram Yagnaraman | 55d5b81 | 2019-10-22 11:55:25 +0200 | [diff] [blame] | 83 | build-timeout: 60 |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 84 | |
| 85 | jobs: |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 86 | - 'cloud-infra-verify-engine-{distro}-{cloud}-{type}-{stream}' |
Fatih Degirmenci | cde0f9d | 2019-05-09 12:50:05 +0200 | [diff] [blame] | 87 | - 'cloud-infra-verify-engine-{distro}-{phase}-{type}-{stream}' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 88 | |
| 89 | - job-template: |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 90 | name: 'cloud-infra-verify-engine-{distro}-{cloud}-{type}-{stream}' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 91 | |
| 92 | project-type: multijob |
| 93 | |
| 94 | disabled: '{obj:disabled}' |
| 95 | |
| 96 | concurrent: true |
| 97 | |
| 98 | parameters: |
| 99 | - project-parameters: |
| 100 | project: '{project}' |
| 101 | branch: '{branch}' |
| 102 | - nordix-gerrit-parameters |
Fatih Degirmenci | c83c527 | 2019-02-26 14:52:07 +0100 | [diff] [blame] | 103 | - label: |
| 104 | name: SLAVE_LABEL |
Fatih Degirmenci | 8f98095 | 2019-10-17 14:56:04 +0200 | [diff] [blame] | 105 | default: '{cloud}-{slave-type}-{distro}' |
Fatih Degirmenci | 9ff8c25 | 2019-03-01 15:45:57 +0100 | [diff] [blame] | 106 | description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 107 | - string: |
Fatih Degirmenci | cde0f9d | 2019-05-09 12:50:05 +0200 | [diff] [blame] | 108 | name: DISTRO |
| 109 | default: '{distro}' |
Fatih Degirmenci | 9ff8c25 | 2019-03-01 15:45:57 +0100 | [diff] [blame] | 110 | description: 'Distribution to use for configuring target nodes (networking etc.)' |
| 111 | - string: |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 112 | name: PROVISIONER_TYPE |
| 113 | default: '{provisioner-type}' |
| 114 | description: 'Provisioner type to use' |
| 115 | - string: |
Fatih Degirmenci | aaf9584 | 2019-04-23 17:54:19 +0200 | [diff] [blame] | 116 | name: DEPLOY_TYPE |
| 117 | default: '{type}' |
| 118 | description: 'Type of the deployment' |
| 119 | - string: |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 120 | name: HEAT_ENVIRONMENT_FILENAME |
| 121 | default: 'heat-environment-{cloud}-{distro}.yaml' |
| 122 | description: 'Name of heat-environment file to use.' |
| 123 | - string: |
| 124 | name: STACK_NAME |
| 125 | default: "nordix-cicd-verify-engine-{distro}-$BUILD_NUMBER" |
| 126 | description: 'Name of the created stack' |
| 127 | - string: |
Fatih Degirmenci | ecbb1ff | 2019-12-15 15:30:56 +0100 | [diff] [blame] | 128 | name: KEYPAIR_NAME |
| 129 | default: "keypair-nordix-cicd-verify-engine-{distro}-$BUILD_NUMBER" |
| 130 | description: 'Name of the created keypair' |
| 131 | - string: |
Fatih Degirmenci | a5099eb | 2019-03-21 11:25:55 +0100 | [diff] [blame] | 132 | name: USE_PREBUILT_DEPLOYMENT_IMAGE |
| 133 | default: 'true' |
| 134 | description: 'Use prebuilt deployment image while running as part of CI/CD' |
| 135 | - string: |
Fatih Degirmenci | 429341c | 2019-04-03 11:18:28 -0700 | [diff] [blame] | 136 | name: TEST_SUITE |
| 137 | default: 'healthcheck' |
| 138 | description: 'Test suite to run' |
| 139 | - string: |
Fatih Degirmenci | 99f4fb0 | 2019-05-08 11:40:27 +0200 | [diff] [blame] | 140 | name: YARDSTICK_DISPATCHER |
| 141 | default: 'file' |
| 142 | description: 'Dispatcher to use for Yardstick reporting' |
| 143 | - string: |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 144 | name: DELETE_STACK |
| 145 | default: 'yes' |
| 146 | description: 'Delete the stack upon completion of the build' |
| 147 | - string: |
Fatih Degirmenci | e8bc455 | 2019-02-15 16:20:23 +0100 | [diff] [blame] | 148 | name: CLEANUP |
| 149 | default: 'true' |
Fatih Degirmenci | 9ff8c25 | 2019-03-01 15:45:57 +0100 | [diff] [blame] | 150 | description: 'Cleanup leftovers of the previous run' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 151 | |
| 152 | properties: |
| 153 | - logrotate |
| 154 | - build-blocker: |
| 155 | use-build-blocker: true |
| 156 | blocking-jobs: |
Fatih Degirmenci | 175d55d | 2019-05-09 15:21:22 +0200 | [diff] [blame] | 157 | - 'cloud-infra-verify-engine-.*' |
| 158 | - 'cloud-infra-verify-scenario-.*' |
| 159 | - 'cloud-infra-periodic-engine-.*' |
| 160 | - 'k8-.*' |
Fatih Degirmenci | e921738 | 2019-10-01 16:41:46 +0200 | [diff] [blame] | 161 | - 'nolabs-.*' |
Fatih Degirmenci | 885498a | 2019-02-26 11:02:36 +0100 | [diff] [blame] | 162 | block-level: 'NODE' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 163 | - throttle: |
| 164 | max-per-node: 1 |
Fatih Degirmenci | 885498a | 2019-02-26 11:02:36 +0100 | [diff] [blame] | 165 | max-total: 3 |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 166 | option: project |
| 167 | |
| 168 | wrappers: |
Fatih Degirmenci | 3fd05cd | 2019-08-28 09:05:15 +0000 | [diff] [blame] | 169 | - credentials-binding: |
| 170 | - file: |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 171 | credential-id: '{openrc-credentials-file}' |
Fatih Degirmenci | 3fd05cd | 2019-08-28 09:05:15 +0000 | [diff] [blame] | 172 | variable: OPENRC_FILE |
| 173 | - mask-passwords |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 174 | - build-timeout: |
Vamsi Savaram | c74282a | 2019-11-14 18:20:46 +0000 | [diff] [blame] | 175 | timeout: 150 |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 176 | - fix-workspace-permissions |
Fatih Degirmenci | 20aedd6 | 2019-07-19 15:52:21 +0200 | [diff] [blame] | 177 | - openstack: |
| 178 | single-use: True |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 179 | |
| 180 | scm: |
| 181 | - git-scm-gerrit: |
| 182 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 183 | branch: '{branch}' |
| 184 | refspec: $GERRIT_REFSPEC |
robert.tomczyk | 7e50787 | 2019-06-18 17:20:26 +0100 | [diff] [blame] | 185 | wipe_workspace: true |
| 186 | clean_before: false |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 187 | |
| 188 | triggers: |
Fatih Degirmenci | d888b0b | 2019-05-22 11:04:34 +0200 | [diff] [blame] | 189 | - gerrit: |
| 190 | server-name: 'Nordix Gerrit' |
| 191 | trigger-on: |
| 192 | - patchset-created-event: |
| 193 | exclude-drafts: 'false' |
| 194 | exclude-trivial-rebase: 'false' |
| 195 | exclude-no-code-change: 'false' |
| 196 | - draft-published-event |
| 197 | - comment-added-contains-event: |
| 198 | comment-contains-value: 'recheck' |
| 199 | - comment-added-contains-event: |
| 200 | comment-contains-value: 'reverify' |
| 201 | projects: |
| 202 | - project-compare-type: 'REG_EXP' |
| 203 | project-pattern: 'infra\/engine' |
| 204 | branches: |
| 205 | - branch-compare-type: 'ANT' |
| 206 | branch-pattern: '**/{branch}' |
| 207 | file-paths: |
| 208 | - compare-type: 'ANT' |
| 209 | pattern: '**' |
Fatih Degirmenci | cde0f9d | 2019-05-09 12:50:05 +0200 | [diff] [blame] | 210 | skip-vote: |
| 211 | successful: '{obj:successful}' |
| 212 | failed: '{obj:failed}' |
| 213 | unstable: '{obj:unstable}' |
| 214 | notbuilt: '{obj:notbuilt}' |
Fatih Degirmenci | d888b0b | 2019-05-22 11:04:34 +0200 | [diff] [blame] | 215 | custom-url: '* $JOB_NAME $BUILD_URL' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 216 | |
| 217 | builders: |
Fatih Degirmenci | 3fd05cd | 2019-08-28 09:05:15 +0000 | [diff] [blame] | 218 | - shell: | |
| 219 | #!/bin/bash |
Fatih Degirmenci | 3131a53 | 2019-11-29 06:41:44 +0000 | [diff] [blame] | 220 | cp $OPENRC_FILE /tmp/openrc |
Fatih Degirmenci | ed6187c | 2019-05-08 08:56:52 +0200 | [diff] [blame] | 221 | - 'cloud-infra-determine-scenario-macro' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 222 | - multijob: |
| 223 | name: deploy |
| 224 | condition: SUCCESSFUL |
| 225 | projects: |
Fatih Degirmenci | cde0f9d | 2019-05-09 12:50:05 +0200 | [diff] [blame] | 226 | - name: 'cloud-infra-verify-engine-{distro}-deploy-{type}-{stream}' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 227 | current-parameters: true |
| 228 | predefined-parameters: | |
Fatih Degirmenci | cde0f9d | 2019-05-09 12:50:05 +0200 | [diff] [blame] | 229 | DISTRO=$DISTRO |
Fatih Degirmenci | aaf9584 | 2019-04-23 17:54:19 +0200 | [diff] [blame] | 230 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 231 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
| 232 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | ecbb1ff | 2019-12-15 15:30:56 +0100 | [diff] [blame] | 233 | KEYPAIR_NAME=$KEYPAIR_NAME |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 234 | HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME |
Fatih Degirmenci | a5099eb | 2019-03-21 11:25:55 +0100 | [diff] [blame] | 235 | USE_PREBUILT_DEPLOYMENT_IMAGE=$USE_PREBUILT_DEPLOYMENT_IMAGE |
Fatih Degirmenci | e8bc455 | 2019-02-15 16:20:23 +0100 | [diff] [blame] | 236 | CLEANUP=$CLEANUP |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 237 | GERRIT_PROJECT=$GERRIT_PROJECT |
| 238 | GERRIT_BRANCH=$GERRIT_BRANCH |
| 239 | GERRIT_REFSPEC=$GERRIT_REFSPEC |
| 240 | GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER |
| 241 | GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE |
| 242 | node-parameters: true |
| 243 | kill-phase-on: FAILURE |
| 244 | abort-all-job: true |
| 245 | - multijob: |
Fatih Degirmenci | 429341c | 2019-04-03 11:18:28 -0700 | [diff] [blame] | 246 | name: functest |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 247 | condition: SUCCESSFUL |
| 248 | projects: |
Fatih Degirmenci | cde0f9d | 2019-05-09 12:50:05 +0200 | [diff] [blame] | 249 | - name: 'cloud-infra-verify-engine-{distro}-functest-{type}-{stream}' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 250 | current-parameters: true |
| 251 | predefined-parameters: | |
Fatih Degirmenci | cde0f9d | 2019-05-09 12:50:05 +0200 | [diff] [blame] | 252 | DISTRO=$DISTRO |
Fatih Degirmenci | aaf9584 | 2019-04-23 17:54:19 +0200 | [diff] [blame] | 253 | DEPLOY_TYPE=$DEPLOY_TYPE |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 254 | PROVISIONER_TYPE=$PROVISIONER_TYPE |
| 255 | STACK_NAME=$STACK_NAME |
Fatih Degirmenci | ecbb1ff | 2019-12-15 15:30:56 +0100 | [diff] [blame] | 256 | KEYPAIR_NAME=$KEYPAIR_NAME |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 257 | HEAT_ENVIRONMENT_FILENAME=$HEAT_ENVIRONMENT_FILENAME |
Fatih Degirmenci | a5099eb | 2019-03-21 11:25:55 +0100 | [diff] [blame] | 258 | USE_PREBUILT_DEPLOYMENT_IMAGE=$USE_PREBUILT_DEPLOYMENT_IMAGE |
Fatih Degirmenci | 429341c | 2019-04-03 11:18:28 -0700 | [diff] [blame] | 259 | TEST_SUITE=$TEST_SUITE |
Fatih Degirmenci | 99f4fb0 | 2019-05-08 11:40:27 +0200 | [diff] [blame] | 260 | YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER |
Fatih Degirmenci | e8bc455 | 2019-02-15 16:20:23 +0100 | [diff] [blame] | 261 | CLEANUP=$CLEANUP |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 262 | GERRIT_PROJECT=$GERRIT_PROJECT |
| 263 | GERRIT_BRANCH=$GERRIT_BRANCH |
| 264 | GERRIT_REFSPEC=$GERRIT_REFSPEC |
| 265 | GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER |
| 266 | GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE |
| 267 | node-parameters: true |
Fatih Degirmenci | 429341c | 2019-04-03 11:18:28 -0700 | [diff] [blame] | 268 | kill-phase-on: FAILURE |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 269 | abort-all-job: true |
| 270 | |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 271 | publishers: |
| 272 | - postbuildscript: |
| 273 | builders: |
| 274 | - role: SLAVE |
| 275 | build-on: |
| 276 | - SUCCESS |
| 277 | - FAILURE |
| 278 | - ABORTED |
| 279 | - NOT_BUILT |
| 280 | - UNSTABLE |
| 281 | build-steps: |
| 282 | - shell: |
| 283 | !include-raw-escape: ./wait-for-pkg-manager.sh |
| 284 | - shell: |
| 285 | !include-raw: ./delete-heat-stack.sh |
| 286 | |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 287 | - job-template: |
Fatih Degirmenci | cde0f9d | 2019-05-09 12:50:05 +0200 | [diff] [blame] | 288 | name: 'cloud-infra-verify-engine-{distro}-{phase}-{type}-{stream}' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 289 | |
| 290 | disabled: false |
| 291 | |
| 292 | concurrent: true |
| 293 | |
| 294 | properties: |
| 295 | - logrotate |
| 296 | |
| 297 | parameters: |
| 298 | - string: |
| 299 | name: PROJECT |
| 300 | default: $GERRIT_PROJECT |
| 301 | - string: |
Fatih Degirmenci | cde0f9d | 2019-05-09 12:50:05 +0200 | [diff] [blame] | 302 | name: DISTRO |
| 303 | default: 'ubuntu1804' |
Fatih Degirmenci | 9ff8c25 | 2019-03-01 15:45:57 +0100 | [diff] [blame] | 304 | description: 'Distribution to use for configuring target nodes (networking etc.). Overriden by upstream job.' |
| 305 | - string: |
Fatih Degirmenci | aaf9584 | 2019-04-23 17:54:19 +0200 | [diff] [blame] | 306 | name: DEPLOY_TYPE |
| 307 | default: 'virtual' |
| 308 | description: 'Type of the deployment. Overriden by upstream job.' |
| 309 | - string: |
Fatih Degirmenci | 7835831 | 2019-10-17 11:20:59 +0200 | [diff] [blame] | 310 | name: PROVISIONER_TYPE |
| 311 | default: 'bifrost' |
| 312 | description: 'Provisioner type to use. Overriden by upstream job.' |
| 313 | - string: |
| 314 | name: HEAT_ENVIRONMENT_FILENAME |
| 315 | default: "heat-environment-city-ubuntu1804.yaml" |
| 316 | description: 'Name of heat-environment file to use.' |
| 317 | - string: |
| 318 | name: HEAT_ENVIRONMENT_FILE |
| 319 | default: "file://$WORKSPACE/engine/provisioner/heat/playbooks/roles/install-configure-heat/files/$HEAT_ENVIRONMENT_FILENAME" |
| 320 | description: 'Location of heat-environment file to use.' |
| 321 | - string: |
| 322 | name: STACK_NAME |
| 323 | default: "nordix-cicd-verify-engine-{distro}-$BUILD_NUMBER" |
| 324 | description: 'Name of the created stack' |
| 325 | - string: |
Fatih Degirmenci | a5099eb | 2019-03-21 11:25:55 +0100 | [diff] [blame] | 326 | name: USE_PREBUILT_DEPLOYMENT_IMAGE |
| 327 | default: 'false' |
| 328 | description: 'Use prebuilt deployment image while running as part of CI/CD' |
| 329 | - string: |
Fatih Degirmenci | 429341c | 2019-04-03 11:18:28 -0700 | [diff] [blame] | 330 | name: TEST_FW |
| 331 | default: '{phase}' |
| 332 | description: 'Test framework to use' |
| 333 | - string: |
| 334 | name: TEST_SUITE |
| 335 | default: 'healthcheck' |
| 336 | description: 'Test suite to run' |
| 337 | - string: |
Fatih Degirmenci | 9142936 | 2019-03-25 09:53:32 +0100 | [diff] [blame] | 338 | name: TEST_REPO_URL |
| 339 | default: 'https://gerrit.nordix.org/infra/test.git' |
| 340 | description: 'URL to Nordix Cloud Infra test repository' |
| 341 | - string: |
Fatih Degirmenci | 99f4fb0 | 2019-05-08 11:40:27 +0200 | [diff] [blame] | 342 | name: YARDSTICK_DISPATCHER |
| 343 | default: 'file' |
| 344 | description: 'Dispatcher to use for Yardstick reporting' |
| 345 | - string: |
Fatih Degirmenci | e8bc455 | 2019-02-15 16:20:23 +0100 | [diff] [blame] | 346 | name: CLEANUP |
| 347 | default: 'false' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 348 | |
| 349 | wrappers: |
Fatih Degirmenci | 3fd05cd | 2019-08-28 09:05:15 +0000 | [diff] [blame] | 350 | - mask-passwords |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 351 | - build-timeout: |
Fatih Degirmenci | e820eb1 | 2019-07-27 20:18:14 +0200 | [diff] [blame] | 352 | timeout: '{build-timeout}' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 353 | - fix-workspace-permissions |
| 354 | |
| 355 | scm: |
| 356 | - git-scm-gerrit: |
| 357 | ssh-credentials-id: nordixinfra-nordix-gerrit-ssh |
| 358 | branch: '{branch}' |
| 359 | refspec: $GERRIT_REFSPEC |
robert.tomczyk | 7e50787 | 2019-06-18 17:20:26 +0100 | [diff] [blame] | 360 | wipe_workspace: true |
| 361 | clean_before: false |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 362 | |
| 363 | builders: |
Fatih Degirmenci | ed6187c | 2019-05-08 08:56:52 +0200 | [diff] [blame] | 364 | - 'cloud-infra-determine-scenario-macro' |
Fatih Degirmenci | 0c0e67a | 2019-04-09 08:39:51 +0200 | [diff] [blame] | 365 | - 'cloud-infra-{phase}-macro' |
Fatih Degirmenci | 6b4d285 | 2019-02-07 11:24:29 +0100 | [diff] [blame] | 366 | |
| 367 | # vim: set ts=2 sw=2 expandtab: |