2 # TODO: rename the project name
3 # TODO: get rid of appended -exp from the remainder of the file
4 name: 'fuel-verify-jobs-experimental'
9 #------------------------------------
11 #------------------------------------
12 # TODO: enable master once things settle
15 branch: 'stable/{stream-exp}'
16 gs-pathname: '/{stream-exp}'
18 #------------------------------------
19 # patch verification phases
20 #------------------------------------
23 # this phase does basic commit message check, unit test and so on
24 slave-label: 'opnfv-build'
26 # this phase builds artifacts if valid for given installer
27 slave-label: 'opnfv-build-ubuntu'
29 # this phase does virtual deployment using the artifacts produced in previous phase
30 slave-label: 'fuel-virtual'
32 # this phase runs functest smoke test
33 slave-label: 'fuel-virtual'
34 #------------------------------------
36 #------------------------------------
38 - 'fuel-verify-{stream-exp}'
39 - 'fuel-verify-{phase}-{stream-exp}'
40 #------------------------------------
42 #------------------------------------
44 name: 'fuel-verify-{stream-exp}'
46 project-type: multijob
48 disabled: '{obj:disabled}'
50 # TODO: this is valid for experimental only
51 # enable concurrency for master once things settle
72 server-name: 'gerrit.opnfv.org'
74 - patchset-created-event:
75 exclude-drafts: 'false'
76 exclude-trivial-rebase: 'false'
77 exclude-no-code-change: 'false'
78 - draft-published-event
79 - comment-added-contains-event:
80 comment-contains-value: 'recheck'
81 - comment-added-contains-event:
82 comment-contains-value: 'reverify'
84 - project-compare-type: 'ANT'
85 project-pattern: '{project}'
87 - branch-compare-type: 'ANT'
88 branch-pattern: '**/{branch}'
99 readable-message: true
105 - 'opnfv-build-defaults'
106 - 'fuel-verify-defaults-exp':
107 gs-pathname: '{gs-pathname}'
110 - description-setter:
111 description: "Built on $NODE_NAME"
114 condition: SUCCESSFUL
116 - name: 'fuel-verify-basic-{stream-exp}'
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 condition: SUCCESSFUL
130 - name: 'fuel-verify-build-{stream-exp}'
131 current-parameters: false
132 predefined-parameters: |
134 GERRIT_REFSPEC=$GERRIT_REFSPEC
135 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
136 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
137 node-parameters: false
138 kill-phase-on: FAILURE
142 condition: SUCCESSFUL
144 - name: 'fuel-verify-deploy-virtual-{stream-exp}'
145 current-parameters: false
146 predefined-parameters: |
148 GERRIT_REFSPEC=$GERRIT_REFSPEC
149 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
150 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
151 node-parameters: false
152 kill-phase-on: FAILURE
156 condition: SUCCESSFUL
158 - name: 'fuel-verify-smoke-test-{stream-exp}'
159 current-parameters: false
160 predefined-parameters: |
162 GERRIT_REFSPEC=$GERRIT_REFSPEC
163 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
164 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
165 node-parameters: false
166 kill-phase-on: FAILURE
170 name: 'fuel-verify-{phase}-{stream-exp}'
172 disabled: '{obj:disabled}'
183 use-build-blocker: true
185 - 'fuel-verify-deploy-.*'
186 - 'fuel-verify-test-.*'
201 - '{slave-label}-defaults'
202 - '{installer}-defaults'
203 - 'fuel-verify-defaults-exp':
204 gs-pathname: '{gs-pathname}'
207 - description-setter:
208 description: "Built on $NODE_NAME"
209 - '{project}-verify-{phase}-macro-exp'
210 #------------------------------------
212 #------------------------------------
214 name: 'fuel-verify-basic-macro-exp'
217 !include-raw: ./fuel-basic-exp.sh
220 name: 'fuel-verify-build-macro-exp'
223 !include-raw: ./fuel-build-exp.sh
225 !include-raw: ./fuel-workspace-cleanup.sh
228 name: 'fuel-verify-deploy-virtual-macro-exp'
231 !include-raw: ./fuel-deploy-exp.sh
234 name: 'fuel-verify-smoke-test-macro-exp'
237 !include-raw: ./fuel-smoke-test-exp.sh
238 #------------------------------------
240 #------------------------------------
242 name: 'fuel-verify-defaults-exp'
245 name: BUILD_DIRECTORY
246 default: $WORKSPACE/build_output
247 description: "Directory where the build artifact will be located upon the completion of the build."
249 name: CACHE_DIRECTORY
250 default: $HOME/opnfv/cache/$INSTALLER_TYPE
251 description: "Directory where the cache to be used during the build is located."
254 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
255 description: "URL to Google Storage."