Sergey Galkin | b9cdb64 | 2020-01-16 14:01:40 +0400 | [diff] [blame] | 1 | - job-template: |
| 2 | project-type: pipeline |
| 3 | description: '{job-description}' |
| 4 | concurrent: true |
| 5 | disabled: false |
| 6 | name: heat-bm-cicd-pike-contrail-sl |
| 7 | parameters: |
| 8 | - string: |
| 9 | default: heat-bm-cicd-pike-contrail-sl |
| 10 | description: '' |
| 11 | name: LAB_CONFIG_NAME |
| 12 | trim: 'false' |
| 13 | - string: |
| 14 | default: core,kvm,cicd |
| 15 | description: Comma-separated list of stacks to deploy the drivetrain (salt |
| 16 | cluster and cicd nodes) |
| 17 | name: DRIVETRAIN_STACK_INSTALL |
| 18 | trim: 'false' |
| 19 | - string: |
| 20 | default: '24000' |
| 21 | description: '' |
| 22 | name: DRIVETRAIN_STACK_INSTALL_TIMEOUT |
| 23 | trim: 'false' |
| 24 | - string: |
| 25 | default: openstack,contrail,ceph,stacklight |
| 26 | description: Comma-separated list of stacks to deploy the target platform |
| 27 | (openstack and additional components) |
| 28 | name: PLATFORM_STACK_INSTALL |
| 29 | trim: 'false' |
| 30 | - string: |
| 31 | default: '26000' |
| 32 | description: |- |
| 33 | 26000 - Default for enabled encryption; |
| 34 | 12000 - without |
| 35 | name: PLATFORM_STACK_INSTALL_TIMEOUT |
| 36 | trim: 'false' |
| 37 | - string: |
| 38 | default: 2019.2.0 |
| 39 | description: '' |
| 40 | name: MCP_VERSION |
| 41 | trim: 'false' |
| 42 | - string: |
| 43 | default: sre-team-infra |
| 44 | description: '' |
| 45 | name: NODE_NAME |
| 46 | trim: 'false' |
| 47 | - string: |
Hanna Arhipova | c2965a4 | 2020-01-21 12:27:33 +0200 | [diff] [blame] | 48 | default: /home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2 |
Sergey Galkin | b9cdb64 | 2020-01-16 14:01:40 +0400 | [diff] [blame] | 49 | description: '' |
| 50 | name: MCP_IMAGE_PATH1604 |
| 51 | trim: 'false' |
| 52 | - string: |
| 53 | default: /home/jenkins/images/cfg01-day01.qcow2 |
| 54 | description: '' |
| 55 | name: IMAGE_PATH_CFG01_DAY01 |
| 56 | trim: 'false' |
| 57 | - string: |
| 58 | default: cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso |
| 59 | description: ISO name that will be generated and downloaded to the /home/jenkins/images/ |
| 60 | name: CFG01_CONFIG_IMAGE_NAME |
| 61 | trim: 'false' |
| 62 | - string: |
| 63 | default: heat-bm-cicd-pike-contrail-sl |
| 64 | description: '' |
| 65 | name: ENV_NAME |
| 66 | trim: 'false' |
| 67 | - string: |
| 68 | default: '' |
| 69 | description: |- |
| 70 | Example: refs/changes/89/411189/36 |
| 71 | (for now - only one reference allowed) |
| 72 | name: TCP_QA_REFS |
| 73 | trim: 'false' |
| 74 | - string: |
| 75 | default: refs/heads/release/proposed/2019.2.0 |
| 76 | description: reference to patchset in pipeline-library |
| 77 | name: PIPELINE_LIBRARY_REF |
| 78 | trim: 'false' |
| 79 | - string: |
| 80 | default: refs/heads/release/proposed/2019.2.0 |
| 81 | description: reference to patchset in mk-pipelines |
| 82 | name: MK_PIPELINES_REF |
| 83 | trim: 'false' |
| 84 | - string: |
| 85 | default: release/proposed/2019.2.0 |
| 86 | description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} |
| 87 | value |
| 88 | name: COOKIECUTTER_TEMPLATE_COMMIT |
| 89 | trim: 'false' |
| 90 | - string: |
| 91 | default: release/proposed/2019.2.0 |
| 92 | description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} |
| 93 | value |
| 94 | name: SALT_MODELS_SYSTEM_COMMIT |
| 95 | trim: 'false' |
| 96 | - string: |
| 97 | default: -m "run_cvp_func_sanity|run_tempest|run_stacklight" |
| 98 | description: |- |
| 99 | Pytest option -k or -m, with expression to select necessary tests. |
| 100 | Additional pytest options are allowed. |
| 101 | name: RUN_TEST_OPTS |
| 102 | trim: 'false' |
| 103 | - bool: |
| 104 | default: true |
| 105 | description: '' |
| 106 | name: SHUTDOWN_ENV_ON_TEARDOWN |
| 107 | - string: |
| 108 | default: '' |
| 109 | description: '' |
| 110 | name: COOKIECUTTER_REF_CHANGE |
| 111 | trim: 'false' |
| 112 | - string: |
| 113 | default: '' |
| 114 | description: '' |
| 115 | name: ENVIRONMENT_TEMPLATE_REF_CHANGE |
| 116 | trim: 'false' |
| 117 | - string: |
| 118 | default: '[MCP1.1_PIKE]Tempest' |
| 119 | description: '' |
| 120 | name: TEMPEST_TEST_SUITE_NAME |
| 121 | trim: 'false' |
| 122 | - string: |
| 123 | default: pike |
| 124 | description: '' |
| 125 | name: TEMPEST_IMAGE_VERSION |
| 126 | trim: 'false' |
| 127 | - string: |
| 128 | default: '' |
| 129 | description: '' |
| 130 | name: TEMPEST_TARGET |
| 131 | trim: 'false' |
| 132 | - string: |
| 133 | default: proposed |
| 134 | description: '' |
| 135 | name: UPDATE_REPO_CUSTOM_TAG |
| 136 | trim: 'false' |
| 137 | - bool: |
| 138 | default: true |
| 139 | description: If set, reports will be created in TestRail for this build |
| 140 | name: REPORT_TO_TESTRAIL |
| 141 | - choice: |
| 142 | choices: |
| 143 | - heat |
| 144 | - devops |
| 145 | description: '' |
| 146 | name: ENV_MANAGER |
| 147 | - string: |
| 148 | default: https://ic-eu.ssl.mirantis.net:5000/v3 |
| 149 | description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3' |
| 150 | name: OS_AUTH_URL |
| 151 | trim: 'false' |
| 152 | - string: |
| 153 | default: sre-team |
| 154 | description: OpenStack project (tenant) name |
| 155 | name: OS_PROJECT_NAME |
| 156 | trim: 'false' |
| 157 | - string: |
| 158 | default: default |
| 159 | description: OpenStack user domain name |
| 160 | name: OS_USER_DOMAIN_NAME |
| 161 | trim: 'false' |
| 162 | - string: |
| 163 | default: sre-qa-ci-eu |
| 164 | description: Jenkins credentials ID with username and password to create a |
| 165 | heat stack in OpenStack |
| 166 | name: OS_CREDENTIALS |
| 167 | trim: 'false' |
| 168 | - string: |
| 169 | default: eu-cloud.env |
| 170 | description: |- |
| 171 | Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/ |
| 172 | , for example: microcloud-8116.env |
| 173 | name: LAB_PARAM_DEFAULTS |
| 174 | trim: 'false' |
| 175 | - string: |
| 176 | default: release/proposed/2019.2.0 |
| 177 | description: '' |
| 178 | name: JENKINS_PIPELINE_BRANCH |
| 179 | trim: 'false' |
| 180 | - string: |
| 181 | default: refs/heads/release/proposed/2019.2.0 |
| 182 | description: '' |
| 183 | name: MCP_COMMON_SCRIPTS_REFS |
| 184 | trim: 'false' |
| 185 | - string: |
| 186 | default: proposed |
| 187 | description: '' |
| 188 | name: UPDATE_VERSION |
| 189 | trim: 'false' |
| 190 | - password: |
| 191 | name: IPMI_USER |
| 192 | default: 'engineer' |
| 193 | - password: |
| 194 | name: IPMI_PASS |
| 195 | default: 'KBwdcRqwed3w2' |
| 196 | - string: |
| 197 | default: '' |
| 198 | description: '' |
| 199 | name: TEMPEST_EXTRA_ARGS |
| 200 | trim: 'false' |
| 201 | - bool: |
| 202 | default: true |
| 203 | description: '' |
| 204 | name: SKIP_SYNC_TIME |
| 205 | - string: |
| 206 | default: ^heat_tempest_plugin.tests*|^tempest.api.image*|^tempest_horizon*|^tempest.api.identity*|^tempest.api.network*|^tempest.api.compute*|^tempest.api.volume*|^tempest.scenario*|^tempest.api.object_storage* |
| 207 | description: Exclude tungsten tests by default |
| 208 | name: TEMPEST_PATTERN |
| 209 | trim: 'false' |
| 210 | - string: |
| 211 | default: '' |
| 212 | description: Comma separated list of additional stacks to delete |
| 213 | name: ADDITIONAL_STACKS |
| 214 | trim: 'false' |
| 215 | - string: |
| 216 | default: '' |
| 217 | description: '' |
| 218 | name: BATCH_SIZE |
| 219 | trim: 'false' |
Dmitriy Kruglov | 758f99c | 2020-02-04 12:04:31 +0100 | [diff] [blame^] | 220 | - bool: |
| 221 | default: false |
| 222 | description: Whether to perform dist-upgrade on virtual nodes during deployment |
| 223 | name: DIST_UPGRADE_NODES |
Sergey Galkin | b9cdb64 | 2020-01-16 14:01:40 +0400 | [diff] [blame] | 224 | pipeline-scm: |
| 225 | lightweight-checkout: false |
| 226 | scm: |
| 227 | - git: |
| 228 | branches: |
| 229 | - FETCH_HEAD |
| 230 | refspec: ${{TCP_QA_REFS}} |
| 231 | url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa |
| 232 | script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy |