blob: b0afc137f005accc952f32e435d8deb7e0c33c84 [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'
67 - string:
68 default: ''
69 description: |-
70 Example: refs/changes/89/411189/36
71 (for now - only one reference allowed)
72 name: TCP_QA_REFS
73 trim: 'false'
74 - string:
75 default: refs/heads/release/proposed/2019.2.0
76 description: reference to patchset in pipeline-library
77 name: PIPELINE_LIBRARY_REF
78 trim: 'false'
79 - string:
80 default: refs/heads/release/proposed/2019.2.0
81 description: reference to patchset in mk-pipelines
82 name: MK_PIPELINES_REF
83 trim: 'false'
84 - string:
85 default: release/proposed/2019.2.0
86 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
87 value
88 name: COOKIECUTTER_TEMPLATE_COMMIT
89 trim: 'false'
90 - string:
91 default: release/proposed/2019.2.0
92 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
93 value
94 name: SALT_MODELS_SYSTEM_COMMIT
95 trim: 'false'
96 - string:
Dmitriy Kruglov674b8012020-02-05 21:07:11 +010097 default: -m "run_cvp_func_sanity|run_cvp_tempest|run_stacklight"
Sergey Galkin24ebd762020-01-14 14:36:34 +040098 description: |-
99 Pytest option -k or -m, with expression to select necessary tests.
100 Additional pytest options are allowed.
101 name: RUN_TEST_OPTS
102 trim: 'false'
103 - bool:
104 default: true
105 description: ''
106 name: SHUTDOWN_ENV_ON_TEARDOWN
107 - string:
108 default: ''
109 description: ''
110 name: COOKIECUTTER_REF_CHANGE
111 trim: 'false'
112 - string:
113 default: ''
114 description: ''
115 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
116 trim: 'false'
117 - string:
118 default: '[MCP1.1_QUEENS]Tempest'
119 description: ''
120 name: TEMPEST_TEST_SUITE_NAME
121 trim: 'false'
122 - string:
123 default: queens
124 description: ''
125 name: TEMPEST_IMAGE_VERSION
126 trim: 'false'
127 - string:
128 default: ''
129 description: ''
130 name: TEMPEST_TARGET
131 trim: 'false'
132 - string:
133 default: proposed
134 description: ''
135 name: UPDATE_REPO_CUSTOM_TAG
136 trim: 'false'
137 - bool:
138 default: true
139 description: If set, reports will be created in TestRail for this build
140 name: REPORT_TO_TESTRAIL
141 - choice:
142 choices:
143 - heat
144 - devops
145 description: ''
146 name: ENV_MANAGER
147 - string:
148 default: https://ic-eu.ssl.mirantis.net:5000/v3
149 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
150 name: OS_AUTH_URL
151 trim: 'false'
152 - string:
153 default: sre-team
154 description: OpenStack project (tenant) name
155 name: OS_PROJECT_NAME
156 trim: 'false'
157 - string:
Hanna Arhipova95659432020-01-28 14:24:02 +0200158 default: default
Sergey Galkin24ebd762020-01-14 14:36:34 +0400159 description: OpenStack user domain name
160 name: OS_USER_DOMAIN_NAME
161 trim: 'false'
162 - string:
Hanna Arhipova95659432020-01-28 14:24:02 +0200163 default: sre-qa-ci-eu
Sergey Galkin24ebd762020-01-14 14:36:34 +0400164 description: Jenkins credentials ID with username and password to create a
165 heat stack in OpenStack
166 name: OS_CREDENTIALS
167 trim: 'false'
168 - string:
Hanna Arhipova95659432020-01-28 14:24:02 +0200169 default: eu-cloud.env
Sergey Galkin24ebd762020-01-14 14:36:34 +0400170 description: |-
171 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/,
172 for example: microcloud-8116.env
173 name: LAB_PARAM_DEFAULTS
174 trim: 'false'
175 - string:
176 default: release/proposed/2019.2.0
177 description: ''
178 name: JENKINS_PIPELINE_BRANCH
179 trim: 'false'
180 - string:
181 default: ''
182 description: ''
183 name: TEMPEST_PATTERN
184 trim: 'false'
185 - string:
186 default: refs/heads/release/proposed/2019.2.0
187 description: ''
188 name: MCP_COMMON_SCRIPTS_REFS
189 trim: 'false'
190 - string:
191 default: proposed
192 description: ''
193 name: UPDATE_VERSION
194 trim: 'false'
195 - string:
196 default: ''
197 description: ''
198 name: TEMPEST_EXTRA_ARGS
199 trim: 'false'
Dmitriy Kruglov758f99c2020-02-04 12:04:31 +0100200 - bool:
201 default: false
202 description: Whether to perform dist-upgrade on virtual nodes during deployment
203 name: DIST_UPGRADE_NODES
PGlazoved19b352020-05-21 16:42:27 +0400204 - bool:
205 default: false
206 description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment'
207 name: UPGRADE_SALTSTACK
Sergey Galkin24ebd762020-01-14 14:36:34 +0400208 pipeline-scm:
209 lightweight-checkout: false
210 scm:
211 - git:
212 branches:
213 - FETCH_HEAD
214 refspec: ${{TCP_QA_REFS}}
215 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa.git
216 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
217