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 \ |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 101 | tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight |
PGlazov | 379db22 | 2021-06-17 20:15:11 +0400 | [diff] [blame] | 102 | |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 103 | description: |- |
| 104 | Pytest option -k or -m, with expression to select necessary tests. |
| 105 | Additional pytest options are allowed. |
| 106 | Procedure according to https://docs.mirantis.com/mcp/q4-18/mcp-release-notes/mu/mu-7/mu-7-apply-updates.html |
| 107 | name: RUN_TEST_OPTS |
| 108 | trim: 'false' |
| 109 | - bool: |
| 110 | default: true |
| 111 | description: '' |
| 112 | name: SHUTDOWN_ENV_ON_TEARDOWN |
| 113 | - string: |
| 114 | default: '' |
| 115 | description: '' |
| 116 | name: COOKIECUTTER_REF_CHANGE |
| 117 | trim: 'false' |
| 118 | - string: |
| 119 | default: '' |
| 120 | description: '' |
| 121 | name: ENVIRONMENT_TEMPLATE_REF_CHANGE |
| 122 | trim: 'false' |
| 123 | - string: |
| 124 | default: '[MCP1.1_QUEENS]Tempest' |
| 125 | description: '' |
| 126 | name: TEMPEST_TEST_SUITE_NAME |
| 127 | trim: 'false' |
| 128 | - string: |
| 129 | default: queens |
| 130 | description: '' |
| 131 | name: TEMPEST_IMAGE_VERSION |
| 132 | trim: 'false' |
| 133 | - string: |
| 134 | default: '' |
| 135 | description: '' |
| 136 | name: TEMPEST_TARGET |
| 137 | trim: 'false' |
| 138 | - string: |
| 139 | default: proposed |
| 140 | description: '' |
| 141 | name: UPDATE_REPO_CUSTOM_TAG |
| 142 | trim: 'false' |
| 143 | - bool: |
| 144 | default: true |
| 145 | description: If set, reports will be created in TestRail for this build |
| 146 | name: REPORT_TO_TESTRAIL |
| 147 | - choice: |
| 148 | choices: |
| 149 | - heat |
| 150 | - devops |
| 151 | description: '' |
| 152 | name: ENV_MANAGER |
| 153 | - string: |
| 154 | default: https://ic-eu.ssl.mirantis.net:5000/v3 |
| 155 | description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3' |
| 156 | name: OS_AUTH_URL |
| 157 | trim: 'false' |
| 158 | - string: |
| 159 | default: sre-team |
| 160 | description: OpenStack project (tenant) name |
| 161 | name: OS_PROJECT_NAME |
| 162 | trim: 'false' |
| 163 | - string: |
| 164 | default: default |
| 165 | description: OpenStack user domain name |
| 166 | name: OS_USER_DOMAIN_NAME |
| 167 | trim: 'false' |
| 168 | - string: |
| 169 | default: sre-qa-ci-eu |
| 170 | description: Jenkins credentials ID with username and password to create a |
| 171 | heat stack in OpenStack |
| 172 | name: OS_CREDENTIALS |
| 173 | trim: 'false' |
| 174 | - string: |
Hanna Arhipova | c692a12 | 2021-04-13 11:47:18 +0300 | [diff] [blame] | 175 | default: eu-cloud-low-flavors.env |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 176 | description: |- |
| 177 | Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/, |
| 178 | for example: microcloud-8116.env |
| 179 | name: LAB_PARAM_DEFAULTS |
| 180 | trim: 'false' |
| 181 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 182 | default: refs/tags/{previous-version} |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 183 | description: '' |
| 184 | name: JENKINS_PIPELINE_BRANCH |
| 185 | trim: 'false' |
| 186 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 187 | default: refs/tags/{previous-version} |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 188 | description: '' |
| 189 | name: MCP_COMMON_SCRIPTS_REFS |
| 190 | trim: 'false' |
| 191 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 192 | default: "{previous-version}" |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 193 | description: 'for formula repo http://mirror.mirantis.com/update/UPDATE_VERSION/salt-formulas/xenial' |
| 194 | name: UPDATE_VERSION |
| 195 | trim: 'false' |
| 196 | - string: |
| 197 | default: '' |
| 198 | description: '' |
| 199 | name: TEMPEST_EXTRA_ARGS |
| 200 | trim: 'false' |
| 201 | - string: |
Hanna Arhipova | 7cd2c2c | 2020-09-10 08:20:50 +0300 | [diff] [blame] | 202 | default: set=smoke |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 203 | description: Exclude tungsten tests by default |
| 204 | name: TEMPEST_PATTERN |
| 205 | trim: 'false' |
| 206 | - bool: |
| 207 | default: false |
| 208 | description: Whether to perform dist-upgrade on virtual nodes during deployment |
| 209 | name: DIST_UPGRADE_NODES |
PGlazov | ed19b35 | 2020-05-21 16:42:27 +0400 | [diff] [blame] | 210 | - bool: |
| 211 | default: false |
| 212 | description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment' |
| 213 | name: UPGRADE_SALTSTACK |
PGlazov | 379db22 | 2021-06-17 20:15:11 +0400 | [diff] [blame] | 214 | - bool: |
| 215 | name: RUN_UPGRADE_AFTER_JOB |
| 216 | default: true |
| 217 | description: "Upgrade and test after deploy?" |
Dmitriy Kruglov | bbf0061 | 2020-02-11 11:12:18 +0100 | [diff] [blame] | 218 | pipeline-scm: |
| 219 | lightweight-checkout: false |
| 220 | scm: |
| 221 | - git: |
| 222 | branches: |
| 223 | - FETCH_HEAD |
| 224 | refspec: ${{TCP_QA_REFS}} |
| 225 | url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa |
| 226 | script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy |
PGlazov | 3704e4b | 2021-06-23 15:10:04 +0400 | [diff] [blame] | 227 | logrotate: |
| 228 | daysToKeep: 365 |