blob: 4a8ebfde3b0db1474b524208f8cc42aa51c56175 [file] [log] [blame]
Sergey Galkin24ebd762020-01-14 14:36:34 +04001- job-template:
2 project-type: pipeline
3 description: '{job-description}'
Hanna Arhipova4c8729f2020-04-15 13:21:22 +03004 concurrent: false
Sergey Galkin24ebd762020-01-14 14:36:34 +04005 name: 2019.2.0-heat-cicd-pike-dvr-sl
Hanna Arhipova83761632020-05-05 13:53:17 +03006 # 'disabled' and 'timed' option are defined in the project.yaml
7 disabled: '{obj:disabled}'
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +01008 triggers:
Hanna Arhipova83761632020-05-05 13:53:17 +03009 - timed: '{obj:trigger_time}'
Sergey Galkin24ebd762020-01-14 14:36:34 +040010 parameters:
11 - string:
12 default: heat-cicd-pike-dvr-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
19 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
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:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030039 default: '{current-version}'
Sergey Galkin24ebd762020-01-14 14:36:34 +040040 description: ''
41 name: MCP_VERSION
42 trim: 'false'
43 - string:
Hanna Arhipovac2965a42020-01-21 12:27:33 +020044 default: sre-team-infra
Sergey Galkin24ebd762020-01-14 14:36:34 +040045 description: ''
46 name: NODE_NAME
47 trim: 'false'
48 - string:
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +010049 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:
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +010059 default: 'cfg01.${{LAB_CONFIG_NAME}}-config-drive.iso'
Sergey Galkin24ebd762020-01-14 14:36:34 +040060 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-pike-dvr-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:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030076 default: refs/tags/{current-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +040077 description: reference to patchset in pipeline-library
78 name: PIPELINE_LIBRARY_REF
79 trim: 'false'
80 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030081 default: refs/tags/{current-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +040082 description: reference to patchset in mk-pipelines
83 name: MK_PIPELINES_REF
84 trim: 'false'
85 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030086 default: refs/tags/{current-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +040087 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
88 value
89 name: COOKIECUTTER_TEMPLATE_COMMIT
90 trim: 'false'
91 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +030092 default: refs/tags/{current-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +040093 description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}}
94 value
95 name: SALT_MODELS_SYSTEM_COMMIT
96 trim: 'false'
97 - string:
Hanna Arhipova653d5562020-08-03 15:32:09 +030098 default: -m "run_cvp_func_sanity|run_cvp_tempest|run_stacklight"
Sergey Galkin24ebd762020-01-14 14:36:34 +040099 description: |-
100 Pytest option -k or -m, with expression to select necessary tests.
101 Additional pytest options are allowed.
102 name: RUN_TEST_OPTS
103 trim: 'false'
104 - bool:
105 default: true
106 description: ''
107 name: SHUTDOWN_ENV_ON_TEARDOWN
108 - string:
109 default: ''
110 description: ''
111 name: COOKIECUTTER_REF_CHANGE
112 trim: 'false'
113 - string:
114 default: ''
115 description: ''
116 name: ENVIRONMENT_TEMPLATE_REF_CHANGE
117 trim: 'false'
118 - string:
119 default: '[MCP1.1_PIKE]Tempest'
120 description: ''
121 name: TEMPEST_TEST_SUITE_NAME
122 trim: 'false'
123 - string:
124 default: pike
125 description: ''
126 name: TEMPEST_IMAGE_VERSION
127 trim: 'false'
128 - string:
129 default: ''
130 description: ''
131 name: TEMPEST_TARGET
132 trim: 'false'
133 - string:
134 default: ''
135 description: ''
136 name: UPDATE_REPO_CUSTOM_TAG
137 trim: 'false'
138 - bool:
139 default: true
140 description: If set, reports will be created in TestRail for this build
141 name: REPORT_TO_TESTRAIL
142 - choice:
143 choices:
144 - heat
145 - devops
146 description: ''
147 name: ENV_MANAGER
148 - string:
149 default: https://ic-eu.ssl.mirantis.net:5000/v3
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100150 description: 'Openstack keystone catalog endpoint, for example https://10.90.0.80:5000/v3'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400151 name: OS_AUTH_URL
152 trim: 'false'
153 - string:
154 default: sre-team
155 description: OpenStack project (tenant) name
156 name: OS_PROJECT_NAME
157 trim: 'false'
158 - string:
Hanna Arhipova95659432020-01-28 14:24:02 +0200159 default: default
Sergey Galkin24ebd762020-01-14 14:36:34 +0400160 description: OpenStack user domain name
161 name: OS_USER_DOMAIN_NAME
162 trim: 'false'
163 - string:
Hanna Arhipova95659432020-01-28 14:24:02 +0200164 default: sre-qa-ci-eu
Sergey Galkin24ebd762020-01-14 14:36:34 +0400165 description: Jenkins credentials ID with username and password to create a
166 heat stack in OpenStack
167 name: OS_CREDENTIALS
168 trim: 'false'
169 - string:
Hanna Arhipova95659432020-01-28 14:24:02 +0200170 default: eu-cloud.env
Sergey Galkin24ebd762020-01-14 14:36:34 +0400171 description: |-
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100172 Heat template environment filename with 'parameter_defaults' dict, placed in tcp_tests/templates/_heat_environments/,
173 for example: microcloud-8116.env
Sergey Galkin24ebd762020-01-14 14:36:34 +0400174 name: LAB_PARAM_DEFAULTS
175 trim: 'false'
176 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +0300177 default: refs/tags/{current-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +0400178 description: ''
179 name: JENKINS_PIPELINE_BRANCH
180 trim: 'false'
181 - string:
182 default: ''
183 description: ''
184 name: TEMPEST_PATTERN
185 trim: 'false'
186 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +0300187 default: refs/tags/{current-version}
Sergey Galkin24ebd762020-01-14 14:36:34 +0400188 description: ''
189 name: MCP_COMMON_SCRIPTS_REFS
190 trim: 'false'
191 - string:
Hanna Arhipova6c41b172020-05-04 16:12:13 +0300192 default: '{current-version}'
Hanna Arhipovac7bd0232020-03-03 13:11:31 +0200193 description: 'for formula repo http://mirror.mirantis.com/update/UPDATE_VERSION/salt-formulas/xenial'
Sergey Galkin24ebd762020-01-14 14:36:34 +0400194 name: UPDATE_VERSION
195 trim: 'false'
Dmitriy Kruglov652f3f92020-03-02 17:59:15 +0100196 - bool:
197 default: false
198 description: Whether to perform dist-upgrade on virtual nodes during deployment
199 name: DIST_UPGRADE_NODES
PGlazoved19b352020-05-21 16:42:27 +0400200 - bool:
201 default: false
202 description: 'Works starting from MCP 2019.2.10 or master. Whether to apply saltstack updates on all nodes in cluster before deployment'
203 name: UPGRADE_SALTSTACK
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