blob: 99f03e4f63750e8ea231dd379591afa96ee709b1 [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
6 disabled: false
7 name: heat-cicd-queens-contrail41-sl
8 triggers:
9 - timed: H(5-30) 23 * * 1-7
10 parameters:
11 - string:
12 default: heat-cicd-queens-contrail41-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 cluster and cicd nodes)
19 name: DRIVETRAIN_STACK_INSTALL
20 trim: 'false'
21 - string:
22 default: '12000'
23 description: ''
24 name: DRIVETRAIN_STACK_INSTALL_TIMEOUT
25 trim: 'false'
26 - string:
27 default: openstack,contrail,ceph,stacklight
28 description: Comma-separated list of stacks to deploy the target platform
29 (openstack and additional components)
30 name: PLATFORM_STACK_INSTALL
31 trim: 'false'
32 - string:
33 default: '12000'
34 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:
48 default: /home/jenkins/images/ubuntu-16-04-x64-mcp${{MCP_VERSION}}.qcow2
49 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-contrail41-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}} value
87 name: COOKIECUTTER_TEMPLATE_COMMIT
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: SALT_MODELS_SYSTEM_COMMIT
93 trim: 'false'
94 - string:
95 default: -m "run_cvp_func_sanity|run_tempest|run_stacklight"
96 description: |-
97 Pytest option -k or -m, with expression to select necessary tests.
98 Additional pytest options are allowed.
99 name: RUN_TEST_OPTS
100 trim: 'false'
101 - bool:
102 default: true
103 description: ''
104 name: SHUTDOWN_ENV_ON_TEARDOWN
105 - string:
106 default: ''
107 description: ''
108 name: COOKIECUTTER_REF_CHANGE
109 trim: 'false'
110 - string:
111 default: ''
112 description: ''
113 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
114 trim: 'false'
115 - string:
116 default: '[MCP1.1_QUEENS]Tempest'
117 description: ''
118 name: TEMPEST_TEST_SUITE_NAME
119 trim: 'false'
120 - string:
121 default: queens
122 description: ''
123 name: TEMPEST_IMAGE_VERSION
124 trim: 'false'
125 - string:
126 default: ''
127 description: ''
128 name: TEMPEST_TARGET
129 trim: 'false'
130 - string:
131 default: proposed
132 description: ''
133 name: UPDATE_REPO_CUSTOM_TAG
134 trim: 'false'
135 - bool:
136 default: true
137 description: If set, reports will be created in TestRail for this build
138 name: REPORT_TO_TESTRAIL
139 - choice:
140 choices:
141 - heat
142 - devops
143 description: ''
144 name: ENV_MANAGER
145 - string:
146 default: https://ic-eu.ssl.mirantis.net:5000/v3
147 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
148 name: OS_AUTH_URL
149 trim: 'false'
150 - string:
151 default: sre-team
152 description: OpenStack project (tenant) name
153 name: OS_PROJECT_NAME
154 trim: 'false'
155 - string:
156 default: ldap_mirantis
157 description: OpenStack user domain name
158 name: OS_USER_DOMAIN_NAME
159 trim: 'false'
160 - string:
161 default: sre-qa-team-ci
162 description: Jenkins credentials ID with username and password to create a
163 heat stack in OpenStack
164 name: OS_CREDENTIALS
165 trim: 'false'
166 - string:
167 default: us-cloud.env
168 description: |-
169 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/,
170 for example: microcloud-8116.env
171 name: LAB_PARAM_DEFAULTS
172 trim: 'false'
173 - string:
174 default: release/proposed/2019.2.0
175 description: ''
176 name: JENKINS_PIPELINE_BRANCH
177 trim: 'false'
178 - string:
179 default: refs/heads/release/proposed/2019.2.0
180 description: ''
181 name: MCP_COMMON_SCRIPTS_REFS
182 trim: 'false'
183 - string:
184 default: proposed
185 description: ''
186 name: UPDATE_VERSION
187 trim: 'false'
188 - string:
189 default: ''
190 description: ''
191 name: TEMPEST_EXTRA_ARGS
192 trim: 'false'
193 - string:
194 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*
195 description: Exclude tungsten tests by default
196 name: TEMPEST_PATTERN
197 trim: 'false'
198 pipeline-scm:
199 lightweight-checkout: false
200 scm:
201 - git:
202 branches:
203 - FETCH_HEAD
204 refspec: ${{TCP_QA_REFS}}
205 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
206 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy
207