Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 1 | - job-template: |
| 2 | project-type: pipeline |
| 3 | description: '{job-description}' |
Hanna Arhipova | 4c8729f | 2020-04-15 13:21:22 +0300 | [diff] [blame] | 4 | concurrent: false |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 5 | name: 2019.2.0-heat-cicd-queens-dvr-sl |
Hanna Arhipova | 8376163 | 2020-05-05 13:53:17 +0300 | [diff] [blame] | 6 | # 'disabled' and 'timed' option are defined in the project.yaml |
| 7 | disabled: '{obj:disabled}' |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 8 | triggers: |
Hanna Arhipova | 8376163 | 2020-05-05 13:53:17 +0300 | [diff] [blame] | 9 | - timed: '{obj:trigger_time}' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 10 | parameters: |
| 11 | - string: |
| 12 | default: heat-cicd-queens-dvr-sl |
| 13 | description: '' |
| 14 | name: LAB_CONFIG_NAME |
| 15 | trim: 'false' |
| 16 | - string: |
| 17 | default: core,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: |
Hanna Arhipova | d331eb9 | 2020-04-08 18:13:16 +0300 | [diff] [blame] | 23 | default: '18000' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 24 | description: '' |
| 25 | name: DRIVETRAIN_STACK_INSTALL_TIMEOUT |
| 26 | trim: 'false' |
| 27 | - string: |
| 28 | default: openstack,ovs,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: |
Hanna Arhipova | d331eb9 | 2020-04-08 18:13:16 +0300 | [diff] [blame] | 34 | default: '15000' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 35 | description: '' |
| 36 | name: PLATFORM_STACK_INSTALL_TIMEOUT |
| 37 | trim: 'false' |
| 38 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 39 | default: "{current-version}" |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 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: |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 49 | default: '/home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +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: |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 59 | default: 'cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 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-cicd-queens-dvr-sl |
| 65 | description: '' |
| 66 | name: ENV_NAME |
| 67 | trim: 'false' |
Hanna Arhipova | 31cb1d8 | 2021-01-27 09:41:11 +0200 | [diff] [blame] | 68 | - bool: |
| 69 | default: false |
| 70 | description: 'Add extra node to heat stack. Node without a role and with salt-minion' |
| 71 | name: DEPLOY_EMPTY_NODE |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 72 | - string: |
| 73 | default: '' |
| 74 | description: |- |
| 75 | Example: refs/changes/89/411189/36 |
| 76 | (for now - only one reference allowed) |
| 77 | name: TCP_QA_REFS |
| 78 | trim: 'false' |
| 79 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 80 | default: refs/tags/{current-version} |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 81 | description: reference to patchset in pipeline-library |
| 82 | name: PIPELINE_LIBRARY_REF |
| 83 | trim: 'false' |
| 84 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 85 | default: refs/tags/{current-version} |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 86 | description: reference to patchset in mk-pipelines |
| 87 | name: MK_PIPELINES_REF |
| 88 | trim: 'false' |
| 89 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 90 | default: refs/tags/{current-version} |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 91 | description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} |
| 92 | value |
| 93 | name: COOKIECUTTER_TEMPLATE_COMMIT |
| 94 | trim: 'false' |
| 95 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 96 | default: refs/tags/{current-version} |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 97 | description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} |
| 98 | value |
| 99 | name: SALT_MODELS_SYSTEM_COMMIT |
| 100 | trim: 'false' |
| 101 | - string: |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 102 | default: -m "run_cvp_func_sanity|run_cvp_tempest|run_stacklight" |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 103 | description: |- |
| 104 | Pytest option -k or -m, with expression to select necessary tests. |
| 105 | Additional pytest options are allowed. |
| 106 | name: RUN_TEST_OPTS |
| 107 | trim: 'false' |
| 108 | - bool: |
| 109 | default: true |
| 110 | description: '' |
| 111 | name: SHUTDOWN_ENV_ON_TEARDOWN |
| 112 | - string: |
| 113 | default: '' |
| 114 | description: '' |
| 115 | name: COOKIECUTTER_REF_CHANGE |
| 116 | trim: 'false' |
| 117 | - string: |
| 118 | default: '' |
| 119 | description: '' |
| 120 | name: ENVIRONMENT_TEMPLATE_REF_CHANGE |
| 121 | trim: 'false' |
| 122 | - string: |
| 123 | default: '[MCP1.1_QUEENS]Tempest' |
| 124 | description: '' |
| 125 | name: TEMPEST_TEST_SUITE_NAME |
| 126 | trim: 'false' |
| 127 | - string: |
| 128 | default: queens |
| 129 | description: '' |
| 130 | name: TEMPEST_IMAGE_VERSION |
| 131 | trim: 'false' |
| 132 | - string: |
| 133 | default: '' |
| 134 | description: '' |
| 135 | name: TEMPEST_TARGET |
| 136 | trim: 'false' |
| 137 | - string: |
| 138 | default: '' |
| 139 | description: '' |
| 140 | name: UPDATE_REPO_CUSTOM_TAG |
| 141 | trim: 'false' |
| 142 | - bool: |
| 143 | default: true |
| 144 | description: If set, reports will be created in TestRail for this build |
| 145 | name: REPORT_TO_TESTRAIL |
| 146 | - choice: |
| 147 | choices: |
| 148 | - heat |
| 149 | - devops |
| 150 | description: '' |
| 151 | name: ENV_MANAGER |
| 152 | - string: |
Taras Khlivnyak | 330f727 | 2021-11-03 22:52:26 +0200 | [diff] [blame] | 153 | default: https://keystone.ic-eu.ssl.mirantis.net/v3 |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 154 | description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 155 | name: OS_AUTH_URL |
| 156 | trim: 'false' |
| 157 | - string: |
| 158 | default: sre-team |
| 159 | description: OpenStack project (tenant) name |
| 160 | name: OS_PROJECT_NAME |
| 161 | trim: 'false' |
| 162 | - string: |
Hanna Arhipova | 9565943 | 2020-01-28 14:24:02 +0200 | [diff] [blame] | 163 | default: default |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 164 | description: OpenStack user domain name |
| 165 | name: OS_USER_DOMAIN_NAME |
| 166 | trim: 'false' |
| 167 | - string: |
Hanna Arhipova | 9565943 | 2020-01-28 14:24:02 +0200 | [diff] [blame] | 168 | default: sre-qa-ci-eu |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 169 | description: Jenkins credentials ID with username and password to create a |
| 170 | heat stack in OpenStack |
| 171 | name: OS_CREDENTIALS |
| 172 | trim: 'false' |
| 173 | - string: |
Hanna Arhipova | c692a12 | 2021-04-13 11:47:18 +0300 | [diff] [blame] | 174 | default: eu-cloud-low-flavors.env |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 175 | description: |- |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 176 | Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/, |
| 177 | for example: microcloud-8116.env |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 178 | name: LAB_PARAM_DEFAULTS |
| 179 | trim: 'false' |
| 180 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 181 | default: refs/tags/{current-version} |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 182 | description: '' |
| 183 | name: JENKINS_PIPELINE_BRANCH |
| 184 | trim: 'false' |
| 185 | - string: |
| 186 | default: '' |
| 187 | description: '' |
| 188 | name: TEMPEST_PATTERN |
| 189 | trim: 'false' |
| 190 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 191 | default: refs/tags/{current-version} |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 192 | description: '' |
| 193 | name: MCP_COMMON_SCRIPTS_REFS |
| 194 | trim: 'false' |
| 195 | - string: |
Hanna Arhipova | 6c41b17 | 2020-05-04 16:12:13 +0300 | [diff] [blame] | 196 | default: "{current-version}" |
Hanna Arhipova | c7bd023 | 2020-03-03 13:11:31 +0200 | [diff] [blame] | 197 | 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] | 198 | name: UPDATE_VERSION |
| 199 | trim: 'false' |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 200 | - string: |
| 201 | default: '' |
| 202 | description: '' |
| 203 | name: TEMPEST_EXTRA_ARGS |
| 204 | trim: 'false' |
| 205 | - bool: |
| 206 | default: false |
| 207 | description: Whether to perform dist-upgrade on virtual nodes during deployment |
| 208 | name: DIST_UPGRADE_NODES |
PGlazov | ed19b35 | 2020-05-21 16:42:27 +0400 | [diff] [blame] | 209 | - bool: |
PGlazov | a503925 | 2021-10-06 21:40:01 +0400 | [diff] [blame] | 210 | default: true |
PGlazov | ed19b35 | 2020-05-21 16:42:27 +0400 | [diff] [blame] | 211 | description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment' |
| 212 | name: UPGRADE_SALTSTACK |
Pavel Glazov | 72eb894 | 2022-11-23 15:15:50 +0400 | [diff] [blame^] | 213 | - text: |
| 214 | default: '' |
| 215 | description: |- |
| 216 | Add env vars for deploy and testing |
| 217 | name: EXTRA_VARS |
| 218 | trim: 'false' |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 219 | pipeline-scm: |
| 220 | lightweight-checkout: false |
| 221 | scm: |
| 222 | - git: |
| 223 | branches: |
| 224 | - FETCH_HEAD |
| 225 | refspec: ${{TCP_QA_REFS}} |
Dmitriy Kruglov | 652f3f9 | 2020-03-02 17:59:15 +0100 | [diff] [blame] | 226 | url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa.git |
Sergey Galkin | 24ebd76 | 2020-01-14 14:36:34 +0400 | [diff] [blame] | 227 | script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy |
Vladimir Khlyunev | 82b374f | 2022-09-27 20:51:58 +0000 | [diff] [blame] | 228 | logrotate: |
| 229 | daysToKeep: 365 |