blob: 150274fe14cc8864537f94329be7dbe87be3efec [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
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +01007 triggers:
8 - timed: H(30-55) 0 * * 1-7
Sergey Galkin24ebd762020-01-14 14:36:34 +04009 parameters:
10 - string:
11 default: released-heat-cicd-pike-dvr-sl
12 description: ''
13 name: LAB_CONFIG_NAME
14 trim: 'false'
15 - string:
16 default: core,cicd
17 description: Comma-separated list of stacks to deploy the drivetrain (salt
18 cluster and cicd nodes)
19 name: DRIVETRAIN_STACK_INSTALL
20 trim: 'false'
21 - string:
Hanna Arhipovaa0cab712020-02-13 22:12:35 +020022 default: '15000'
Sergey Galkin24ebd762020-01-14 14:36:34 +040023 description: ''
24 name: DRIVETRAIN_STACK_INSTALL_TIMEOUT
25 trim: 'false'
26 - string:
27 default: openstack,ovs,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:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +020038 default: 2019.2.7
Sergey Galkin24ebd762020-01-14 14:36:34 +040039 description: ''
40 name: MCP_VERSION
41 trim: 'false'
42 - string:
Hanna Arhipovac2965a42020-01-21 12:27:33 +020043 default: sre-team-infra
Sergey Galkin24ebd762020-01-14 14:36:34 +040044 description: ''
45 name: NODE_NAME
46 trim: 'false'
47 - string:
Hanna Arhipovac2965a42020-01-21 12:27:33 +020048 default: /home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2
Sergey Galkin24ebd762020-01-14 14:36:34 +040049 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-pike-dvr-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:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +020075 default: refs/tags/2019.2.7
Sergey Galkin24ebd762020-01-14 14:36:34 +040076 description: reference to patchset in pipeline-library
77 name: PIPELINE_LIBRARY_REF
78 trim: 'false'
79 - string:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +020080 default: refs/tags/2019.2.7
Sergey Galkin24ebd762020-01-14 14:36:34 +040081 description: reference to patchset in mk-pipelines
82 name: MK_PIPELINES_REF
83 trim: 'false'
84 - string:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +020085 default: refs/tags/2019.2.7
Sergey Galkin24ebd762020-01-14 14:36:34 +040086 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
87 value
88 name: COOKIECUTTER_TEMPLATE_COMMIT
89 trim: 'false'
90 - string:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +020091 default: refs/tags/2019.2.7
Sergey Galkin24ebd762020-01-14 14:36:34 +040092 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
93 value
94 name: SALT_MODELS_SYSTEM_COMMIT
95 trim: 'false'
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +020096 - text:
97 default: |-
98 --keep-duplicates --maxfail=2
99 tcp_tests/tests/system/test_3rdparty_suites.py::Test3rdpartySuites::test_run_tempest
100 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_mcp_update.py::TestOpenstackUpdate
105 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_galera
106 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_rabbit
107 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_stacklight
108 tcp_tests/tests/system/test_mcp_update.py::TestUpdateMcpCluster::test_update_ceph
109
110 tcp_tests/tests/system/test_3rdparty_suites.py::Test3rdpartySuites::test_run_tempest
111 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_func_sanity
112 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight
113
Sergey Galkin24ebd762020-01-14 14:36:34 +0400114 description: |-
115 Pytest option -k or -m, with expression to select necessary tests.
116 Additional pytest options are allowed.
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +0200117 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 +0400118 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_PIKE]Tempest'
136 description: ''
137 name: TEMPEST_TEST_SUITE_NAME
138 trim: 'false'
139 - string:
140 default: pike
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: ''
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
Hanna Arhipova95659432020-01-28 14:24:02 +0200166 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400167 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:
Hanna Arhipova95659432020-01-28 14:24:02 +0200175 default: default
Sergey Galkin24ebd762020-01-14 14:36:34 +0400176 description: OpenStack user domain name
177 name: OS_USER_DOMAIN_NAME
178 trim: 'false'
179 - string:
Hanna Arhipova95659432020-01-28 14:24:02 +0200180 default: sre-qa-ci-eu
Sergey Galkin24ebd762020-01-14 14:36:34 +0400181 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 Arhipova95659432020-01-28 14:24:02 +0200186 default: eu-cloud.env
Sergey Galkin24ebd762020-01-14 14:36:34 +0400187 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 Arhipovab0bfccd2020-01-15 11:19:00 +0200193 default: refs/tags/2019.2.7
Sergey Galkin24ebd762020-01-14 14:36:34 +0400194 description: ''
195 name: JENKINS_PIPELINE_BRANCH
196 trim: 'false'
197 - string:
198 default: ''
199 description: ''
200 name: TEMPEST_PATTERN
201 trim: 'false'
202 - string:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +0200203 default: refs/tags/2019.2.7
Sergey Galkin24ebd762020-01-14 14:36:34 +0400204 description: ''
205 name: MCP_COMMON_SCRIPTS_REFS
206 trim: 'false'
207 - string:
Hanna Arhipovab0bfccd2020-01-15 11:19:00 +0200208 default: 2019.2.7
Hanna Arhipovac335b242020-01-20 18:03:23 +0200209 description: 'for formula repo http://mirror.mirantis.com/update/UPDATE_VERSION/salt-formulas/xenial'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400210 name: UPDATE_VERSION
211 trim: 'false'
Dmitriy Kruglov758f99c2020-02-04 12:04:31 +0100212 - bool:
213 default: false
214 description: Whether to perform dist-upgrade on virtual nodes during deployment
215 name: DIST_UPGRADE_NODES
Sergey Galkin24ebd762020-01-14 14:36:34 +0400216 pipeline-scm:
217 lightweight-checkout: false
218 scm:
219 - git:
220 branches:
221 - FETCH_HEAD
222 refspec: ${{TCP_QA_REFS}}
223 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
224 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy