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