blob: 7507fa1d38d7968711f7f456312b804dd46f35b6 [file] [log] [blame]
Hanna Arhipova134412f2021-05-18 12:39:45 +03001- job-template:
2 project-type: pipeline
3 description: '{job-description}'
4 concurrent: true
5 disabled: false
6 name: bm-e7-cicd-pike-odl-maas
7 parameters:
8 - string:
9 default: 10.167.11.220
10 description: 'Ip for ODL controller'
11 name: ODL_CONTROLLER_IP
12 trim: 'false'
13 - string:
14 default: bm-e7-cicd-pike-odl-maas
15 description: ''
16 name: LAB_CONFIG_NAME
17 trim: 'false'
18 - string:
19 default: core,kvm,cicd,openstack
20 description: Comma-separated list of stacks to deploy the drivetrain (salt
21 cluster and cicd nodes)
22 name: DRIVETRAIN_STACK_INSTALL
23 trim: 'false'
24 - string:
25 default: '24000'
26 description: ''
27 name: DRIVETRAIN_STACK_INSTALL_TIMEOUT
28 trim: 'false'
29 - string:
30 default: ""
31 description: Comma-separated list of stacks to deploy the target platform
32 (openstack and additional components)
33 name: PLATFORM_STACK_INSTALL
34 trim: 'false'
35 - string:
36 default: '24000'
37 description: ''
38 name: PLATFORM_STACK_INSTALL_TIMEOUT
39 trim: 'false'
40 - string:
41 default: 2019.2.0
42 description: ''
43 name: MCP_VERSION
44 trim: 'false'
45 - string:
Hanna Arhipova6fc7ec92021-09-22 20:34:52 +030046 default: ''
47 description: ''
48 name: SALT_MODELS_SYSTEM_REF_CHANGE
49 trim: 'false'
50 - string:
Hanna Arhipova134412f2021-05-18 12:39:45 +030051 default: sre-team-infra
52 description: ''
53 name: NODE_NAME
54 trim: 'false'
55 - string:
56 default: /home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2
57 description: ''
58 name: MCP_IMAGE_PATH1604
59 trim: 'false'
60 - string:
61 default: /home/jenkins/images/cfg01-day01.qcow2
62 description: ''
63 name: IMAGE_PATH_CFG01_DAY01
64 trim: 'false'
65 - string:
66 default: cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso
67 description: ISO name that will be generated and downloaded to the /home/jenkins/images/
68 name: CFG01_CONFIG_IMAGE_NAME
69 trim: 'false'
70 - string:
71 default: bm-e7-cicd-pike-odl-maas
72 description: ''
73 name: ENV_NAME
74 trim: 'false'
75 - string:
76 default: ''
77 description: |-
78 Example: refs/changes/89/411189/36
79 (for now - only one reference allowed)
80 name: TCP_QA_REFS
81 trim: 'false'
82 - string:
83 default: refs/heads/release/2019.2.0
84 description: reference to patchset in pipeline-library
85 name: PIPELINE_LIBRARY_REF
86 trim: 'false'
87 - string:
88 default: refs/heads/release/2019.2.0
89 description: reference to patchset in mk-pipelines
90 name: MK_PIPELINES_REF
91 trim: 'false'
92 - string:
93 default: release/2019.2.0
94 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
95 value
96 name: COOKIECUTTER_TEMPLATE_COMMIT
97 trim: 'false'
98 - string:
99 default: release/2019.2.0
100 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
101 value
102 name: SALT_MODELS_SYSTEM_COMMIT
103 trim: 'false'
104 - string:
105 default: -m "run_cvp_func_sanity|run_cvp_tempest"
106 description: |-
107 Pytest option -k or -m, with expression to select necessary tests.
108 Additional pytest options are allowed.
109 name: RUN_TEST_OPTS
110 trim: 'false'
111 - bool:
112 default: true
113 description: ''
114 name: SHUTDOWN_ENV_ON_TEARDOWN
115 - string:
116 default: ''
117 description: ''
118 name: COOKIECUTTER_REF_CHANGE
119 trim: 'false'
120 - string:
121 default: ''
122 description: ''
123 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
124 trim: 'false'
125 - string:
126 default: '[MCP1.1_PIKE]Tempest'
127 description: ''
128 name: TEMPEST_TEST_SUITE_NAME
129 trim: 'false'
130 - string:
131 default: pike
132 description: ''
133 name: TEMPEST_IMAGE_VERSION
134 trim: 'false'
135 - string:
136 default: proposed
137 description: ''
138 name: UPDATE_REPO_CUSTOM_TAG
139 trim: 'false'
140 - bool:
141 default: true
142 description: If set, reports will be created in TestRail for this build
143 name: REPORT_TO_TESTRAIL
144 - choice:
145 choices:
146 - heat
147 - devops
148 description: ''
149 name: ENV_MANAGER
150 - string:
Taras Khlivnyak330f7272021-11-03 22:52:26 +0200151 default: https://keystone.ic-eu.ssl.mirantis.net/v3
Hanna Arhipova134412f2021-05-18 12:39:45 +0300152 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
153 name: OS_AUTH_URL
154 trim: 'false'
155 - string:
156 default: sre-team
157 description: OpenStack project (tenant) name
158 name: OS_PROJECT_NAME
159 trim: 'false'
160 - string:
161 default: default
162 description: OpenStack user domain name
163 name: OS_USER_DOMAIN_NAME
164 trim: 'false'
165 - string:
166 default: sre-qa-ci-eu
167 description: Jenkins credentials ID with username and password to create a
168 heat stack in OpenStack
169 name: OS_CREDENTIALS
170 trim: 'false'
171 - string:
172 default: eu-cloud.env
173 description: |-
174 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/
175 , for example: microcloud-8116.env
176 name: LAB_PARAM_DEFAULTS
177 trim: 'false'
178 - string:
179 default: release/2019.2.0
180 description: ''
181 name: JENKINS_PIPELINE_BRANCH
182 trim: 'false'
183 - string:
184 default: refs/heads/release/2019.2.0
185 description: ''
186 name: MCP_COMMON_SCRIPTS_REFS
187 trim: 'false'
188 - string:
189 default: proposed
190 description: ''
191 name: UPDATE_VERSION
192 trim: 'false'
193 - string:
194 name: IPMI_CREDS
195 default: 'e_lab_engineer'
196 - string:
197 default: ''
198 description: ''
199 name: BATCH_SIZE
200 trim: 'false'
201 - bool:
202 default: true
203 description: Whether to perform dist-upgrade on virtual nodes during deployment
204 name: DIST_UPGRADE_NODES
205 - bool:
206 default: true
207 description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment'
208 name: UPGRADE_SALTSTACK
209 pipeline-scm:
210 lightweight-checkout: false
211 scm:
212 - git:
213 branches:
214 - FETCH_HEAD
215 refspec: ${{TCP_QA_REFS}}
216 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
217 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
Vladimir Khlyunev5e9fa7e2022-09-27 04:50:29 +0400218 build-discarder:
219 days-to-keep: 365
220 artifact-days-to-keep: 60
Hanna Arhipova134412f2021-05-18 12:39:45 +0300221