blob: b4c39a9330e6d1f2d5879ce148c23df494cf9223 [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 Arhipovaa0cab712020-02-13 22:12:35 +020020 default: '15000'
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:
31 default: '12000'
32 description: ''
33 name: PLATFORM_STACK_INSTALL_TIMEOUT
34 trim: 'false'
35 - string:
PGlazov59a75012020-03-06 14:29:49 +040036 default: 2019.2.8
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'
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:
PGlazov59a75012020-03-06 14:29:49 +040073 default: refs/tags/2019.2.8
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010074 description: reference to patchset in pipeline-library
75 name: PIPELINE_LIBRARY_REF
76 trim: 'false'
77 - string:
PGlazov59a75012020-03-06 14:29:49 +040078 default: refs/tags/2019.2.8
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010079 description: reference to patchset in mk-pipelines
80 name: MK_PIPELINES_REF
81 trim: 'false'
82 - string:
PGlazov59a75012020-03-06 14:29:49 +040083 default: refs/tags/2019.2.8
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010084 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} value
85 name: COOKIECUTTER_TEMPLATE_COMMIT
86 trim: 'false'
87 - string:
PGlazov59a75012020-03-06 14:29:49 +040088 default: refs/tags/2019.2.8
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010089 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} value
90 name: SALT_MODELS_SYSTEM_COMMIT
91 trim: 'false'
92 - text:
93 default: |-
Hanna Arhipova14c8c1f2020-02-20 17:38:55 +020094 --keep-duplicates --maxfail=2 \
95 tcp_tests/tests/system/test_3rdparty_suites.py::Test3rdpartySuites::test_run_tempest \
96 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_func_sanity \
97 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight \
98 \
99 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_drivetrain \
100 tcp_tests/tests/system/test_upgrade_contrail.py::TestUpdateContrail \
101 tcp_tests/tests/system/test_mcp_update.py::TestOpenstackUpdate \
102 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_galera \
103 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_rabbit \
104 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_stacklight \
105 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_ceph \
106 \
107 tcp_tests/tests/system/test_3rdparty_suites.py::Test3rdpartySuites::test_run_tempest \
108 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_func_sanity \
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100109 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight
110 description: |-
111 Pytest option -k or -m, with expression to select necessary tests.
112 Additional pytest options are allowed.
113 Procedure according to https://docs.mirantis.com/mcp/q4-18/mcp-release-notes/mu/mu-7/mu-7-apply-updates.html
114 name: RUN_TEST_OPTS
115 trim: 'false'
116 - bool:
117 default: true
118 description: ''
119 name: SHUTDOWN_ENV_ON_TEARDOWN
120 - string:
121 default: ''
122 description: ''
123 name: COOKIECUTTER_REF_CHANGE
124 trim: 'false'
125 - string:
126 default: ''
127 description: ''
128 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
129 trim: 'false'
130 - string:
131 default: '[MCP1.1_QUEENS]Tempest'
132 description: ''
133 name: TEMPEST_TEST_SUITE_NAME
134 trim: 'false'
135 - string:
136 default: queens
137 description: ''
138 name: TEMPEST_IMAGE_VERSION
139 trim: 'false'
140 - string:
141 default: ''
142 description: ''
143 name: TEMPEST_TARGET
144 trim: 'false'
145 - string:
146 default: proposed
147 description: ''
148 name: UPDATE_REPO_CUSTOM_TAG
149 trim: 'false'
150 - bool:
151 default: true
152 description: If set, reports will be created in TestRail for this build
153 name: REPORT_TO_TESTRAIL
154 - choice:
155 choices:
156 - heat
157 - devops
158 description: ''
159 name: ENV_MANAGER
160 - string:
161 default: https://ic-eu.ssl.mirantis.net:5000/v3
162 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
163 name: OS_AUTH_URL
164 trim: 'false'
165 - string:
166 default: sre-team
167 description: OpenStack project (tenant) name
168 name: OS_PROJECT_NAME
169 trim: 'false'
170 - string:
171 default: default
172 description: OpenStack user domain name
173 name: OS_USER_DOMAIN_NAME
174 trim: 'false'
175 - string:
176 default: sre-qa-ci-eu
177 description: Jenkins credentials ID with username and password to create a
178 heat stack in OpenStack
179 name: OS_CREDENTIALS
180 trim: 'false'
181 - string:
182 default: eu-cloud.env
183 description: |-
184 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/,
185 for example: microcloud-8116.env
186 name: LAB_PARAM_DEFAULTS
187 trim: 'false'
188 - string:
PGlazov59a75012020-03-06 14:29:49 +0400189 default: refs/tags/2019.2.8
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100190 description: ''
191 name: JENKINS_PIPELINE_BRANCH
192 trim: 'false'
193 - string:
PGlazov59a75012020-03-06 14:29:49 +0400194 default: refs/tags/2019.2.8
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100195 description: ''
196 name: MCP_COMMON_SCRIPTS_REFS
197 trim: 'false'
198 - string:
PGlazov59a75012020-03-06 14:29:49 +0400199 default: 2019.2.8
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100200 description: 'for formula repo http://mirror.mirantis.com/update/UPDATE_VERSION/salt-formulas/xenial'
201 name: UPDATE_VERSION
202 trim: 'false'
203 - string:
204 default: ''
205 description: ''
206 name: TEMPEST_EXTRA_ARGS
207 trim: 'false'
208 - string:
209 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*
210 description: Exclude tungsten tests by default
211 name: TEMPEST_PATTERN
212 trim: 'false'
213 - bool:
214 default: false
215 description: Whether to perform dist-upgrade on virtual nodes during deployment
216 name: DIST_UPGRADE_NODES
217 pipeline-scm:
218 lightweight-checkout: false
219 scm:
220 - git:
221 branches:
222 - FETCH_HEAD
223 refspec: ${{TCP_QA_REFS}}
224 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
225 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
226