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