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
106 - 'opnfv-build-defaults'
107 - 'fuel-verify-defaults-exp':
108 gs-pathname: '{gs-pathname}'
111 - description-setter:
112 description: "Built on $NODE_NAME"
115 condition: SUCCESSFUL
117 - name: 'fuel-verify-basic-{stream-exp}'
118 current-parameters: false
119 predefined-parameters: |
120 GERRIT_BRANCH=$GERRIT_BRANCH
121 GERRIT_REFSPEC=$GERRIT_REFSPEC
122 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
123 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
124 node-parameters: false
125 kill-phase-on: FAILURE
129 condition: SUCCESSFUL
131 - name: 'fuel-verify-build-{stream-exp}'
132 current-parameters: false
133 predefined-parameters: |
134 GERRIT_BRANCH=$GERRIT_BRANCH
135 GERRIT_REFSPEC=$GERRIT_REFSPEC
136 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
137 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
138 node-parameters: false
139 kill-phase-on: FAILURE
143 condition: SUCCESSFUL
145 - name: 'fuel-verify-deploy-virtual-{stream-exp}'
146 current-parameters: false
147 predefined-parameters: |
148 GERRIT_BRANCH=$GERRIT_BRANCH
149 GERRIT_REFSPEC=$GERRIT_REFSPEC
150 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
151 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
152 node-parameters: false
153 kill-phase-on: FAILURE
157 condition: SUCCESSFUL
159 - name: 'fuel-verify-smoke-test-{stream-exp}'
160 current-parameters: false
161 predefined-parameters: |
162 GERRIT_BRANCH=$GERRIT_BRANCH
163 GERRIT_REFSPEC=$GERRIT_REFSPEC
164 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
165 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
166 node-parameters: false
167 kill-phase-on: FAILURE
171 name: 'fuel-verify-{phase}-{stream-exp}'
173 disabled: '{obj:disabled}'
184 use-build-blocker: true
186 - 'fuel-verify-deploy-.*'
187 - 'fuel-verify-test-.*'
203 - '{slave-label}-defaults'
204 - '{installer}-defaults'
205 - 'fuel-verify-defaults-exp':
206 gs-pathname: '{gs-pathname}'
209 - description-setter:
210 description: "Built on $NODE_NAME"
211 - '{project}-verify-{phase}-macro-exp'
212 #------------------------------------
214 #------------------------------------
216 name: 'fuel-verify-basic-macro-exp'
219 !include-raw: ./fuel-basic-exp.sh
222 name: 'fuel-verify-build-macro-exp'
225 !include-raw: ./fuel-build-exp.sh
227 !include-raw: ./fuel-workspace-cleanup.sh
230 name: 'fuel-verify-deploy-virtual-macro-exp'
233 !include-raw: ./fuel-deploy-exp.sh
236 name: 'fuel-verify-smoke-test-macro-exp'
239 !include-raw: ./fuel-smoke-test-exp.sh
240 #------------------------------------
242 #------------------------------------
244 name: 'fuel-verify-defaults-exp'
247 name: BUILD_DIRECTORY
248 default: $WORKSPACE/build_output
249 description: "Directory where the build artifact will be located upon the completion of the build."
251 name: CACHE_DIRECTORY
252 default: $HOME/opnfv/cache/$INSTALLER_TYPE
253 description: "Directory where the cache to be used during the build is located."
256 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
257 description: "URL to Google Storage."