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