3 name: 'compass-verify-jobs'
8 #####################################
10 #####################################
15 ppa-pathname: '/{stream}'
17 openstack-version: 'queens'
20 branch: 'stable/{stream}'
21 gs-pathname: '/{stream}'
22 ppa-pathname: '/{stream}'
24 openstack-version: 'queens'
31 openstack-os-version: ''
35 openstack-os-version: ''
36 #####################################
37 # patch verification phases
38 #####################################
42 #####################################
44 #####################################
46 - 'compass-verify-{distro}-{stream}'
47 - 'compass-verify-k8-{distro}-{stream}'
48 - 'compass-verify-{phase}-{distro}-{stream}'
49 #####################################
51 #####################################
53 name: 'compass-verify-{distro}-{stream}'
55 project-type: multijob
57 disabled: '{obj:disabled}'
69 use-build-blocker: true
71 - 'compass-verify-[^-]*-[^-]*'
72 - 'compass-os-.*?-virtual-daily-.*?'
73 - 'compass-k8-.*?-virtual-daily-.*?'
81 - fix-workspace-permissions
88 server-name: 'gerrit.opnfv.org'
90 - patchset-created-event:
91 exclude-drafts: 'false'
92 exclude-trivial-rebase: 'false'
93 exclude-no-code-change: 'false'
94 - draft-published-event
95 - comment-added-contains-event:
96 comment-contains-value: 'recheck'
97 - comment-added-contains-event:
98 comment-contains-value: 'reverify'
100 - project-compare-type: 'ANT'
101 project-pattern: '{project}'
103 - branch-compare-type: 'ANT'
104 branch-pattern: '**/{branch}'
108 disable-strict-forbidden-file-verification: 'true'
109 forbidden-file-paths:
112 readable-message: true
118 - 'compass-virtual-{branch-type}-defaults'
119 - '{installer}-defaults'
120 - 'compass-verify-defaults':
121 installer: '{installer}'
122 gs-pathname: '{gs-pathname}'
123 ppa-pathname: '{ppa-pathname}'
125 name: DEPLOY_SCENARIO
126 default: 'os-nosdn-nofeature-ha'
129 - description-setter:
130 description: "Built on $NODE_NAME"
133 condition: SUCCESSFUL
135 - name: 'opnfv-lint-verify-{stream}'
136 current-parameters: true
137 node-parameters: true
138 kill-phase-on: FAILURE
142 condition: SUCCESSFUL
144 - name: 'compass-verify-deploy-virtual-{distro}-{stream}'
145 current-parameters: true
146 predefined-parameters: |
147 COMPASS_OS_VERSION={os-version}
148 COMPASS_OPENSTACK_VERSION={openstack-version}
149 node-parameters: true
150 kill-phase-on: FAILURE
154 condition: SUCCESSFUL
156 - name: 'functest-compass-virtual-suite-{stream}'
157 current-parameters: false
158 predefined-parameters: |
160 FUNCTEST_TIER=healthcheck
161 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
162 node-parameters: true
167 name: 'compass-verify-k8-{distro}-{stream}'
169 project-type: multijob
171 disabled: '{obj:disabled}'
183 use-build-blocker: true
185 - 'compass-verify-[^-]*-[^-]*'
186 - 'compass-os-.*?-virtual-daily-.*?'
194 - fix-workspace-permissions
201 server-name: 'gerrit.opnfv.org'
203 - comment-added-contains-event:
204 comment-contains-value: 'check k8'
205 - comment-added-contains-event:
206 comment-contains-value: 'verify k8'
207 - comment-added-contains-event:
208 comment-contains-value: 'check kubernetes'
209 - comment-added-contains-event:
210 comment-contains-value: 'verify kubernetes'
212 - project-compare-type: 'ANT'
213 project-pattern: '{project}'
215 - branch-compare-type: 'ANT'
216 branch-pattern: '**/{branch}'
220 forbidden-file-paths:
223 readable-message: true
229 - 'compass-virtual-{branch-type}-defaults'
230 - '{installer}-defaults'
231 - 'compass-verify-defaults':
232 installer: '{installer}'
233 gs-pathname: '{gs-pathname}'
234 ppa-pathname: '{ppa-pathname}'
236 name: DEPLOY_SCENARIO
237 default: 'k8-nosdn-nofeature-ha'
240 - description-setter:
241 description: "Built on $NODE_NAME"
244 condition: SUCCESSFUL
246 - name: 'opnfv-lint-verify-{stream}'
247 current-parameters: true
248 node-parameters: true
249 kill-phase-on: FAILURE
253 condition: SUCCESSFUL
255 - name: 'compass-verify-deploy-virtual-{distro}-{stream}'
256 current-parameters: true
257 predefined-parameters: |
258 COMPASS_OS_VERSION={os-version}
259 node-parameters: true
260 kill-phase-on: FAILURE
264 name: 'compass-verify-{phase}-{distro}-{stream}'
266 disabled: '{obj:disabled}'
277 use-build-blocker: true
279 - 'compass-os-.*?-virtual-daily-.*?'
280 - 'compass-verify-deploy-.*'
281 - 'functest-compass-virtual.*'
289 - fix-workspace-permissions
295 - description-setter:
296 description: "Built on $NODE_NAME"
297 - '{project}-verify-{phase}-macro'
299 #####################################
301 #####################################
303 name: 'compass4nfv-verify-basic-macro'
308 echo "Not activated!"
311 name: 'compass4nfv-verify-deploy-virtual-macro'
314 !include-raw: ./compass-build.sh
316 !include-raw: ./compass-deploy.sh
317 #####################################
319 #####################################
321 name: 'compass-verify-defaults'
324 name: BUILD_DIRECTORY
325 default: $WORKSPACE/build_output
326 description: "Directory where the build artifact will be located upon the completion of the build."
328 name: CACHE_DIRECTORY
329 default: "$HOME/opnfv/cache/$PROJECT{gs-pathname}"
330 description: "Directory where the cache to be used during the build is located."
333 default: '$GS_BASE{gs-pathname}'
334 description: "URL to Google Storage."
337 default: "https://artifacts.opnfv.org/compass4nfv/package{ppa-pathname}"
340 default: "$WORKSPACE/work/repo/"
342 name: COMPASS_OS_VERSION