blob: bf12a28db652d09d4d4cf4855d95bbded0a10237 [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
8 triggers:
9 - timed: H(30-55) 23 * * 1-7
10 parameters:
11 - string:
12 default: released-heat-cicd-queens-contrail41-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 cluster and cicd nodes)
19 name: DRIVETRAIN_STACK_INSTALL
20 trim: 'false'
21 - string:
Hanna Arhipovaa0cab712020-02-13 22:12:35 +020022 default: '15000'
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010023 description: ''
24 name: DRIVETRAIN_STACK_INSTALL_TIMEOUT
25 trim: 'false'
26 - string:
27 default: openstack,contrail,ceph,stacklight
28 description: Comma-separated list of stacks to deploy the target platform
29 (openstack and additional components)
30 name: PLATFORM_STACK_INSTALL
31 trim: 'false'
32 - string:
33 default: '12000'
34 description: ''
35 name: PLATFORM_STACK_INSTALL_TIMEOUT
36 trim: 'false'
37 - string:
38 default: 2019.2.7
39 description: ''
40 name: MCP_VERSION
41 trim: 'false'
42 - string:
43 default: sre-team-infra
44 description: ''
45 name: NODE_NAME
46 trim: 'false'
47 - string:
48 default: /home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2
49 description: ''
50 name: MCP_IMAGE_PATH1604
51 trim: 'false'
52 - string:
53 default: /home/jenkins/images/cfg01-day01.qcow2
54 description: ''
55 name: IMAGE_PATH_CFG01_DAY01
56 trim: 'false'
57 - string:
58 default: cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso
59 description: ISO name that will be generated and downloaded to the /home/jenkins/images/
60 name: CFG01_CONFIG_IMAGE_NAME
61 trim: 'false'
62 - string:
63 default: released-heat-cicd-queens-contrail41-sl
64 description: ''
65 name: ENV_NAME
66 trim: 'false'
67 - string:
68 default: ''
69 description: |-
70 Example: refs/changes/89/411189/36
71 (for now - only one reference allowed)
72 name: TCP_QA_REFS
73 trim: 'false'
74 - string:
75 default: refs/tags/2019.2.7
76 description: reference to patchset in pipeline-library
77 name: PIPELINE_LIBRARY_REF
78 trim: 'false'
79 - string:
80 default: refs/tags/2019.2.7
81 description: reference to patchset in mk-pipelines
82 name: MK_PIPELINES_REF
83 trim: 'false'
84 - string:
85 default: refs/tags/2019.2.7
86 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} value
87 name: COOKIECUTTER_TEMPLATE_COMMIT
88 trim: 'false'
89 - string:
90 default: refs/tags/2019.2.7
91 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} value
92 name: SALT_MODELS_SYSTEM_COMMIT
93 trim: 'false'
94 - text:
95 default: |-
Hanna Arhipova14c8c1f2020-02-20 17:38:55 +020096 --keep-duplicates --maxfail=2 \
97 tcp_tests/tests/system/test_3rdparty_suites.py::Test3rdpartySuites::test_run_tempest \
98 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_func_sanity \
99 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight \
100 \
101 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_drivetrain \
102 tcp_tests/tests/system/test_upgrade_contrail.py::TestUpdateContrail \
103 tcp_tests/tests/system/test_mcp_update.py::TestOpenstackUpdate \
104 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_galera \
105 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_rabbit \
106 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_stacklight \
107 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_ceph \
108 \
109 tcp_tests/tests/system/test_3rdparty_suites.py::Test3rdpartySuites::test_run_tempest \
110 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_func_sanity \
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100111 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight
112 description: |-
113 Pytest option -k or -m, with expression to select necessary tests.
114 Additional pytest options are allowed.
115 Procedure according to https://docs.mirantis.com/mcp/q4-18/mcp-release-notes/mu/mu-7/mu-7-apply-updates.html
116 name: RUN_TEST_OPTS
117 trim: 'false'
118 - bool:
119 default: true
120 description: ''
121 name: SHUTDOWN_ENV_ON_TEARDOWN
122 - string:
123 default: ''
124 description: ''
125 name: COOKIECUTTER_REF_CHANGE
126 trim: 'false'
127 - string:
128 default: ''
129 description: ''
130 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
131 trim: 'false'
132 - string:
133 default: '[MCP1.1_QUEENS]Tempest'
134 description: ''
135 name: TEMPEST_TEST_SUITE_NAME
136 trim: 'false'
137 - string:
138 default: queens
139 description: ''
140 name: TEMPEST_IMAGE_VERSION
141 trim: 'false'
142 - string:
143 default: ''
144 description: ''
145 name: TEMPEST_TARGET
146 trim: 'false'
147 - string:
148 default: proposed
149 description: ''
150 name: UPDATE_REPO_CUSTOM_TAG
151 trim: 'false'
152 - bool:
153 default: true
154 description: If set, reports will be created in TestRail for this build
155 name: REPORT_TO_TESTRAIL
156 - choice:
157 choices:
158 - heat
159 - devops
160 description: ''
161 name: ENV_MANAGER
162 - string:
163 default: https://ic-eu.ssl.mirantis.net:5000/v3
164 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
165 name: OS_AUTH_URL
166 trim: 'false'
167 - string:
168 default: sre-team
169 description: OpenStack project (tenant) name
170 name: OS_PROJECT_NAME
171 trim: 'false'
172 - string:
173 default: default
174 description: OpenStack user domain name
175 name: OS_USER_DOMAIN_NAME
176 trim: 'false'
177 - string:
178 default: sre-qa-ci-eu
179 description: Jenkins credentials ID with username and password to create a
180 heat stack in OpenStack
181 name: OS_CREDENTIALS
182 trim: 'false'
183 - string:
184 default: eu-cloud.env
185 description: |-
186 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/,
187 for example: microcloud-8116.env
188 name: LAB_PARAM_DEFAULTS
189 trim: 'false'
190 - string:
191 default: refs/tags/2019.2.7
192 description: ''
193 name: JENKINS_PIPELINE_BRANCH
194 trim: 'false'
195 - string:
196 default: refs/tags/2019.2.7
197 description: ''
198 name: MCP_COMMON_SCRIPTS_REFS
199 trim: 'false'
200 - string:
201 default: 2019.2.7
202 description: 'for formula repo http://mirror.mirantis.com/update/UPDATE_VERSION/salt-formulas/xenial'
203 name: UPDATE_VERSION
204 trim: 'false'
205 - string:
206 default: ''
207 description: ''
208 name: TEMPEST_EXTRA_ARGS
209 trim: 'false'
210 - string:
211 default: ^heat_tempest_plugin.tests*|^tempest.api.image*|^tempest_horizon*|^tempest.api.identity*|^tempest.api.network*|^tempest.api.compute*|^tempest.api.volume*|^tempest.scenario*|^tempest.api.object_storage*
212 description: Exclude tungsten tests by default
213 name: TEMPEST_PATTERN
214 trim: 'false'
215 - bool:
216 default: false
217 description: Whether to perform dist-upgrade on virtual nodes during deployment
218 name: DIST_UPGRADE_NODES
219 pipeline-scm:
220 lightweight-checkout: false
221 scm:
222 - git:
223 branches:
224 - FETCH_HEAD
225 refspec: ${{TCP_QA_REFS}}
226 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
227 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
228