blob: 3a17c8011d72b4c84e7f58febcfed27de64ffc89 [file] [log] [blame]
Sergey Galkin24ebd762020-01-14 14:36:34 +04001---
2- job-template:
3 project-type: pipeline
4 description: '{job-description}'
5 concurrent: true
Sergey Galkin24ebd762020-01-14 14:36:34 +04006 name: heat-cicd-queens-contrail41-sl
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-contrail41-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,contrail,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:
39 default: 2019.2.0
40 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:
Hanna Arhipovac2965a42020-01-21 12:27:33 +020049 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:
59 default: cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso
60 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-contrail41-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:
80 default: refs/heads/release/proposed/2019.2.0
81 description: reference to patchset in pipeline-library
82 name: PIPELINE_LIBRARY_REF
83 trim: 'false'
84 - string:
85 default: refs/heads/release/proposed/2019.2.0
86 description: reference to patchset in mk-pipelines
87 name: MK_PIPELINES_REF
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}} 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}} value
97 name: SALT_MODELS_SYSTEM_COMMIT
98 trim: 'false'
99 - string:
Hanna Arhipova653d5562020-08-03 15:32:09 +0300100 default: -m "run_cvp_func_sanity|run_cvp_tempest|run_stacklight"
Sergey Galkin24ebd762020-01-14 14:36:34 +0400101 description: |-
102 Pytest option -k or -m, with expression to select necessary tests.
103 Additional pytest options are allowed.
104 name: RUN_TEST_OPTS
105 trim: 'false'
106 - bool:
107 default: true
108 description: ''
109 name: SHUTDOWN_ENV_ON_TEARDOWN
110 - string:
111 default: ''
112 description: ''
113 name: COOKIECUTTER_REF_CHANGE
114 trim: 'false'
115 - string:
116 default: ''
117 description: ''
118 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
119 trim: 'false'
120 - string:
121 default: '[MCP1.1_QUEENS]Tempest'
122 description: ''
123 name: TEMPEST_TEST_SUITE_NAME
124 trim: 'false'
125 - string:
126 default: queens
127 description: ''
128 name: TEMPEST_IMAGE_VERSION
129 trim: 'false'
130 - string:
131 default: ''
132 description: ''
133 name: TEMPEST_TARGET
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:
151 default: https://ic-eu.ssl.mirantis.net:5000/v3
152 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:
Hanna Arhipova95659432020-01-28 14:24:02 +0200161 default: default
Sergey Galkin24ebd762020-01-14 14:36:34 +0400162 description: OpenStack user domain name
163 name: OS_USER_DOMAIN_NAME
164 trim: 'false'
165 - string:
Hanna Arhipova95659432020-01-28 14:24:02 +0200166 default: sre-qa-ci-eu
Sergey Galkin24ebd762020-01-14 14:36:34 +0400167 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:
Hanna Arhipovac692a122021-04-13 11:47:18 +0300172 default: eu-cloud-low-flavors.env
Sergey Galkin24ebd762020-01-14 14:36:34 +0400173 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/proposed/2019.2.0
180 description: ''
181 name: JENKINS_PIPELINE_BRANCH
182 trim: 'false'
183 - string:
184 default: refs/heads/release/proposed/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 default: ''
195 description: ''
196 name: TEMPEST_EXTRA_ARGS
197 trim: 'false'
198 - string:
199 default: ^heat_tempest_plugin.tests*|^tempest.api.image*|^tempest_horizon*|^tempest.api.identity*|^tempest.api.network*|^tempest.api.compute*|^tempest.api.volume*|^tempest.scenario*|^tempest.api.object_storage*
200 description: Exclude tungsten tests by default
201 name: TEMPEST_PATTERN
202 trim: 'false'
Dmitriy Kruglov758f99c2020-02-04 12:04:31 +0100203 - bool:
Hanna Arhipovaf098d462020-03-31 15:32:47 +0300204 default: true
Dmitriy Kruglov758f99c2020-02-04 12:04:31 +0100205 description: Whether to perform dist-upgrade on virtual nodes during deployment
206 name: DIST_UPGRADE_NODES
PGlazoved19b352020-05-21 16:42:27 +0400207 - bool:
208 default: true
209 description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment'
210 name: UPGRADE_SALTSTACK
Sergey Galkin24ebd762020-01-14 14:36:34 +0400211 pipeline-scm:
212 lightweight-checkout: false
213 scm:
214 - git:
215 branches:
216 - FETCH_HEAD
217 refspec: ${{TCP_QA_REFS}}
218 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
219 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
220