blob: ab8613d3fb65e9b488be8c416c17b7a294d93c77 [file] [log] [blame]
Pavel Glazov64518f72024-02-28 20:32:10 +04001- job-template:
2 project-type: pipeline
3 description: '{job-description}'
4 concurrent: true
5 disabled: false
6 name: bm-cicd-queens-ovs-cl-maas
7 parameters:
8 - string:
9 default: bm-cicd-queens-ovs-cl-maas
10 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:
20 default: '24000'
21 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:
31 default: '24000'
32 description: ''
33 name: PLATFORM_STACK_INSTALL_TIMEOUT
34 trim: 'false'
35 - string:
36 default: 2019.2.0
37 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: bm-cicd-queens-ovs-cl-maas
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:
73 default: refs/heads/release/proposed/2019.2.0
74 description: reference to patchset in pipeline-library
75 name: PIPELINE_LIBRARY_REF
76 trim: 'false'
77 - string:
78 default: refs/heads/release/proposed/2019.2.0
79 description: reference to patchset in mk-pipelines
80 name: MK_PIPELINES_REF
81 trim: 'false'
82 - string:
83 default: release/proposed/2019.2.0
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: release/proposed/2019.2.0
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:
95 default: -m "run_cvp_func_sanity|run_cvp_tempest|run_stacklight"
96 description: |-
97 Pytest option -k or -m, with expression to select necessary tests.
98 Additional pytest options are allowed.
99 name: RUN_TEST_OPTS
100 trim: 'false'
101 - bool:
102 default: true
103 description: ''
104 name: SHUTDOWN_ENV_ON_TEARDOWN
105 - string:
106 default: ''
107 description: ''
108 name: COOKIECUTTER_REF_CHANGE
109 trim: 'false'
110 - string:
111 default: ''
112 description: ''
113 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
114 trim: 'false'
115 - string:
116 default: '[MCP1.1_QUEENS]Tempest'
117 description: ''
118 name: TEMPEST_TEST_SUITE_NAME
119 trim: 'false'
120 - string:
121 default: queens
122 description: ''
123 name: TEMPEST_IMAGE_VERSION
124 trim: 'false'
125 - string:
126 default: proposed
127 description: ''
128 name: UPDATE_REPO_CUSTOM_TAG
129 trim: 'false'
130 - bool:
131 default: true
132 description: If set, reports will be created in TestRail for this build
133 name: REPORT_TO_TESTRAIL
134 - choice:
135 choices:
136 - heat
137 - devops
138 description: ''
139 name: ENV_MANAGER
140 - string:
141 default: https://keystone.ic-eu.ssl.mirantis.net/v3
142 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
143 name: OS_AUTH_URL
144 trim: 'false'
145 - string:
146 default: sre-team
147 description: OpenStack project (tenant) name
148 name: OS_PROJECT_NAME
149 trim: 'false'
150 - string:
151 default: default
152 description: OpenStack user domain name
153 name: OS_USER_DOMAIN_NAME
154 trim: 'false'
155 - string:
156 default: sre-qa-ci-eu
157 description: Jenkins credentials ID with username and password to create a
158 heat stack in OpenStack
159 name: OS_CREDENTIALS
160 trim: 'false'
161 - string:
162 default: eu-cloud-low-flavors.env
163 description: |-
164 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/
165 , for example: microcloud-8116.env
166 name: LAB_PARAM_DEFAULTS
167 trim: 'false'
168 - string:
169 default: release/proposed/2019.2.0
170 description: ''
171 name: JENKINS_PIPELINE_BRANCH
172 trim: 'false'
173 - string:
174 default: refs/heads/release/proposed/2019.2.0
175 description: ''
176 name: MCP_COMMON_SCRIPTS_REFS
177 trim: 'false'
178 - string:
179 default: proposed
180 description: ''
181 name: UPDATE_VERSION
182 trim: 'false'
183 - string:
Pavel Glazovfc7ab0e2024-05-20 18:53:40 +0400184 name: UPDATES_MIRANTIS_VERSION
185 default: 'staging'
186 description: |
187 Overwrite subsection of updates.mirantis.com repository.
188 Effective only if enabled in cookiecutter context!
189 - string:
Pavel Glazov64518f72024-02-28 20:32:10 +0400190 name: IPMI_CREDS
191 default: 'lab_engineer'
192 - string:
193 default: ''
194 description: ''
195 name: TEMPEST_EXTRA_ARGS
196 trim: 'false'
197 - string:
198 name: CISCO_PASS
199 default: '1fac0DlhILBo'
200 - string:
201 default: ''
202 description: ''
203 name: SALT_MODELS_SYSTEM_REF_CHANGE
204 trim: 'false'
205 - string:
206 default: ''
207 description: ''
208 name: BATCH_SIZE
209 trim: 'false'
210 - bool:
Pavel Glazov24a8bcf2024-08-23 15:27:59 +0400211 default: true
Pavel Glazov64518f72024-02-28 20:32:10 +0400212 description: Whether to perform dist-upgrade on virtual nodes during deployment
213 name: DIST_UPGRADE_NODES
214 - bool:
215 default: true
216 description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment'
217 name: UPGRADE_SALTSTACK
218 - text:
219 default: ''
220 description: |-
221 Add env vars for deploy and testing
222 name: EXTRA_VARS
223 trim: 'false'
224 pipeline-scm:
225 lightweight-checkout: false
226 scm:
227 - git:
228 branches:
229 - FETCH_HEAD
230 refspec: ${{TCP_QA_REFS}}
231 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
232 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
233 logrotate:
234 daysToKeep: 365