Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 1 | --- |
| 2 | - job-template: |
| 3 | project-type: pipeline |
| 4 | description: '{job-description}' |
| 5 | concurrent: true |
| 6 | disabled: false |
| 7 | name: released-heat-cicd-queens-contrail41-sl |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 8 | parameters: |
| 9 | - string: |
| 10 | default: released-heat-cicd-queens-contrail41-sl |
| 11 | description: '' |
| 12 | name: LAB_CONFIG_NAME |
| 13 | trim: 'false' |
| 14 | - string: |
| 15 | default: core,cicd |
| 16 | description: Comma-separated list of stacks to deploy the drivetrain (salt cluster and cicd nodes) |
| 17 | name: DRIVETRAIN_STACK_INSTALL |
| 18 | trim: 'false' |
| 19 | - string: |
Hanna Arhipova | d331eb9 | 2020-04-08 18:13:16 +0300 | [diff] [blame] | 20 | default: '18000' |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 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: |
Hanna Arhipova | d331eb9 | 2020-04-08 18:13:16 +0300 | [diff] [blame] | 31 | default: '15000' |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 32 | description: '' |
| 33 | name: PLATFORM_STACK_INSTALL_TIMEOUT |
| 34 | trim: 'false' |
| 35 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 36 | default: "{previous-version}" |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 37 | description: '' |
| 38 | name: MCP_VERSION |
| 39 | trim: 'false' |
| 40 | - string: |
| 41 | default: sre-team-infra |
| 42 | description: '' |
| 43 | name: NODE_NAME |
| 44 | trim: 'false' |
| 45 | - string: |
| 46 | default: /home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2 |
| 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-queens-contrail41-sl |
| 62 | description: '' |
| 63 | name: ENV_NAME |
| 64 | trim: 'false' |
Hanna Arhipova | 31cb1d8 | 2021-01-27 09:41:11 +0200 | [diff] [blame] | 65 | - bool: |
| 66 | default: false |
| 67 | description: 'Add extra node to heat stack. Node without a role and with salt-minion' |
| 68 | name: DEPLOY_EMPTY_NODE |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 69 | - string: |
| 70 | default: '' |
| 71 | description: |- |
| 72 | Example: refs/changes/89/411189/36 |
| 73 | (for now - only one reference allowed) |
| 74 | name: TCP_QA_REFS |
| 75 | trim: 'false' |
| 76 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 77 | default: refs/tags/{previous-version} |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 78 | description: reference to patchset in pipeline-library |
| 79 | name: PIPELINE_LIBRARY_REF |
| 80 | trim: 'false' |
| 81 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 82 | default: refs/tags/{previous-version} |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 83 | description: reference to patchset in mk-pipelines |
| 84 | name: MK_PIPELINES_REF |
| 85 | trim: 'false' |
| 86 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 87 | default: refs/tags/{previous-version} |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 88 | description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} value |
| 89 | name: COOKIECUTTER_TEMPLATE_COMMIT |
| 90 | trim: 'false' |
| 91 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 92 | default: refs/tags/{previous-version} |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 93 | description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} value |
| 94 | name: SALT_MODELS_SYSTEM_COMMIT |
| 95 | trim: 'false' |
| 96 | - text: |
| 97 | default: |- |
Hanna Arhipova | f621ed6 | 2020-09-18 10:43:34 +0300 | [diff] [blame] | 98 | --keep-duplicates --maxfail=1 \ |
Hanna Arhipova | 696e089 | 2021-02-08 17:27:01 +0200 | [diff] [blame] | 99 | tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_tempest \ |
Hanna Arhipova | 14c8c1f | 2020-02-20 17:38:55 +0200 | [diff] [blame] | 100 | tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_func_sanity \ |
| 101 | tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight \ |
| 102 | \ |
| 103 | tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_drivetrain \ |
| 104 | tcp_tests/tests/system/test_upgrade_contrail.py::TestUpdateContrail \ |
| 105 | tcp_tests/tests/system/test_mcp_update.py::TestOpenstackUpdate \ |
| 106 | tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_galera \ |
| 107 | tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_rabbit \ |
| 108 | tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_stacklight \ |
| 109 | tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_ceph \ |
| 110 | \ |
Hanna Arhipova | 696e089 | 2021-02-08 17:27:01 +0200 | [diff] [blame] | 111 | tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_tempest \ |
Hanna Arhipova | 14c8c1f | 2020-02-20 17:38:55 +0200 | [diff] [blame] | 112 | tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_func_sanity \ |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 113 | tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight |
| 114 | description: |- |
| 115 | Pytest option -k or -m, with expression to select necessary tests. |
| 116 | Additional pytest options are allowed. |
| 117 | Procedure according to https://docs.mirantis.com/mcp/q4-18/mcp-release-notes/mu/mu-7/mu-7-apply-updates.html |
| 118 | name: RUN_TEST_OPTS |
| 119 | trim: 'false' |
| 120 | - bool: |
| 121 | default: true |
| 122 | description: '' |
| 123 | name: SHUTDOWN_ENV_ON_TEARDOWN |
| 124 | - string: |
| 125 | default: '' |
| 126 | description: '' |
| 127 | name: COOKIECUTTER_REF_CHANGE |
| 128 | trim: 'false' |
| 129 | - string: |
| 130 | default: '' |
| 131 | description: '' |
| 132 | name: ENVIRONMENT_TEMPLATE_REF_CHANGE |
| 133 | trim: 'false' |
| 134 | - string: |
| 135 | default: '[MCP1.1_QUEENS]Tempest' |
| 136 | description: '' |
| 137 | name: TEMPEST_TEST_SUITE_NAME |
| 138 | trim: 'false' |
| 139 | - string: |
| 140 | default: queens |
| 141 | description: '' |
| 142 | name: TEMPEST_IMAGE_VERSION |
| 143 | trim: 'false' |
| 144 | - string: |
| 145 | default: '' |
| 146 | description: '' |
| 147 | name: TEMPEST_TARGET |
| 148 | trim: 'false' |
| 149 | - string: |
| 150 | default: proposed |
| 151 | description: '' |
| 152 | name: UPDATE_REPO_CUSTOM_TAG |
| 153 | trim: 'false' |
| 154 | - bool: |
| 155 | default: true |
| 156 | description: If set, reports will be created in TestRail for this build |
| 157 | name: REPORT_TO_TESTRAIL |
| 158 | - choice: |
| 159 | choices: |
| 160 | - heat |
| 161 | - devops |
| 162 | description: '' |
| 163 | name: ENV_MANAGER |
| 164 | - string: |
| 165 | default: https://ic-eu.ssl.mirantis.net:5000/v3 |
| 166 | description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3' |
| 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: default |
| 176 | description: OpenStack user domain name |
| 177 | name: OS_USER_DOMAIN_NAME |
| 178 | trim: 'false' |
| 179 | - string: |
| 180 | default: sre-qa-ci-eu |
| 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: |
Hanna Arhipova | c692a12 | 2021-04-13 11:47:18 +0300 | [diff] [blame^] | 186 | default: eu-cloud-low-flavors.env |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 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 | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 193 | default: refs/tags/{previous-version} |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 194 | description: '' |
| 195 | name: JENKINS_PIPELINE_BRANCH |
| 196 | trim: 'false' |
| 197 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 198 | default: refs/tags/{previous-version} |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 199 | description: '' |
| 200 | name: MCP_COMMON_SCRIPTS_REFS |
| 201 | trim: 'false' |
| 202 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 203 | default: "{previous-version}" |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 204 | description: 'for formula repo http://mirror.mirantis.com/update/UPDATE_VERSION/salt-formulas/xenial' |
| 205 | name: UPDATE_VERSION |
| 206 | trim: 'false' |
| 207 | - string: |
| 208 | default: '' |
| 209 | description: '' |
| 210 | name: TEMPEST_EXTRA_ARGS |
| 211 | trim: 'false' |
| 212 | - string: |
Hanna Arhipova | 7cd2c2c | 2020-09-10 08:20:50 +0300 | [diff] [blame] | 213 | default: set=smoke |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 214 | description: Exclude tungsten tests by default |
| 215 | name: TEMPEST_PATTERN |
| 216 | trim: 'false' |
| 217 | - bool: |
| 218 | default: false |
| 219 | description: Whether to perform dist-upgrade on virtual nodes during deployment |
| 220 | name: DIST_UPGRADE_NODES |
PGlazov | ed19b35 | 2020-05-21 16:42:27 +0400 | [diff] [blame] | 221 | - bool: |
| 222 | default: false |
| 223 | description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment' |
| 224 | name: UPGRADE_SALTSTACK |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 225 | pipeline-scm: |
| 226 | lightweight-checkout: false |
| 227 | scm: |
| 228 | - git: |
| 229 | branches: |
| 230 | - FETCH_HEAD |
| 231 | refspec: ${{TCP_QA_REFS}} |
| 232 | url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa |
| 233 | script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy |
| 234 | |