blob: 7ea4e64d5fbdcce62d0e600bb0e4354a107af260 [file] [log] [blame]
Sergey Galkin24ebd762020-01-14 14:36:34 +04001- job-template:
2 project-type: pipeline
3 description: '{job-description}'
Hanna Arhipova4c8729f2020-04-15 13:21:22 +03004 concurrent: false
Sergey Galkin24ebd762020-01-14 14:36:34 +04005 name: 2019.2.0-heat-cicd-queens-dvr-sl
Hanna Arhipova83761632020-05-05 13:53:17 +03006 # 'disabled' and 'timed' option are defined in the project.yaml
7 disabled: '{obj:disabled}'
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +01008 triggers:
Hanna Arhipova83761632020-05-05 13:53:17 +03009 - timed: '{obj:trigger_time}'
Sergey Galkin24ebd762020-01-14 14:36:34 +040010 parameters:
11 - string:
12 default: heat-cicd-queens-dvr-sl
13 description: ''
14 name: LAB_CONFIG_NAME
15 trim: 'false'
16 - string:
17 default: core,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:
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
30 (openstack and additional components)
31 name: PLATFORM_STACK_INSTALL
32 trim: 'false'
33 - string:
Hanna Arhipovad331eb92020-04-08 18:13:16 +030034 default: '15000'
Sergey Galkin24ebd762020-01-14 14:36:34 +040035 description: ''
36 name: PLATFORM_STACK_INSTALL_TIMEOUT
37 trim: 'false'
38 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030039 default: "{current-version}"
Sergey Galkin24ebd762020-01-14 14:36:34 +040040 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:
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +010049 default: '/home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2'
Sergey Galkin24ebd762020-01-14 14:36:34 +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:
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +010059 default: 'cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso'
Sergey Galkin24ebd762020-01-14 14:36:34 +040060 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-cicd-queens-dvr-sl
65 description: ''
66 name: ENV_NAME
67 trim: 'false'
Hanna Arhipova31cb1d82021-01-27 09:41:11 +020068 - bool:
69 default: false
70 description: 'Add extra node to heat stack. Node without a role and with salt-minion'
71 name: DEPLOY_EMPTY_NODE
Sergey Galkin24ebd762020-01-14 14:36:34 +040072 - string:
73 default: ''
74 description: |-
75 Example: refs/changes/89/411189/36
76 (for now - only one reference allowed)
77 name: TCP_QA_REFS
78 trim: 'false'
79 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030080 default: refs/tags/{current-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +040081 description: reference to patchset in pipeline-library
82 name: PIPELINE_LIBRARY_REF
83 trim: 'false'
84 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030085 default: refs/tags/{current-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +040086 description: reference to patchset in mk-pipelines
87 name: MK_PIPELINES_REF
88 trim: 'false'
89 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030090 default: refs/tags/{current-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +040091 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
92 value
93 name: COOKIECUTTER_TEMPLATE_COMMIT
94 trim: 'false'
95 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030096 default: refs/tags/{current-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +040097 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
98 value
99 name: SALT_MODELS_SYSTEM_COMMIT
100 trim: 'false'
101 - string:
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100102 default: -m "run_cvp_func_sanity|run_cvp_tempest|run_stacklight"
Sergey Galkin24ebd762020-01-14 14:36:34 +0400103 description: |-
104 Pytest option -k or -m, with expression to select necessary tests.
105 Additional pytest options are allowed.
106 name: RUN_TEST_OPTS
107 trim: 'false'
108 - bool:
109 default: true
110 description: ''
111 name: SHUTDOWN_ENV_ON_TEARDOWN
112 - string:
113 default: ''
114 description: ''
115 name: COOKIECUTTER_REF_CHANGE
116 trim: 'false'
117 - string:
118 default: ''
119 description: ''
120 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
121 trim: 'false'
122 - string:
123 default: '[MCP1.1_QUEENS]Tempest'
124 description: ''
125 name: TEMPEST_TEST_SUITE_NAME
126 trim: 'false'
127 - string:
128 default: queens
129 description: ''
130 name: TEMPEST_IMAGE_VERSION
131 trim: 'false'
132 - string:
133 default: ''
134 description: ''
135 name: TEMPEST_TARGET
136 trim: 'false'
137 - string:
138 default: ''
139 description: ''
140 name: UPDATE_REPO_CUSTOM_TAG
141 trim: 'false'
142 - bool:
143 default: true
144 description: If set, reports will be created in TestRail for this build
145 name: REPORT_TO_TESTRAIL
146 - choice:
147 choices:
148 - heat
149 - devops
150 description: ''
151 name: ENV_MANAGER
152 - string:
Taras Khlivnyak330f7272021-11-03 22:52:26 +0200153 default: https://keystone.ic-eu.ssl.mirantis.net/v3
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100154 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400155 name: OS_AUTH_URL
156 trim: 'false'
157 - string:
158 default: sre-team
159 description: OpenStack project (tenant) name
160 name: OS_PROJECT_NAME
161 trim: 'false'
162 - string:
Hanna Arhipova95659432020-01-28 14:24:02 +0200163 default: default
Sergey Galkin24ebd762020-01-14 14:36:34 +0400164 description: OpenStack user domain name
165 name: OS_USER_DOMAIN_NAME
166 trim: 'false'
167 - string:
Hanna Arhipova95659432020-01-28 14:24:02 +0200168 default: sre-qa-ci-eu
Sergey Galkin24ebd762020-01-14 14:36:34 +0400169 description: Jenkins credentials ID with username and password to create a
170 heat stack in OpenStack
171 name: OS_CREDENTIALS
172 trim: 'false'
173 - string:
Hanna Arhipovac692a122021-04-13 11:47:18 +0300174 default: eu-cloud-low-flavors.env
Sergey Galkin24ebd762020-01-14 14:36:34 +0400175 description: |-
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100176 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/,
177 for example: microcloud-8116.env
Sergey Galkin24ebd762020-01-14 14:36:34 +0400178 name: LAB_PARAM_DEFAULTS
179 trim: 'false'
180 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +0300181 default: refs/tags/{current-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +0400182 description: ''
183 name: JENKINS_PIPELINE_BRANCH
184 trim: 'false'
185 - string:
186 default: ''
187 description: ''
188 name: TEMPEST_PATTERN
189 trim: 'false'
190 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +0300191 default: refs/tags/{current-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +0400192 description: ''
193 name: MCP_COMMON_SCRIPTS_REFS
194 trim: 'false'
195 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +0300196 default: "{current-version}"
Hanna Arhipovac7bd0232020-03-03 13:11:31 +0200197 description: 'for formula repo http://mirror.mirantis.com/update/UPDATE_VERSION/salt-formulas/xenial'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400198 name: UPDATE_VERSION
199 trim: 'false'
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100200 - string:
201 default: ''
202 description: ''
203 name: TEMPEST_EXTRA_ARGS
204 trim: 'false'
205 - bool:
206 default: false
207 description: Whether to perform dist-upgrade on virtual nodes during deployment
208 name: DIST_UPGRADE_NODES
PGlazoved19b352020-05-21 16:42:27 +0400209 - bool:
PGlazova5039252021-10-06 21:40:01 +0400210 default: true
PGlazoved19b352020-05-21 16:42:27 +0400211 description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment'
212 name: UPGRADE_SALTSTACK
Pavel Glazov72eb8942022-11-23 15:15:50 +0400213 - text:
214 default: ''
215 description: |-
216 Add env vars for deploy and testing
217 name: EXTRA_VARS
218 trim: 'false'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400219 pipeline-scm:
220 lightweight-checkout: false
221 scm:
222 - git:
223 branches:
224 - FETCH_HEAD
225 refspec: ${{TCP_QA_REFS}}
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100226 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa.git
Sergey Galkin24ebd762020-01-14 14:36:34 +0400227 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
Vladimir Khlyunev82b374f2022-09-27 20:51:58 +0000228 logrotate:
229 daysToKeep: 365