blob: ad0c20bfeb6add2dfac31dc6fef26a36cb6d20a5 [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-contrail41-sl
7 parameters:
8 - string:
9 default: released-heat-cicd-pike-contrail41-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:
20 default: '12000'
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:
31 default: '12000'
32 description: ''
33 name: PLATFORM_STACK_INSTALL_TIMEOUT
34 trim: 'false'
35 - string:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +020036 default: 2019.2.7
Sergey Galkin24ebd762020-01-14 14:36:34 +040037 description: ''
38 name: MCP_VERSION
39 trim: 'false'
40 - string:
41 default: jenkins-master-si
42 description: ''
43 name: NODE_NAME
44 trim: 'false'
45 - string:
46 default: /home/jenkins/images/ubuntu-16-04-x64-mcp${{MCP_VERSION}}.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-pike-contrail41-sl
62 description: ''
63 name: ENV_NAME
64 trim: 'false'
65 - string:
66 default: ''
67 description: |-
68 Example: refs/changes/89/411189/36
69 (for now - only one reference allowed)
70 name: TCP_QA_REFS
71 trim: 'false'
72 - string:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +020073 default: refs/tags/2019.2.7
Sergey Galkin24ebd762020-01-14 14:36:34 +040074 description: reference to patchset in pipeline-library
75 name: PIPELINE_LIBRARY_REF
76 trim: 'false'
77 - string:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +020078 default: refs/tags/2019.2.7
Sergey Galkin24ebd762020-01-14 14:36:34 +040079 description: reference to patchset in mk-pipelines
80 name: MK_PIPELINES_REF
81 trim: 'false'
82 - string:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +020083 default: refs/tags/2019.2.7
Sergey Galkin24ebd762020-01-14 14:36:34 +040084 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
85 value
86 name: COOKIECUTTER_TEMPLATE_COMMIT
87 trim: 'false'
88 - string:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +020089 default: refs/tags/2019.2.7
Sergey Galkin24ebd762020-01-14 14:36:34 +040090 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
91 value
92 name: SALT_MODELS_SYSTEM_COMMIT
93 trim: 'false'
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +020094 - text:
95 default: |-
96 --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
111 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight
112
Sergey Galkin24ebd762020-01-14 14:36:34 +0400113 description: |-
114 Pytest option -k or -m, with expression to select necessary tests.
115 Additional pytest options are allowed.
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +0200116 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 +0400117 name: RUN_TEST_OPTS
118 trim: 'false'
119 - bool:
120 default: true
121 description: ''
122 name: SHUTDOWN_ENV_ON_TEARDOWN
123 - string:
124 default: ''
125 description: ''
126 name: COOKIECUTTER_REF_CHANGE
127 trim: 'false'
128 - string:
129 default: ''
130 description: ''
131 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
132 trim: 'false'
133 - string:
134 default: '[MCP1.1_PIKE]Tempest'
135 description: ''
136 name: TEMPEST_TEST_SUITE_NAME
137 trim: 'false'
138 - string:
139 default: pike
140 description: ''
141 name: TEMPEST_IMAGE_VERSION
142 trim: 'false'
143 - string:
144 default: ''
145 description: ''
146 name: TEMPEST_TARGET
147 trim: 'false'
148 - string:
149 default: ''
150 description: ''
151 name: UPDATE_REPO_CUSTOM_TAG
152 trim: 'false'
153 - bool:
154 default: true
155 description: If set, reports will be created in TestRail for this build
156 name: REPORT_TO_TESTRAIL
157 - choice:
158 choices:
159 - heat
160 - devops
161 description: ''
162 name: ENV_MANAGER
163 - string:
164 default: https://ic-eu.ssl.mirantis.net:5000/v3
Sergey Galkinb9cdb642020-01-16 14:01:40 +0400165 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400166 name: OS_AUTH_URL
167 trim: 'false'
168 - string:
169 default: sre-team
170 description: OpenStack project (tenant) name
171 name: OS_PROJECT_NAME
172 trim: 'false'
173 - string:
174 default: ldap_mirantis
175 description: OpenStack user domain name
176 name: OS_USER_DOMAIN_NAME
177 trim: 'false'
178 - string:
179 default: sre-qa-team-ci
180 description: Jenkins credentials ID with username and password to create a
181 heat stack in OpenStack
182 name: OS_CREDENTIALS
183 trim: 'false'
184 - string:
185 default: us-cloud.env
186 description: |-
187 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/
188 , for example: microcloud-8116.env
189 name: LAB_PARAM_DEFAULTS
190 trim: 'false'
191 - string:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +0200192 default: refs/tags/2019.2.7
Sergey Galkin24ebd762020-01-14 14:36:34 +0400193 description: ''
194 name: JENKINS_PIPELINE_BRANCH
195 trim: 'false'
196 - string:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +0200197 default: refs/tags/2019.2.7
Sergey Galkin24ebd762020-01-14 14:36:34 +0400198 description: ''
199 name: MCP_COMMON_SCRIPTS_REFS
200 trim: 'false'
201 - string:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +0200202 default: 2019.2.7
203 description: 'for formula repo http://mirror.mirantis.com/update/${UPDATE_VERSION}/salt-formulas/xenial'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400204 name: UPDATE_VERSION
205 trim: 'false'
206 - string:
207 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*
208 description: Exclude tungsten tests by default
209 name: TEMPEST_PATTERN
210 trim: 'false'
211 pipeline-scm:
212 lightweight-checkout: false
213 scm:
214 - git:
215 branches:
216 - FETCH_HEAD
217 refspec: ${{TCP_QA_REFS}}
218 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
219 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
220