Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 1 | - job-template: |
| 2 | project-type: pipeline |
| 3 | description: '{job-description}' |
| 4 | concurrent: true |
| 5 | disabled: false |
| 6 | name: released-heat-cicd-pike-dvr-sl |
| 7 | parameters: |
| 8 | - string: |
| 9 | default: released-heat-cicd-pike-dvr-sl |
| 10 | description: '' |
| 11 | name: LAB_CONFIG_NAME |
| 12 | trim: 'false' |
| 13 | - string: |
| 14 | default: core,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: '12000' |
| 21 | description: '' |
| 22 | name: DRIVETRAIN_STACK_INSTALL_TIMEOUT |
| 23 | trim: 'false' |
| 24 | - string: |
| 25 | default: openstack,ovs,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: '12000' |
| 32 | description: '' |
| 33 | name: PLATFORM_STACK_INSTALL_TIMEOUT |
| 34 | trim: 'false' |
| 35 | - string: |
Hanna Arhipova | b0bfccd | 2020-01-15 11:19:00 +0200 | [diff] [blame] | 36 | default: 2019.2.7 |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 37 | description: '' |
| 38 | name: MCP_VERSION |
| 39 | trim: 'false' |
| 40 | - string: |
Hanna Arhipova | c2965a4 | 2020-01-21 12:27:33 +0200 | [diff] [blame^] | 41 | default: sre-team-infra |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 42 | description: '' |
| 43 | name: NODE_NAME |
| 44 | trim: 'false' |
| 45 | - string: |
Hanna Arhipova | c2965a4 | 2020-01-21 12:27:33 +0200 | [diff] [blame^] | 46 | default: /home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2 |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 47 | description: '' |
| 48 | name: MCP_IMAGE_PATH1604 |
| 49 | trim: 'false' |
| 50 | - string: |
| 51 | default: /home/jenkins/images/cfg01-day01.qcow2 |
| 52 | description: '' |
| 53 | name: IMAGE_PATH_CFG01_DAY01 |
| 54 | trim: 'false' |
| 55 | - string: |
| 56 | default: cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso |
| 57 | description: ISO name that will be generated and downloaded to the /home/jenkins/images/ |
| 58 | name: CFG01_CONFIG_IMAGE_NAME |
| 59 | trim: 'false' |
| 60 | - string: |
| 61 | default: released-heat-cicd-pike-dvr-sl |
| 62 | description: '' |
| 63 | name: ENV_NAME |
| 64 | trim: 'false' |
| 65 | - string: |
| 66 | default: '' |
| 67 | description: |- |
| 68 | Example: refs/changes/89/411189/36 |
| 69 | (for now - only one reference allowed) |
| 70 | name: TCP_QA_REFS |
| 71 | trim: 'false' |
| 72 | - string: |
Hanna Arhipova | b0bfccd | 2020-01-15 11:19:00 +0200 | [diff] [blame] | 73 | default: refs/tags/2019.2.7 |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 74 | description: reference to patchset in pipeline-library |
| 75 | name: PIPELINE_LIBRARY_REF |
| 76 | trim: 'false' |
| 77 | - string: |
Hanna Arhipova | b0bfccd | 2020-01-15 11:19:00 +0200 | [diff] [blame] | 78 | default: refs/tags/2019.2.7 |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 79 | description: reference to patchset in mk-pipelines |
| 80 | name: MK_PIPELINES_REF |
| 81 | trim: 'false' |
| 82 | - string: |
Hanna Arhipova | b0bfccd | 2020-01-15 11:19:00 +0200 | [diff] [blame] | 83 | default: refs/tags/2019.2.7 |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 84 | description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} |
| 85 | value |
| 86 | name: COOKIECUTTER_TEMPLATE_COMMIT |
| 87 | trim: 'false' |
| 88 | - string: |
Hanna Arhipova | b0bfccd | 2020-01-15 11:19:00 +0200 | [diff] [blame] | 89 | default: refs/tags/2019.2.7 |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 90 | description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} |
| 91 | value |
| 92 | name: SALT_MODELS_SYSTEM_COMMIT |
| 93 | trim: 'false' |
Hanna Arhipova | b0bfccd | 2020-01-15 11:19:00 +0200 | [diff] [blame] | 94 | - text: |
| 95 | default: |- |
| 96 | --keep-duplicates --maxfail=2 |
| 97 | tcp_tests/tests/system/test_3rdparty_suites.py::Test3rdpartySuites::test_run_tempest |
| 98 | tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_func_sanity |
| 99 | tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight |
| 100 | |
| 101 | tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_drivetrain |
| 102 | tcp_tests/tests/system/test_mcp_update.py::TestOpenstackUpdate |
| 103 | tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_galera |
| 104 | tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_rabbit |
| 105 | tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_stacklight |
| 106 | tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_ceph |
| 107 | |
| 108 | tcp_tests/tests/system/test_3rdparty_suites.py::Test3rdpartySuites::test_run_tempest |
| 109 | tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_func_sanity |
| 110 | tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight |
| 111 | |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 112 | description: |- |
| 113 | Pytest option -k or -m, with expression to select necessary tests. |
| 114 | Additional pytest options are allowed. |
Hanna Arhipova | b0bfccd | 2020-01-15 11:19:00 +0200 | [diff] [blame] | 115 | Procedure according to https://docs.mirantis.com/mcp/q4-18/mcp-release-notes/mu/mu-7/mu-7-apply-updates.html |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 116 | name: RUN_TEST_OPTS |
| 117 | trim: 'false' |
| 118 | - bool: |
| 119 | default: true |
| 120 | description: '' |
| 121 | name: SHUTDOWN_ENV_ON_TEARDOWN |
| 122 | - string: |
| 123 | default: '' |
| 124 | description: '' |
| 125 | name: COOKIECUTTER_REF_CHANGE |
| 126 | trim: 'false' |
| 127 | - string: |
| 128 | default: '' |
| 129 | description: '' |
| 130 | name: ENVIRONMENT_TEMPLATE_REF_CHANGE |
| 131 | trim: 'false' |
| 132 | - string: |
| 133 | default: '[MCP1.1_PIKE]Tempest' |
| 134 | description: '' |
| 135 | name: TEMPEST_TEST_SUITE_NAME |
| 136 | trim: 'false' |
| 137 | - string: |
| 138 | default: pike |
| 139 | description: '' |
| 140 | name: TEMPEST_IMAGE_VERSION |
| 141 | trim: 'false' |
| 142 | - string: |
| 143 | default: '' |
| 144 | description: '' |
| 145 | name: TEMPEST_TARGET |
| 146 | trim: 'false' |
| 147 | - string: |
| 148 | default: '' |
| 149 | description: '' |
| 150 | name: UPDATE_REPO_CUSTOM_TAG |
| 151 | trim: 'false' |
| 152 | - bool: |
| 153 | default: true |
| 154 | description: If set, reports will be created in TestRail for this build |
| 155 | name: REPORT_TO_TESTRAIL |
| 156 | - choice: |
| 157 | choices: |
| 158 | - heat |
| 159 | - devops |
| 160 | description: '' |
| 161 | name: ENV_MANAGER |
| 162 | - string: |
| 163 | default: https://ic-eu.ssl.mirantis.net:5000/v3 |
| 164 | description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3 |
| 165 | |
| 166 | ' |
| 167 | name: OS_AUTH_URL |
| 168 | trim: 'false' |
| 169 | - string: |
| 170 | default: sre-team |
| 171 | description: OpenStack project (tenant) name |
| 172 | name: OS_PROJECT_NAME |
| 173 | trim: 'false' |
| 174 | - string: |
| 175 | default: ldap_mirantis |
| 176 | description: OpenStack user domain name |
| 177 | name: OS_USER_DOMAIN_NAME |
| 178 | trim: 'false' |
| 179 | - string: |
| 180 | default: sre-qa-team-ci |
| 181 | description: Jenkins credentials ID with username and password to create a |
| 182 | heat stack in OpenStack |
| 183 | name: OS_CREDENTIALS |
| 184 | trim: 'false' |
| 185 | - string: |
| 186 | default: us-cloud.env |
| 187 | description: |- |
| 188 | Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/ |
| 189 | , for example: microcloud-8116.env |
| 190 | name: LAB_PARAM_DEFAULTS |
| 191 | trim: 'false' |
| 192 | - string: |
Hanna Arhipova | b0bfccd | 2020-01-15 11:19:00 +0200 | [diff] [blame] | 193 | default: refs/tags/2019.2.7 |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 194 | description: '' |
| 195 | name: JENKINS_PIPELINE_BRANCH |
| 196 | trim: 'false' |
| 197 | - string: |
| 198 | default: '' |
| 199 | description: '' |
| 200 | name: TEMPEST_PATTERN |
| 201 | trim: 'false' |
| 202 | - string: |
Hanna Arhipova | b0bfccd | 2020-01-15 11:19:00 +0200 | [diff] [blame] | 203 | default: refs/tags/2019.2.7 |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 204 | description: '' |
| 205 | name: MCP_COMMON_SCRIPTS_REFS |
| 206 | trim: 'false' |
| 207 | - string: |
Hanna Arhipova | b0bfccd | 2020-01-15 11:19:00 +0200 | [diff] [blame] | 208 | default: 2019.2.7 |
Hanna Arhipova | c335b24 | 2020-01-20 18:03:23 +0200 | [diff] [blame] | 209 | description: 'for formula repo http://mirror.mirantis.com/update/UPDATE_VERSION/salt-formulas/xenial' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 210 | name: UPDATE_VERSION |
| 211 | trim: 'false' |
| 212 | pipeline-scm: |
| 213 | lightweight-checkout: false |
| 214 | scm: |
| 215 | - git: |
| 216 | branches: |
| 217 | - FETCH_HEAD |
| 218 | refspec: ${{TCP_QA_REFS}} |
| 219 | url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa |
| 220 | script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy |