blob: e138c6ee4f10a4d872ccc00ca5078190d685c56a [file] [log] [blame]
Sergey Galkin24ebd762020-01-14 14:36:34 +04001---
2- job-template:
3 project-type: pipeline
4 concurrent: true
Sergey Galkin24ebd762020-01-14 14:36:34 +04005 name: heat-cicd-queens-dvr-sl
6 description: '{job-description}'
Hanna Arhipova83761632020-05-05 13:53:17 +03007 # 'disabled' and 'timed' option are defined in the project.yaml
8 disabled: '{obj:disabled}'
Sergey Galkin24ebd762020-01-14 14:36:34 +04009 triggers:
Hanna Arhipova83761632020-05-05 13:53:17 +030010 - timed: '{obj:trigger_time}'
Sergey Galkin24ebd762020-01-14 14:36:34 +040011 parameters:
12 - string:
13 default: heat-cicd-queens-dvr-sl
14 description: ''
15 name: LAB_CONFIG_NAME
16 trim: 'false'
17 - string:
18 default: core,cicd
19 description: Comma-separated list of stacks to deploy the drivetrain (salt cluster and cicd nodes)
20 name: DRIVETRAIN_STACK_INSTALL
21 trim: 'false'
22 - string:
Hanna Arhipovad331eb92020-04-08 18:13:16 +030023 default: '18000'
Sergey Galkin24ebd762020-01-14 14:36:34 +040024 description: ''
25 name: DRIVETRAIN_STACK_INSTALL_TIMEOUT
26 trim: 'false'
27 - string:
28 default: openstack,ovs,ceph,stacklight
29 description: Comma-separated list of stacks to deploy the target platform (openstack and additional components)
30 name: PLATFORM_STACK_INSTALL
31 trim: 'false'
32 - string:
Hanna Arhipovad331eb92020-04-08 18:13:16 +030033 default: '15000'
Sergey Galkin24ebd762020-01-14 14:36:34 +040034 description: ''
35 name: PLATFORM_STACK_INSTALL_TIMEOUT
36 trim: 'false'
37 - string:
38 default: 2019.2.0
39 description: ''
40 name: MCP_VERSION
41 trim: 'false'
42 - string:
43 default: sre-team-infra
44 description: ''
45 name: NODE_NAME
46 trim: 'false'
47 - string:
Hanna Arhipovac2965a42020-01-21 12:27:33 +020048 default: /home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2
Sergey Galkin24ebd762020-01-14 14:36:34 +040049 description: ''
50 name: MCP_IMAGE_PATH1604
51 trim: 'false'
52 - string:
53 default: /home/jenkins/images/cfg01-day01.qcow2
54 description: ''
55 name: IMAGE_PATH_CFG01_DAY01
56 trim: 'false'
57 - string:
58 default: cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso
59 description: ISO name that will be generated and downloaded to the /home/jenkins/images/
60 name: CFG01_CONFIG_IMAGE_NAME
61 trim: 'false'
62 - string:
63 default: heat-cicd-queens-dvr-sl
64 description: ''
65 name: ENV_NAME
66 trim: 'false'
Hanna Arhipova31cb1d82021-01-27 09:41:11 +020067 - bool:
68 default: true
69 description: 'Add extra node to heat stack. Node without a role and with salt-minion'
70 name: DEPLOY_EMPTY_NODE
Sergey Galkin24ebd762020-01-14 14:36:34 +040071 - string:
72 default: ''
73 description: |-
74 Example: refs/changes/89/411189/36
75 (for now - only one reference allowed)
76 name: TCP_QA_REFS
77 trim: 'false'
78 - string:
79 default: refs/heads/release/proposed/2019.2.0
80 description: reference to patchset in pipeline-library
81 name: PIPELINE_LIBRARY_REF
82 trim: 'false'
83 - string:
84 default: refs/heads/release/proposed/2019.2.0
85 description: reference to patchset in mk-pipelines
86 name: MK_PIPELINES_REF
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: COOKIECUTTER_TEMPLATE_COMMIT
93 trim: 'false'
94 - string:
95 default: release/proposed/2019.2.0
96 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
97 value
98 name: SALT_MODELS_SYSTEM_COMMIT
99 trim: 'false'
100 - string:
Dmitriy Kruglov674b8012020-02-05 21:07:11 +0100101 default: -m "run_cvp_func_sanity|run_cvp_tempest|run_stacklight"
Sergey Galkin24ebd762020-01-14 14:36:34 +0400102 description: |-
103 Pytest option -k or -m, with expression to select necessary tests.
104 Additional pytest options are allowed.
105 name: RUN_TEST_OPTS
106 trim: 'false'
107 - bool:
108 default: true
109 description: ''
110 name: SHUTDOWN_ENV_ON_TEARDOWN
111 - string:
112 default: ''
113 description: ''
114 name: COOKIECUTTER_REF_CHANGE
115 trim: 'false'
116 - string:
117 default: ''
118 description: ''
119 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
120 trim: 'false'
121 - string:
122 default: '[MCP1.1_QUEENS]Tempest'
123 description: ''
124 name: TEMPEST_TEST_SUITE_NAME
125 trim: 'false'
126 - string:
127 default: queens
128 description: ''
129 name: TEMPEST_IMAGE_VERSION
130 trim: 'false'
131 - string:
132 default: ''
133 description: ''
134 name: TEMPEST_TARGET
135 trim: 'false'
136 - string:
137 default: proposed
138 description: ''
139 name: UPDATE_REPO_CUSTOM_TAG
140 trim: 'false'
141 - bool:
142 default: true
143 description: If set, reports will be created in TestRail for this build
144 name: REPORT_TO_TESTRAIL
145 - choice:
146 choices:
147 - heat
148 - devops
149 description: ''
150 name: ENV_MANAGER
151 - string:
152 default: https://ic-eu.ssl.mirantis.net:5000/v3
153 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
154 name: OS_AUTH_URL
155 trim: 'false'
156 - string:
157 default: sre-team
158 description: OpenStack project (tenant) name
159 name: OS_PROJECT_NAME
160 trim: 'false'
161 - string:
Hanna Arhipova95659432020-01-28 14:24:02 +0200162 default: default
Sergey Galkin24ebd762020-01-14 14:36:34 +0400163 description: OpenStack user domain name
164 name: OS_USER_DOMAIN_NAME
165 trim: 'false'
166 - string:
Hanna Arhipova95659432020-01-28 14:24:02 +0200167 default: sre-qa-ci-eu
Sergey Galkin24ebd762020-01-14 14:36:34 +0400168 description: Jenkins credentials ID with username and password to create a
169 heat stack in OpenStack
170 name: OS_CREDENTIALS
171 trim: 'false'
172 - string:
Hanna Arhipovac692a122021-04-13 11:47:18 +0300173 default: eu-cloud-low-flavors.env
Sergey Galkin24ebd762020-01-14 14:36:34 +0400174 description: |-
175 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/,
176 for example: microcloud-8116.env
177 name: LAB_PARAM_DEFAULTS
178 trim: 'false'
179 - string:
180 default: release/proposed/2019.2.0
181 description: ''
182 name: JENKINS_PIPELINE_BRANCH
183 trim: 'false'
184 - string:
185 default: ''
186 description: ''
187 name: TEMPEST_PATTERN
188 trim: 'false'
189 - string:
190 default: refs/heads/release/proposed/2019.2.0
191 description: ''
192 name: MCP_COMMON_SCRIPTS_REFS
193 trim: 'false'
194 - string:
195 default: proposed
196 description: ''
197 name: UPDATE_VERSION
198 trim: 'false'
199 - string:
200 default: ''
201 description: ''
202 name: TEMPEST_EXTRA_ARGS
203 trim: 'false'
Dmitriy Kruglov758f99c2020-02-04 12:04:31 +0100204 - bool:
205 default: false
206 description: Whether to perform dist-upgrade on virtual nodes during deployment
207 name: DIST_UPGRADE_NODES
PGlazoved19b352020-05-21 16:42:27 +0400208 - bool:
209 default: false
210 description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment'
211 name: UPGRADE_SALTSTACK
Sergey Galkin24ebd762020-01-14 14:36:34 +0400212 pipeline-scm:
213 lightweight-checkout: false
214 scm:
215 - git:
216 branches:
217 - FETCH_HEAD
218 refspec: ${{TCP_QA_REFS}}
219 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa.git
220 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
221