2 name: 'compass-verify-jobs'
7 #####################################
9 #####################################
14 ppa-pathname: '/{stream}'
16 openstack-version: 'ocata'
19 branch: 'stable/{stream}'
20 gs-pathname: '/{stream}'
21 ppa-pathname: '/{stream}'
23 openstack-version: 'newton'
30 openstack-os-version: ''
34 openstack-os-version: ''
35 #####################################
36 # patch verification phases
37 #####################################
41 #####################################
43 #####################################
45 - 'compass-verify-{distro}-{stream}'
46 - 'compass-verify-k8-{distro}-{stream}'
47 - 'compass-verify-{phase}-{distro}-{stream}'
48 #####################################
50 #####################################
52 name: 'compass-verify-{distro}-{stream}'
54 project-type: multijob
56 disabled: '{obj:disabled}'
68 use-build-blocker: true
70 - 'compass-verify-[^-]*-[^-]*'
71 - 'compass-os-.*?-virtual-daily-.*?'
79 - fix-workspace-permissions
86 server-name: 'gerrit.opnfv.org'
88 - patchset-created-event:
89 exclude-drafts: 'false'
90 exclude-trivial-rebase: 'false'
91 exclude-no-code-change: 'false'
92 - draft-published-event
93 - comment-added-contains-event:
94 comment-contains-value: 'recheck'
95 - comment-added-contains-event:
96 comment-contains-value: 'reverify'
98 - project-compare-type: 'ANT'
99 project-pattern: '{project}'
101 - branch-compare-type: 'ANT'
102 branch-pattern: '**/{branch}'
106 disable-strict-forbidden-file-verification: 'true'
107 forbidden-file-paths:
110 readable-message: true
116 - 'compass-virtual-{branch-type}-defaults'
117 - '{installer}-defaults'
118 - 'compass-verify-defaults':
119 installer: '{installer}'
120 gs-pathname: '{gs-pathname}'
121 ppa-pathname: '{ppa-pathname}'
123 name: DEPLOY_SCENARIO
124 default: 'os-nosdn-nofeature-ha'
127 - description-setter:
128 description: "Built on $NODE_NAME"
131 condition: SUCCESSFUL
133 - name: 'opnfv-lint-verify-{stream}'
134 current-parameters: true
135 node-parameters: true
136 kill-phase-on: FAILURE
138 - name: 'opnfv-yamllint-verify-{stream}'
139 current-parameters: true
140 node-parameters: true
141 kill-phase-on: FAILURE
145 condition: SUCCESSFUL
147 - name: 'compass-verify-deploy-virtual-{distro}-{stream}'
148 current-parameters: true
149 predefined-parameters: |
150 COMPASS_OS_VERSION={os-version}
151 COMPASS_OPENSTACK_VERSION={openstack-version}
152 node-parameters: true
153 kill-phase-on: FAILURE
157 condition: SUCCESSFUL
159 - name: 'functest-compass-virtual-suite-{stream}'
160 current-parameters: false
161 predefined-parameters: |
163 FUNCTEST_TIER=healthcheck
164 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
165 node-parameters: true
168 - name: 'functest-compass-virtual-suite-{stream}'
169 current-parameters: false
170 predefined-parameters: |
171 FUNCTEST_MODE=testcase
172 FUNCTEST_SUITE_NAME=vping_ssh
173 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
174 node-parameters: true
179 name: 'compass-verify-k8-{distro}-{stream}'
181 project-type: multijob
183 disabled: '{obj:disabled}'
195 use-build-blocker: true
197 - 'compass-verify-[^-]*-[^-]*'
198 - 'compass-os-.*?-virtual-daily-.*?'
206 - fix-workspace-permissions
213 server-name: 'gerrit.opnfv.org'
215 - comment-added-contains-event:
216 comment-contains-value: 'check k8'
217 - comment-added-contains-event:
218 comment-contains-value: 'verify k8'
219 - comment-added-contains-event:
220 comment-contains-value: 'check kubernetes'
221 - comment-added-contains-event:
222 comment-contains-value: 'verify kubernetes'
224 - project-compare-type: 'ANT'
225 project-pattern: '{project}'
227 - branch-compare-type: 'ANT'
228 branch-pattern: '**/{branch}'
232 forbidden-file-paths:
235 readable-message: true
241 - 'compass-virtual-{branch-type}-defaults'
242 - '{installer}-defaults'
243 - 'compass-verify-defaults':
244 installer: '{installer}'
245 gs-pathname: '{gs-pathname}'
246 ppa-pathname: '{ppa-pathname}'
248 name: DEPLOY_SCENARIO
249 default: 'k8-nosdn-nofeature-ha'
252 - description-setter:
253 description: "Built on $NODE_NAME"
256 condition: SUCCESSFUL
258 - name: 'opnfv-lint-verify-{stream}'
259 current-parameters: true
260 node-parameters: true
261 kill-phase-on: FAILURE
263 - name: 'opnfv-yamllint-verify-{stream}'
264 current-parameters: true
265 node-parameters: true
266 kill-phase-on: FAILURE
270 condition: SUCCESSFUL
272 - name: 'compass-verify-deploy-virtual-{distro}-{stream}'
273 current-parameters: true
274 predefined-parameters: |
275 COMPASS_OS_VERSION={os-version}
276 node-parameters: true
277 kill-phase-on: FAILURE
281 name: 'compass-verify-{phase}-{distro}-{stream}'
283 disabled: '{obj:disabled}'
294 use-build-blocker: true
296 - 'compass-os-.*?-virtual-daily-.*?'
297 - 'compass-verify-deploy-.*'
298 - 'functest-compass-virtual.*'
306 - fix-workspace-permissions
312 - description-setter:
313 description: "Built on $NODE_NAME"
314 - '{project}-verify-{phase}-macro'
316 #####################################
318 #####################################
320 name: 'compass4nfv-verify-basic-macro'
325 echo "Not activated!"
328 name: 'compass4nfv-verify-deploy-virtual-macro'
331 !include-raw: ./compass-build.sh
333 !include-raw: ./compass-deploy.sh
334 #####################################
336 #####################################
338 name: 'compass-verify-defaults'
341 name: BUILD_DIRECTORY
342 default: $WORKSPACE/build_output
343 description: "Directory where the build artifact will be located upon the completion of the build."
345 name: CACHE_DIRECTORY
346 default: "$HOME/opnfv/cache/$PROJECT{gs-pathname}"
347 description: "Directory where the cache to be used during the build is located."
350 default: '$GS_BASE{gs-pathname}'
351 description: "URL to Google Storage."
354 default: "http://artifacts.opnfv.org/compass4nfv/package{ppa-pathname}"
357 default: "$WORKSPACE/work/repo/"
359 name: COMPASS_OS_VERSION