blob: ad28b004e57284d0eb9bb39fce8ea1a6d676e9b0 [file] [log] [blame]
Sergey Galkin24ebd762020-01-14 14:36:34 +04001- 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:
Hanna Arhipovad331eb92020-04-08 18:13:16 +030020 default: '18000'
Sergey Galkin24ebd762020-01-14 14:36:34 +040021 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:
Hanna Arhipovad331eb92020-04-08 18:13:16 +030031 default: '15000'
Sergey Galkin24ebd762020-01-14 14:36:34 +040032 description: ''
33 name: PLATFORM_STACK_INSTALL_TIMEOUT
34 trim: 'false'
35 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030036 default: "{previous-version}"
Sergey Galkin24ebd762020-01-14 14:36:34 +040037 description: ''
38 name: MCP_VERSION
39 trim: 'false'
40 - string:
Hanna Arhipovac2965a42020-01-21 12:27:33 +020041 default: sre-team-infra
Sergey Galkin24ebd762020-01-14 14:36:34 +040042 description: ''
43 name: NODE_NAME
44 trim: 'false'
45 - string:
Hanna Arhipovac2965a42020-01-21 12:27:33 +020046 default: /home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2
Sergey Galkin24ebd762020-01-14 14:36:34 +040047 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'
Hanna Arhipova31cb1d82021-01-27 09:41:11 +020065 - 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
Sergey Galkin24ebd762020-01-14 14:36:34 +040069 - 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 Arhipova6c41b172020-05-04 16:12:13 +030077 default: refs/tags/{previous-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +040078 description: reference to patchset in pipeline-library
79 name: PIPELINE_LIBRARY_REF
80 trim: 'false'
81 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030082 default: refs/tags/{previous-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +040083 description: reference to patchset in mk-pipelines
84 name: MK_PIPELINES_REF
85 trim: 'false'
86 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030087 default: refs/tags/{previous-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +040088 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
89 value
90 name: COOKIECUTTER_TEMPLATE_COMMIT
91 trim: 'false'
92 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030093 default: refs/tags/{previous-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +040094 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
95 value
96 name: SALT_MODELS_SYSTEM_COMMIT
97 trim: 'false'
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +020098 - text:
99 default: |-
Hanna Arhipovaf621ed62020-09-18 10:43:34 +0300100 --keep-duplicates --maxfail=1 \
Hanna Arhipova696e0892021-02-08 17:27:01 +0200101 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_tempest \
Hanna Arhipova14c8c1f2020-02-20 17:38:55 +0200102 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_func_sanity \
103 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight \
104 \
105 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_drivetrain \
106 tcp_tests/tests/system/test_mcp_update.py::TestOpenstackUpdate \
107 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_galera \
108 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_rabbit \
109 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_stacklight \
110 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_ceph \
111 \
Hanna Arhipova696e0892021-02-08 17:27:01 +0200112 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_tempest \
Hanna Arhipova14c8c1f2020-02-20 17:38:55 +0200113 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_func_sanity \
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +0200114 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight
115
Sergey Galkin24ebd762020-01-14 14:36:34 +0400116 description: |-
117 Pytest option -k or -m, with expression to select necessary tests.
118 Additional pytest options are allowed.
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +0200119 Procedure according to https://docs.mirantis.com/mcp/q4-18/mcp-release-notes/mu/mu-7/mu-7-apply-updates.html
Sergey Galkin24ebd762020-01-14 14:36:34 +0400120 name: RUN_TEST_OPTS
121 trim: 'false'
122 - bool:
123 default: true
124 description: ''
125 name: SHUTDOWN_ENV_ON_TEARDOWN
126 - string:
127 default: ''
128 description: ''
129 name: COOKIECUTTER_REF_CHANGE
130 trim: 'false'
131 - string:
132 default: ''
133 description: ''
134 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
135 trim: 'false'
136 - string:
137 default: '[MCP1.1_PIKE]Tempest'
138 description: ''
139 name: TEMPEST_TEST_SUITE_NAME
140 trim: 'false'
141 - string:
142 default: pike
143 description: ''
144 name: TEMPEST_IMAGE_VERSION
145 trim: 'false'
146 - string:
147 default: ''
148 description: ''
149 name: TEMPEST_TARGET
150 trim: 'false'
151 - string:
152 default: ''
153 description: ''
154 name: UPDATE_REPO_CUSTOM_TAG
155 trim: 'false'
156 - bool:
157 default: true
158 description: If set, reports will be created in TestRail for this build
159 name: REPORT_TO_TESTRAIL
160 - choice:
161 choices:
162 - heat
163 - devops
164 description: ''
165 name: ENV_MANAGER
166 - string:
167 default: https://ic-eu.ssl.mirantis.net:5000/v3
Hanna Arhipova95659432020-01-28 14:24:02 +0200168 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400169 name: OS_AUTH_URL
170 trim: 'false'
171 - string:
172 default: sre-team
173 description: OpenStack project (tenant) name
174 name: OS_PROJECT_NAME
175 trim: 'false'
176 - string:
Hanna Arhipova95659432020-01-28 14:24:02 +0200177 default: default
Sergey Galkin24ebd762020-01-14 14:36:34 +0400178 description: OpenStack user domain name
179 name: OS_USER_DOMAIN_NAME
180 trim: 'false'
181 - string:
Hanna Arhipova95659432020-01-28 14:24:02 +0200182 default: sre-qa-ci-eu
Sergey Galkin24ebd762020-01-14 14:36:34 +0400183 description: Jenkins credentials ID with username and password to create a
184 heat stack in OpenStack
185 name: OS_CREDENTIALS
186 trim: 'false'
187 - string:
Hanna Arhipovac692a122021-04-13 11:47:18 +0300188 default: eu-cloud-low-flavors.env
Sergey Galkin24ebd762020-01-14 14:36:34 +0400189 description: |-
190 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/
191 , for example: microcloud-8116.env
192 name: LAB_PARAM_DEFAULTS
193 trim: 'false'
194 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +0300195 default: refs/tags/{previous-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +0400196 description: ''
197 name: JENKINS_PIPELINE_BRANCH
198 trim: 'false'
199 - string:
Hanna Arhipova7cd2c2c2020-09-10 08:20:50 +0300200 default: set=smoke
Sergey Galkin24ebd762020-01-14 14:36:34 +0400201 description: ''
202 name: TEMPEST_PATTERN
203 trim: 'false'
204 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +0300205 default: refs/tags/{previous-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +0400206 description: ''
207 name: MCP_COMMON_SCRIPTS_REFS
208 trim: 'false'
209 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +0300210 default: "{previous-version}"
Hanna Arhipovac335b242020-01-20 18:03:23 +0200211 description: 'for formula repo http://mirror.mirantis.com/update/UPDATE_VERSION/salt-formulas/xenial'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400212 name: UPDATE_VERSION
213 trim: 'false'
Dmitriy Kruglov758f99c2020-02-04 12:04:31 +0100214 - bool:
215 default: false
216 description: Whether to perform dist-upgrade on virtual nodes during deployment
217 name: DIST_UPGRADE_NODES
PGlazoved19b352020-05-21 16:42:27 +0400218 - bool:
219 default: false
220 description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment'
221 name: UPGRADE_SALTSTACK
Sergey Galkin24ebd762020-01-14 14:36:34 +0400222 pipeline-scm:
223 lightweight-checkout: false
224 scm:
225 - git:
226 branches:
227 - FETCH_HEAD
228 refspec: ${{TCP_QA_REFS}}
229 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
230 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy