blob: 70adc4890e4c3ac05b9e4da7298bf12dcb3db52c [file] [log] [blame]
Sergey Galkin24ebd762020-01-14 14:36:34 +04001---
2- job-template:
3 project-type: pipeline
4 concurrent: true
5 disabled: false
6 description: '{job-description}'
7 name: heat-cicd-pike-dvr-sl
8 triggers:
9 - timed: H(5-30) 22 * * 1-7
10 properties:
11 - build-discarder:
12 days-to-keep: 60
13 num-to-keep: 50
14 parameters:
15 - string:
16 default: heat-cicd-pike-dvr-sl
17 description: ''
18 name: LAB_CONFIG_NAME
19 trim: 'false'
20 - string:
21 default: core,cicd
22 description: Comma-separated list of stacks to deploy the drivetrain (salt
23 cluster and cicd nodes)
24 name: DRIVETRAIN_STACK_INSTALL
25 trim: 'false'
26 - string:
Hanna Arhipovaa0cab712020-02-13 22:12:35 +020027 default: '15000'
Sergey Galkin24ebd762020-01-14 14:36:34 +040028 description: ''
29 name: DRIVETRAIN_STACK_INSTALL_TIMEOUT
30 trim: 'false'
31 - string:
32 default: openstack,ovs,ceph,stacklight
33 description: Comma-separated list of stacks to deploy the target platform
34 (openstack and additional components)
35 name: PLATFORM_STACK_INSTALL
36 trim: 'false'
37 - string:
38 default: '12000'
39 description: ''
40 name: PLATFORM_STACK_INSTALL_TIMEOUT
41 trim: 'false'
42 - string:
43 default: 2019.2.0
44 description: ''
45 name: MCP_VERSION
46 trim: 'false'
47 - string:
48 default: sre-team-infra
49 description: ''
50 name: NODE_NAME
51 trim: 'false'
52 - string:
Hanna Arhipovac2965a42020-01-21 12:27:33 +020053 default: '/home/jenkins/images/ubuntu-16-04-x64-mcp2019.2.0.qcow2'
Sergey Galkin24ebd762020-01-14 14:36:34 +040054 description: ''
55 name: MCP_IMAGE_PATH1604
56 trim: 'false'
57 - string:
58 default: /home/jenkins/images/cfg01-day01.qcow2
59 description: ''
60 name: IMAGE_PATH_CFG01_DAY01
61 trim: 'false'
62 - string:
63 default: 'cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso'
64 description: ISO name that will be generated and downloaded to the /home/jenkins/images/
65 name: CFG01_CONFIG_IMAGE_NAME
66 trim: 'false'
67 - string:
68 default: heat-cicd-pike-dvr-sl
69 description: ''
70 name: ENV_NAME
71 trim: 'false'
72 - 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}}
92 value
93 name: COOKIECUTTER_TEMPLATE_COMMIT
94 trim: 'false'
95 - string:
96 default: release/proposed/2019.2.0
97 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:
102 default: -m "run_cvp_func_sanity|run_tempest|run_stacklight"
103 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_PIKE]Tempest'
124 description: ''
125 name: TEMPEST_TEST_SUITE_NAME
126 trim: 'false'
127 - string:
128 default: pike
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: proposed
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:
153 default: https://ic-eu.ssl.mirantis.net:5000/v3
154 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
155 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 Arhipova95659432020-01-28 14:24:02 +0200174 default: eu-cloud.env
Sergey Galkin24ebd762020-01-14 14:36:34 +0400175 description: |-
176 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/
177 , for example: microcloud-8116.env
178 name: LAB_PARAM_DEFAULTS
179 trim: 'false'
180 - string:
181 default: release/proposed/2019.2.0
182 description: ''
183 name: JENKINS_PIPELINE_BRANCH
184 trim: 'false'
185 - string:
186 default: ''
187 description: ''
188 name: TEMPEST_PATTERN
189 trim: 'false'
190 - string:
191 default: refs/heads/release/proposed/2019.2.0
192 description: ''
193 name: MCP_COMMON_SCRIPTS_REFS
194 trim: 'false'
195 - string:
196 default: proposed
197 description: ''
198 name: UPDATE_VERSION
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
Sergey Galkin24ebd762020-01-14 14:36:34 +0400204 pipeline-scm:
205 lightweight-checkout: false
206 scm:
207 - git:
208 branches:
209 - FETCH_HEAD
210 refspec: '${{TCP_QA_REFS}}'
211 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
212 clean:
213 before: true
214 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy