blob: 5f42d33d775c27c9619d603729f9636276760eb6 [file] [log] [blame]
Sergey Galkin24ebd762020-01-14 14:36:34 +04001- job-template:
2 project-type: pipeline
3 description: '{job-description}'
4 concurrent: true
5 disabled: false
6 name: 2019.2.0-heat-cicd-queens-dvr-sl
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +01007 triggers:
8 - timed: H(5-30) 21 * * 1-7
Sergey Galkin24ebd762020-01-14 14:36:34 +04009 parameters:
10 - string:
11 default: heat-cicd-queens-dvr-sl
12 description: ''
13 name: LAB_CONFIG_NAME
14 trim: 'false'
15 - string:
16 default: core,cicd
17 description: Comma-separated list of stacks to deploy the drivetrain (salt
18 cluster and cicd nodes)
19 name: DRIVETRAIN_STACK_INSTALL
20 trim: 'false'
21 - string:
Hanna Arhipovad331eb92020-04-08 18:13:16 +030022 default: '18000'
Sergey Galkin24ebd762020-01-14 14:36:34 +040023 description: ''
24 name: DRIVETRAIN_STACK_INSTALL_TIMEOUT
25 trim: 'false'
26 - string:
27 default: openstack,ovs,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:
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:
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +010038 default: 2019.2.8
Sergey Galkin24ebd762020-01-14 14:36:34 +040039 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:
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +010048 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:
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +010058 default: 'cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso'
Sergey Galkin24ebd762020-01-14 14:36:34 +040059 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:
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +010075 default: 'refs/tags/2019.2.8'
Sergey Galkin24ebd762020-01-14 14:36:34 +040076 description: reference to patchset in pipeline-library
77 name: PIPELINE_LIBRARY_REF
78 trim: 'false'
79 - string:
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +010080 default: 'refs/tags/2019.2.8'
Sergey Galkin24ebd762020-01-14 14:36:34 +040081 description: reference to patchset in mk-pipelines
82 name: MK_PIPELINES_REF
83 trim: 'false'
84 - string:
Hanna Arhipovac7bd0232020-03-03 13:11:31 +020085 default: refs/tags/2019.2.8
Sergey Galkin24ebd762020-01-14 14:36:34 +040086 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
87 value
88 name: COOKIECUTTER_TEMPLATE_COMMIT
89 trim: 'false'
90 - string:
Hanna Arhipovac7bd0232020-03-03 13:11:31 +020091 default: refs/tags/2019.2.8
Sergey Galkin24ebd762020-01-14 14:36:34 +040092 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 Kruglov652f3f92020-03-02 17:59:15 +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: ''
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
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100149 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400150 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: |-
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100171 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/,
172 for example: microcloud-8116.env
Sergey Galkin24ebd762020-01-14 14:36:34 +0400173 name: LAB_PARAM_DEFAULTS
174 trim: 'false'
175 - string:
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100176 default: 'refs/tags/2019.2.8'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400177 description: ''
178 name: JENKINS_PIPELINE_BRANCH
179 trim: 'false'
180 - string:
181 default: ''
182 description: ''
183 name: TEMPEST_PATTERN
184 trim: 'false'
185 - string:
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100186 default: 'refs/tags/2019.2.8'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400187 description: ''
188 name: MCP_COMMON_SCRIPTS_REFS
189 trim: 'false'
190 - string:
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100191 default: 2019.2.8
Hanna Arhipovac7bd0232020-03-03 13:11:31 +0200192 description: 'for formula repo http://mirror.mirantis.com/update/UPDATE_VERSION/salt-formulas/xenial'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400193 name: UPDATE_VERSION
194 trim: 'false'
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100195 - string:
196 default: ''
197 description: ''
198 name: TEMPEST_EXTRA_ARGS
199 trim: 'false'
200 - 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}}
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100211 url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa.git
Sergey Galkin24ebd762020-01-14 14:36:34 +0400212 script-path: jobs/pipelines/deploy-cicd-and-run-tests.groovy