blob: 91f5f18561b8aba4d2eca6e9530721ba9c567754 [file] [log] [blame]
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +01001---
2- job-template:
3 project-type: pipeline
4 description: '{job-description}'
5 concurrent: true
6 disabled: false
7 name: released-heat-cicd-queens-contrail41-sl
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +01008 parameters:
9 - string:
10 default: released-heat-cicd-queens-contrail41-sl
11 description: ''
12 name: LAB_CONFIG_NAME
13 trim: 'false'
14 - string:
15 default: core,cicd
16 description: Comma-separated list of stacks to deploy the drivetrain (salt cluster and cicd nodes)
17 name: DRIVETRAIN_STACK_INSTALL
18 trim: 'false'
19 - string:
Hanna Arhipovad331eb92020-04-08 18:13:16 +030020 default: '18000'
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010021 description: ''
22 name: DRIVETRAIN_STACK_INSTALL_TIMEOUT
23 trim: 'false'
24 - string:
25 default: openstack,contrail,ceph,stacklight
26 description: Comma-separated list of stacks to deploy the target platform
27 (openstack and additional components)
28 name: PLATFORM_STACK_INSTALL
29 trim: 'false'
30 - string:
Hanna Arhipovad331eb92020-04-08 18:13:16 +030031 default: '15000'
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010032 description: ''
33 name: PLATFORM_STACK_INSTALL_TIMEOUT
34 trim: 'false'
35 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030036 default: "{previous-version}"
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010037 description: ''
38 name: MCP_VERSION
39 trim: 'false'
40 - string:
41 default: sre-team-infra
42 description: ''
43 name: NODE_NAME
44 trim: 'false'
45 - string:
46 default: /home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2
47 description: ''
48 name: MCP_IMAGE_PATH1604
49 trim: 'false'
50 - string:
51 default: /home/jenkins/images/cfg01-day01.qcow2
52 description: ''
53 name: IMAGE_PATH_CFG01_DAY01
54 trim: 'false'
55 - string:
56 default: cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso
57 description: ISO name that will be generated and downloaded to the /home/jenkins/images/
58 name: CFG01_CONFIG_IMAGE_NAME
59 trim: 'false'
60 - string:
61 default: released-heat-cicd-queens-contrail41-sl
62 description: ''
63 name: ENV_NAME
64 trim: 'false'
Hanna Arhipova31cb1d82021-01-27 09:41:11 +020065 - bool:
66 default: false
67 description: 'Add extra node to heat stack. Node without a role and with salt-minion'
68 name: DEPLOY_EMPTY_NODE
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010069 - string:
70 default: ''
71 description: |-
72 Example: refs/changes/89/411189/36
73 (for now - only one reference allowed)
74 name: TCP_QA_REFS
75 trim: 'false'
76 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030077 default: refs/tags/{previous-version}
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010078 description: reference to patchset in pipeline-library
79 name: PIPELINE_LIBRARY_REF
80 trim: 'false'
81 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030082 default: refs/tags/{previous-version}
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010083 description: reference to patchset in mk-pipelines
84 name: MK_PIPELINES_REF
85 trim: 'false'
86 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030087 default: refs/tags/{previous-version}
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010088 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} value
89 name: COOKIECUTTER_TEMPLATE_COMMIT
90 trim: 'false'
91 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030092 default: refs/tags/{previous-version}
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +010093 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} value
94 name: SALT_MODELS_SYSTEM_COMMIT
95 trim: 'false'
96 - text:
97 default: |-
Hanna Arhipovaf621ed62020-09-18 10:43:34 +030098 --keep-duplicates --maxfail=1 \
Hanna Arhipova696e0892021-02-08 17:27:01 +020099 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_tempest \
Hanna Arhipova14c8c1f2020-02-20 17:38:55 +0200100 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_func_sanity \
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100101 tcp_tests/tests/system/test_cvp_pipelines.py::TestCvpPipelines::test_run_cvp_stacklight
PGlazov379db222021-06-17 20:15:11 +0400102
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100103 description: |-
104 Pytest option -k or -m, with expression to select necessary tests.
105 Additional pytest options are allowed.
106 Procedure according to https://docs.mirantis.com/mcp/q4-18/mcp-release-notes/mu/mu-7/mu-7-apply-updates.html
107 name: RUN_TEST_OPTS
108 trim: 'false'
109 - bool:
110 default: true
111 description: ''
112 name: SHUTDOWN_ENV_ON_TEARDOWN
113 - string:
114 default: ''
115 description: ''
116 name: COOKIECUTTER_REF_CHANGE
117 trim: 'false'
118 - string:
119 default: ''
120 description: ''
121 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
122 trim: 'false'
123 - string:
124 default: '[MCP1.1_QUEENS]Tempest'
125 description: ''
126 name: TEMPEST_TEST_SUITE_NAME
127 trim: 'false'
128 - string:
129 default: queens
130 description: ''
131 name: TEMPEST_IMAGE_VERSION
132 trim: 'false'
133 - string:
134 default: ''
135 description: ''
136 name: TEMPEST_TARGET
137 trim: 'false'
138 - string:
Hanna Arhipova4d835a52021-09-27 21:19:07 +0300139 default: ''
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100140 description: ''
141 name: UPDATE_REPO_CUSTOM_TAG
142 trim: 'false'
143 - bool:
144 default: true
145 description: If set, reports will be created in TestRail for this build
146 name: REPORT_TO_TESTRAIL
147 - choice:
148 choices:
149 - heat
150 - devops
151 description: ''
152 name: ENV_MANAGER
153 - string:
Taras Khlivnyak330f7272021-11-03 22:52:26 +0200154 default: https://keystone.ic-eu.ssl.mirantis.net/v3
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100155 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
156 name: OS_AUTH_URL
157 trim: 'false'
158 - string:
159 default: sre-team
160 description: OpenStack project (tenant) name
161 name: OS_PROJECT_NAME
162 trim: 'false'
163 - string:
164 default: default
165 description: OpenStack user domain name
166 name: OS_USER_DOMAIN_NAME
167 trim: 'false'
168 - string:
169 default: sre-qa-ci-eu
170 description: Jenkins credentials ID with username and password to create a
171 heat stack in OpenStack
172 name: OS_CREDENTIALS
173 trim: 'false'
174 - string:
Hanna Arhipovac692a122021-04-13 11:47:18 +0300175 default: eu-cloud-low-flavors.env
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100176 description: |-
177 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/,
178 for example: microcloud-8116.env
179 name: LAB_PARAM_DEFAULTS
180 trim: 'false'
181 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +0300182 default: refs/tags/{previous-version}
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100183 description: ''
184 name: JENKINS_PIPELINE_BRANCH
185 trim: 'false'
186 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +0300187 default: refs/tags/{previous-version}
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100188 description: ''
189 name: MCP_COMMON_SCRIPTS_REFS
190 trim: 'false'
191 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +0300192 default: "{previous-version}"
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100193 description: 'for formula repo http://mirror.mirantis.com/update/UPDATE_VERSION/salt-formulas/xenial'
194 name: UPDATE_VERSION
195 trim: 'false'
196 - string:
197 default: ''
198 description: ''
199 name: TEMPEST_EXTRA_ARGS
200 trim: 'false'
201 - string:
Hanna Arhipova7cd2c2c2020-09-10 08:20:50 +0300202 default: set=smoke
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100203 description: Exclude tungsten tests by default
204 name: TEMPEST_PATTERN
205 trim: 'false'
206 - bool:
207 default: false
208 description: Whether to perform dist-upgrade on virtual nodes during deployment
209 name: DIST_UPGRADE_NODES
PGlazoved19b352020-05-21 16:42:27 +0400210 - bool:
211 default: false
212 description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment'
213 name: UPGRADE_SALTSTACK
PGlazov379db222021-06-17 20:15:11 +0400214 - bool:
215 name: RUN_UPGRADE_AFTER_JOB
216 default: true
217 description: "Upgrade and test after deploy?"
Anna Arhipova5d936b82022-08-05 10:07:32 +0200218 - bool:
219 name: UPGRADE_TO_TAG
220 default: '{upgrade-to-tag}'
221 description: "Upgrade to new tag"
222 - string:
223 name: UPGRADE_VERSION_TAG
224 default: "{current-version}"
225 description: 'Only works in conjunction with UPGRADE_TO_TAG and must be younger than the deployed version.'
226 trim: 'false'
Dmitriy Kruglovbbf00612020-02-11 11:12:18 +0100227 pipeline-scm:
228 lightweight-checkout: false
229 scm:
230 - git:
231 branches:
232 - FETCH_HEAD
233 refspec: ${{TCP_QA_REFS}}
234 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
235 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
PGlazov3704e4b2021-06-23 15:10:04 +0400236 logrotate:
237 daysToKeep: 365