blob: 751804bf1adc68a51c98f319f49acdb3781a636b [file] [log] [blame]
PGlazovddcae962021-11-22 18:42:37 +04001- job-template:
2 project-type: pipeline
3 description: '{job-description}'
4 concurrent: true
5 disabled: false
6 name: released-bm-b300-cicd-queens-ovs-maas
7 parameters:
8 - string:
PGlazov3a9f3332021-11-23 15:40:00 +04009 default: released-bm-b300-cicd-queens-ovs-maas
PGlazovddcae962021-11-22 18:42:37 +040010 description: ''
11 name: LAB_CONFIG_NAME
12 trim: 'false'
13 - string:
14 default: core,kvm,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:
Taras Khlivnyak3753a0a2022-02-11 11:48:14 +020020 default: '108000'
PGlazovddcae962021-11-22 18:42:37 +040021 description: ''
22 name: DRIVETRAIN_STACK_INSTALL_TIMEOUT
23 trim: 'false'
24 - string:
25 default: openstack,ovs,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:
Taras Khlivnyak3753a0a2022-02-11 11:48:14 +020031 default: '108000'
PGlazovddcae962021-11-22 18:42:37 +040032 description: ''
33 name: PLATFORM_STACK_INSTALL_TIMEOUT
34 trim: 'false'
35 - string:
PGlazov3a9f3332021-11-23 15:40:00 +040036 default: "{previous-version}"
PGlazovddcae962021-11-22 18:42:37 +040037 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:
PGlazov3a9f3332021-11-23 15:40:00 +040061 default: released-bm-b300-cicd-queens-ovs-maas
PGlazovddcae962021-11-22 18:42:37 +040062 description: ''
63 name: ENV_NAME
64 trim: 'false'
65 - string:
PGlazov3a9f3332021-11-23 15:40:00 +040066 default: ''
PGlazovddcae962021-11-22 18:42:37 +040067 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:
73 default: refs/tags/{previous-version}
74 description: reference to patchset in pipeline-library
75 name: PIPELINE_LIBRARY_REF
76 trim: 'false'
77 - string:
78 default: refs/tags/{previous-version}
79 description: reference to patchset in mk-pipelines
80 name: MK_PIPELINES_REF
81 trim: 'false'
82 - string:
83 default: refs/tags/{previous-version}
84 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
85 value
86 name: COOKIECUTTER_TEMPLATE_COMMIT
87 trim: 'false'
88 - string:
89 default: refs/tags/{previous-version}
90 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
91 value
92 name: SALT_MODELS_SYSTEM_COMMIT
93 trim: 'false'
94 - string:
PGlazov313e7592022-04-07 08:49:29 +040095 default: |-
96 --keep-duplicates --maxfail=1 \
PGlazov70093b42022-04-26 14:50:44 +040097 tcp_tests/tests/system/test_deploy_250_computes.py \
PGlazov313e7592022-04-07 08:49:29 +040098 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_tempest \
99 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_func_sanity \
100 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight
PGlazovddcae962021-11-22 18:42:37 +0400101 description: |-
102 Pytest option -k or -m, with expression to select necessary tests.
103 Additional pytest options are allowed.
104 name: RUN_TEST_OPTS
105 trim: 'false'
106 - bool:
107 default: true
108 description: ''
109 name: SHUTDOWN_ENV_ON_TEARDOWN
110 - string:
111 default: ''
112 description: ''
113 name: COOKIECUTTER_REF_CHANGE
114 trim: 'false'
115 - string:
PGlazov3a9f3332021-11-23 15:40:00 +0400116 default: ''
PGlazovddcae962021-11-22 18:42:37 +0400117 description: ''
118 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
119 trim: 'false'
120 - string:
121 default: '[MCP1.1_QUEENS]Tempest'
122 description: ''
123 name: TEMPEST_TEST_SUITE_NAME
124 trim: 'false'
125 - string:
126 default: queens
127 description: ''
128 name: TEMPEST_IMAGE_VERSION
129 trim: 'false'
130 - string:
PGlazov3a9f3332021-11-23 15:40:00 +0400131 default: ''
PGlazovddcae962021-11-22 18:42:37 +0400132 description: ''
133 name: UPDATE_REPO_CUSTOM_TAG
134 trim: 'false'
135 - bool:
136 default: true
137 description: If set, reports will be created in TestRail for this build
138 name: REPORT_TO_TESTRAIL
139 - choice:
140 choices:
141 - heat
142 - devops
143 description: ''
144 name: ENV_MANAGER
145 - string:
146 default: https://keystone.ic-eu.ssl.mirantis.net/v3
147 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
148 name: OS_AUTH_URL
149 trim: 'false'
150 - string:
151 default: sre-team
152 description: OpenStack project (tenant) name
153 name: OS_PROJECT_NAME
154 trim: 'false'
155 - string:
156 default: default
157 description: OpenStack user domain name
158 name: OS_USER_DOMAIN_NAME
159 trim: 'false'
160 - string:
161 default: sre-qa-ci-eu
162 description: Jenkins credentials ID with username and password to create a
163 heat stack in OpenStack
164 name: OS_CREDENTIALS
165 trim: 'false'
166 - string:
167 default: eu-cloud-low-flavors.env
168 description: |-
169 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/
170 , for example: microcloud-8116.env
171 name: LAB_PARAM_DEFAULTS
172 trim: 'false'
173 - string:
174 default: refs/tags/{previous-version}
175 description: ''
176 name: JENKINS_PIPELINE_BRANCH
177 trim: 'false'
178 - string:
179 default: refs/tags/{previous-version}
180 description: ''
181 name: MCP_COMMON_SCRIPTS_REFS
182 trim: 'false'
183 - string:
184 default: proposed
PGlazov3a9f3332021-11-23 15:40:00 +0400185 description: "{previous-version}"
PGlazovddcae962021-11-22 18:42:37 +0400186 name: UPDATE_VERSION
187 trim: 'false'
188 - string:
189 name: IPMI_CREDS
190 default: 'lab_engineer'
191 - string:
192 default: ''
193 description: ''
194 name: TEMPEST_EXTRA_ARGS
195 trim: 'false'
196 - password:
197 name: CISCO_PASS
198 default: '1fac0DlhILBo'
199 - string:
200 default: ''
201 description: ''
202 name: SALT_MODELS_SYSTEM_REF_CHANGE
203 trim: 'false'
204 - string:
205 default: ''
206 description: ''
207 name: BATCH_SIZE
208 trim: 'false'
209 - bool:
210 default: false
211 description: Whether to perform dist-upgrade on virtual nodes during deployment
212 name: DIST_UPGRADE_NODES
213 - bool:
214 default: true
215 description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment'
216 name: UPGRADE_SALTSTACK
PGlazov3a9f3332021-11-23 15:40:00 +0400217 - bool:
218 name: RUN_UPGRADE_AFTER_JOB
219 default: true
220 description: "Upgrade and test after deploy?"
PGlazovddcae962021-11-22 18:42:37 +0400221 pipeline-scm:
222 lightweight-checkout: false
223 scm:
224 - git:
225 branches:
226 - FETCH_HEAD
227 refspec: ${{TCP_QA_REFS}}
228 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
229 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
Vladimir Khlyunev5ad0dbc2022-09-27 20:46:34 +0000230 build-discarder:
231 days-to-keep: 365
232 artifact-days-to-keep: 60