blob: 585b2c970cff6c24d37c6379d9e52bf90b45889c [file] [log] [blame]
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +01001---
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 Kruglovbbf00612020-02-11 11:12:18 +01008 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 Arhipovad331eb92020-04-08 18:13:16 +030020 default: '18000'
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010021 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 Arhipovad331eb92020-04-08 18:13:16 +030031 default: '15000'
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010032 description: ''
33 name: PLATFORM_STACK_INSTALL_TIMEOUT
34 trim: 'false'
35 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030036 default: "{previous-version}"
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010037 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 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
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010069 - 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}
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010078 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}
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010083 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}
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010088 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} value
89 name: COOKIECUTTER_TEMPLATE_COMMIT
90 trim: 'false'
91 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030092 default: refs/tags/{previous-version}
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010093 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 Arhipovaf621ed62020-09-18 10:43:34 +030098 --keep-duplicates --maxfail=1 \
Hanna Arhipova696e0892021-02-08 17:27:01 +020099 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_tempest \
Hanna Arhipova14c8c1f2020-02-20 17:38:55 +0200100 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 Arhipova696e0892021-02-08 17:27:01 +0200111 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_tempest \
Hanna Arhipova14c8c1f2020-02-20 17:38:55 +0200112 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_func_sanity \
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100113 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 Arhipovac692a122021-04-13 11:47:18 +0300186 default: eu-cloud-low-flavors.env
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100187 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 Arhipova6c41b172020-05-04 16:12:13 +0300193 default: refs/tags/{previous-version}
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100194 description: ''
195 name: JENKINS_PIPELINE_BRANCH
196 trim: 'false'
197 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +0300198 default: refs/tags/{previous-version}
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100199 description: ''
200 name: MCP_COMMON_SCRIPTS_REFS
201 trim: 'false'
202 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +0300203 default: "{previous-version}"
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100204 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 Arhipova7cd2c2c2020-09-10 08:20:50 +0300213 default: set=smoke
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100214 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
PGlazoved19b352020-05-21 16:42:27 +0400221 - 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 Kruglovbbf00612020-02-11 11:12:18 +0100225 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