blob: 313f9c6fc91bca0de91e42ab6ba6304de227dd94 [file] [log] [blame]
Sergey Galkinb9cdb642020-01-16 14:01:40 +04001- job-template:
2 project-type: pipeline
3 concurrent: true
4 description: |-
5 {job-description}
6 Runs by
7 H(5-15) 00 * * 1,4
8 disabled: false
9 name: heat-bm-cicd-queens-contrail-sl
10 parameters:
11 - string:
12 default: heat-bm-cicd-queens-contrail-sl
13 description: ''
14 name: LAB_CONFIG_NAME
15 trim: 'false'
16 - string:
17 default: core,kvm,cicd
18 description: Comma-separated list of stacks to deploy the drivetrain (salt
19 cluster and cicd nodes)
20 name: DRIVETRAIN_STACK_INSTALL
21 trim: 'false'
22 - string:
23 default: '24000'
24 description: ''
25 name: DRIVETRAIN_STACK_INSTALL_TIMEOUT
26 trim: 'false'
27 - string:
28 default: openstack,contrail,ceph,stacklight
29 description: Comma-separated list of stacks to deploy the target platform
30 (openstack and additional components)
31 name: PLATFORM_STACK_INSTALL
32 trim: 'false'
33 - string:
34 default: '24000'
35 description: ''
36 name: PLATFORM_STACK_INSTALL_TIMEOUT
37 trim: 'false'
38 - string:
39 default: 2019.2.0
40 description: ''
41 name: MCP_VERSION
42 trim: 'false'
43 - string:
44 default: sre-team-infra
45 description: ''
46 name: NODE_NAME
47 trim: 'false'
48 - string:
Hanna Arhipovac2965a42020-01-21 12:27:33 +020049 default: /home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2
Sergey Galkinb9cdb642020-01-16 14:01:40 +040050 description: ''
51 name: MCP_IMAGE_PATH1604
52 trim: 'false'
53 - string:
54 default: /home/jenkins/images/cfg01-day01.qcow2
55 description: ''
56 name: IMAGE_PATH_CFG01_DAY01
57 trim: 'false'
58 - string:
59 default: cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso
60 description: ISO name that will be generated and downloaded to the /home/jenkins/images/
61 name: CFG01_CONFIG_IMAGE_NAME
62 trim: 'false'
63 - string:
64 default: heat-bm-cicd-queens-contrail-sl
65 description: ''
66 name: ENV_NAME
67 trim: 'false'
68 - string:
69 default: ''
70 description: |-
71 Example: refs/changes/89/411189/36
72 (for now - only one reference allowed)
73 name: TCP_QA_REFS
74 trim: 'false'
75 - string:
76 default: refs/heads/release/proposed/2019.2.0
77 description: reference to patchset in pipeline-library
78 name: PIPELINE_LIBRARY_REF
79 trim: 'false'
80 - string:
81 default: refs/heads/release/proposed/2019.2.0
82 description: reference to patchset in mk-pipelines
83 name: MK_PIPELINES_REF
84 trim: 'false'
85 - string:
86 default: release/proposed/2019.2.0
87 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
88 value
89 name: COOKIECUTTER_TEMPLATE_COMMIT
90 trim: 'false'
91 - string:
92 default: release/proposed/2019.2.0
93 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
94 value
95 name: SALT_MODELS_SYSTEM_COMMIT
96 trim: 'false'
97 - string:
Hanna Arhipova653d5562020-08-03 15:32:09 +030098 default: -m "run_cvp_func_sanity|run_cvp_tempest|run_stacklight"
Sergey Galkinb9cdb642020-01-16 14:01:40 +040099 description: |-
100 Pytest option -k or -m, with expression to select necessary tests.
101 Additional pytest options are allowed.
102 name: RUN_TEST_OPTS
103 trim: 'false'
104 - bool:
105 default: true
106 description: ''
107 name: SHUTDOWN_ENV_ON_TEARDOWN
108 - string:
109 default: ''
110 description: ''
111 name: COOKIECUTTER_REF_CHANGE
112 trim: 'false'
113 - string:
114 default: ''
115 description: ''
116 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
117 trim: 'false'
118 - string:
119 default: '[MCP1.1_QUEENS]Tempest'
120 description: ''
121 name: TEMPEST_TEST_SUITE_NAME
122 trim: 'false'
123 - string:
124 default: queens
125 description: ''
126 name: TEMPEST_IMAGE_VERSION
127 trim: 'false'
128 - string:
129 default: ''
130 description: ''
131 name: TEMPEST_TARGET
132 trim: 'false'
133 - string:
134 default: proposed
135 description: ''
136 name: UPDATE_REPO_CUSTOM_TAG
137 trim: 'false'
138 - bool:
139 default: true
140 description: If set, reports will be created in TestRail for this build
141 name: REPORT_TO_TESTRAIL
142 - choice:
143 choices:
144 - heat
145 - devops
146 description: ''
147 name: ENV_MANAGER
148 - string:
Taras Khlivnyak330f7272021-11-03 22:52:26 +0200149 default: https://keystone.ic-eu.ssl.mirantis.net/v3
Hanna Arhipova95659432020-01-28 14:24:02 +0200150 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
Sergey Galkinb9cdb642020-01-16 14:01:40 +0400151 name: OS_AUTH_URL
152 trim: 'false'
153 - string:
154 default: sre-team
155 description: OpenStack project (tenant) name
156 name: OS_PROJECT_NAME
157 trim: 'false'
158 - string:
159 default: default
160 description: OpenStack user domain name
161 name: OS_USER_DOMAIN_NAME
162 trim: 'false'
163 - string:
164 default: sre-qa-ci-eu
165 description: Jenkins credentials ID with username and password to create a
166 heat stack in OpenStack
167 name: OS_CREDENTIALS
168 trim: 'false'
169 - string:
Hanna Arhipovac692a122021-04-13 11:47:18 +0300170 default: eu-cloud-low-flavors.env
Sergey Galkinb9cdb642020-01-16 14:01:40 +0400171 description: |-
172 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/
173 , for example: microcloud-8116.env
174 name: LAB_PARAM_DEFAULTS
175 trim: 'false'
176 - string:
177 default: release/proposed/2019.2.0
178 description: ''
179 name: JENKINS_PIPELINE_BRANCH
180 trim: 'false'
181 - string:
182 default: refs/heads/release/proposed/2019.2.0
183 description: ''
184 name: MCP_COMMON_SCRIPTS_REFS
185 trim: 'false'
186 - string:
187 default: proposed
188 description: ''
189 name: UPDATE_VERSION
190 trim: 'false'
Hanna Arhipovacd1bcdb2021-04-23 18:47:48 +0300191 - string:
192 name: IPMI_CREDS
193 default: 'lab_engineer'
Sergey Galkinb9cdb642020-01-16 14:01:40 +0400194 - string:
195 default: ''
196 description: ''
197 name: TEMPEST_EXTRA_ARGS
198 trim: 'false'
199 - bool:
200 default: true
201 description: ''
202 name: SKIP_SYNC_TIME
203 - string:
204 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*
205 description: Exclude tungsten tests by default
206 name: TEMPEST_PATTERN
207 trim: 'false'
208 - string:
209 default: ''
210 description: Comma separated list of additional stacks to delete
211 name: ADDITIONAL_STACKS
212 trim: 'false'
213 - string:
214 default: ''
215 description: ''
216 name: BATCH_SIZE
217 trim: 'false'
Dmitriy Kruglov758f99c2020-02-04 12:04:31 +0100218 - bool:
219 default: false
220 description: Whether to perform dist-upgrade on virtual nodes during deployment
221 name: DIST_UPGRADE_NODES
PGlazoved19b352020-05-21 16:42:27 +0400222 - bool:
PGlazova5039252021-10-06 21:40:01 +0400223 default: true
PGlazoved19b352020-05-21 16:42:27 +0400224 description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment'
225 name: UPGRADE_SALTSTACK
Sergey Galkinb9cdb642020-01-16 14:01:40 +0400226 pipeline-scm:
227 lightweight-checkout: false
228 scm:
229 - git:
230 branches:
231 - FETCH_HEAD
232 refspec: ${{TCP_QA_REFS}}
233 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
234 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
Vladimir Khlyunev82b374f2022-09-27 20:51:58 +0000235 logrotate:
236 daysToKeep: 365