7 #####################################
9 #####################################
16 #####################################
18 #####################################
21 slave-label: 'opnfv-build-centos'
23 slave-label: 'opnfv-build-centos'
25 #####################################
27 #####################################
29 - 'escalator-verify-{stream}'
30 - 'escalator-verify-{phase}-{stream}'
31 - 'escalator-merge-{stream}'
32 - 'escalator-merge-{phase}-{stream}'
34 #####################################
36 #####################################
38 name: 'escalator-verify-{stream}'
40 project-type: multijob
64 server-name: 'gerrit.opnfv.org'
66 - patchset-created-event:
67 exclude-drafts: 'false'
68 exclude-trivial-rebase: 'false'
69 exclude-no-code-change: 'false'
70 - draft-published-event
71 - comment-added-contains-event:
72 comment-contains-value: 'recheck'
73 - comment-added-contains-event:
74 comment-contains-value: 'reverify'
76 - project-compare-type: 'ANT'
77 project-pattern: '{project}'
79 - branch-compare-type: 'ANT'
80 branch-pattern: '**/{branch}'
81 disable-strict-forbidden-file-verification: 'true'
84 pattern: 'docs/**|.gitignore'
85 readable-message: true
91 - 'opnfv-build-defaults'
92 - 'escalator-defaults':
93 gs-pathname: '{gs-pathname}'
97 description: "Built on $NODE_NAME"
100 condition: SUCCESSFUL
102 - name: 'escalator-verify-basic-{stream}'
103 current-parameters: false
104 predefined-parameters: |
106 GERRIT_REFSPEC=$GERRIT_REFSPEC
107 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
108 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
109 node-parameters: false
110 kill-phase-on: FAILURE
114 condition: SUCCESSFUL
116 - name: 'escalator-verify-build-{stream}'
117 current-parameters: false
118 predefined-parameters: |
120 GERRIT_REFSPEC=$GERRIT_REFSPEC
121 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
122 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
123 node-parameters: false
124 kill-phase-on: FAILURE
128 name: 'escalator-verify-{phase}-{stream}'
130 disabled: '{obj:disabled}'
147 - '{slave-label}-defaults'
148 - 'escalator-defaults':
149 gs-pathname: '{gs-pathname}'
152 - description-setter:
153 description: "Built on $NODE_NAME"
154 - '{project}-verify-{phase}-macro'
157 name: 'escalator-merge-{stream}'
159 project-type: multijob
183 server-name: 'gerrit.opnfv.org'
185 - change-merged-event
186 - comment-added-contains-event:
187 comment-contains-value: 'remerge'
189 - project-compare-type: 'ANT'
190 project-pattern: '{project}'
192 - branch-compare-type: 'ANT'
193 branch-pattern: '**/{branch}'
194 disable-strict-forbidden-file-verification: 'true'
195 forbidden-file-paths:
197 pattern: 'docs/**|.gitignore'
198 readable-message: true
204 - 'opnfv-build-defaults'
205 - 'escalator-defaults':
206 gs-pathname: '{gs-pathname}'
209 - description-setter:
210 description: "Built on $NODE_NAME"
213 condition: SUCCESSFUL
215 - name: 'escalator-merge-basic-{stream}'
216 current-parameters: false
217 predefined-parameters: |
219 GERRIT_REFSPEC=$GERRIT_REFSPEC
220 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
221 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
222 node-parameters: false
223 kill-phase-on: FAILURE
227 condition: SUCCESSFUL
229 - name: 'escalator-merge-build-{stream}'
230 current-parameters: false
231 predefined-parameters: |
233 GERRIT_REFSPEC=$GERRIT_REFSPEC
234 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
235 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
236 node-parameters: false
237 kill-phase-on: FAILURE
241 name: 'escalator-merge-{phase}-{stream}'
243 disabled: '{obj:disabled}'
260 - '{slave-label}-defaults'
261 - 'escalator-defaults':
262 gs-pathname: '{gs-pathname}'
265 - description-setter:
266 description: "Built on $NODE_NAME"
267 - '{project}-merge-{phase}-macro'
269 #####################################
271 #####################################
273 name: 'escalator-verify-basic-macro'
276 !include-raw: ./escalator-basic.sh
279 name: 'escalator-verify-build-macro'
282 !include-raw: ./escalator-build.sh
285 name: 'escalator-merge-basic-macro'
288 !include-raw: ./escalator-basic.sh
290 # yamllint disable rule:indentation
292 name: 'escalator-merge-build-macro'
296 - ./escalator-build.sh
297 - ./escalator-upload-artifact.sh
298 # yamllint enable rule:indentation
300 #####################################
302 #####################################
304 name: 'escalator-defaults'
307 name: BUILD_DIRECTORY
308 default: $WORKSPACE/build_output
309 description: "Directory where the build artifact will be located upon the completion of the build."
311 name: CACHE_DIRECTORY
312 default: $HOME/opnfv/cache/$INSTALLER_TYPE
313 description: "Directory where the cache to be used during the build is located."
316 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
317 description: "URL to Google Storage."