3 name: 'opnfv-xci-verify'
6 # -------------------------------
8 # -------------------------------
12 # -------------------------------
14 # -------------------------------
34 # -------------------------------
36 # -------------------------------
39 # -------------------------------
40 # patch verification phases
41 # -------------------------------
45 # -------------------------------
47 # -------------------------------
49 - 'xci-verify-{distro}-{type}-{stream}'
50 - 'xci-verify-{distro}-{phase}-{type}-{stream}'
51 # -------------------------------
53 # -------------------------------
55 name: 'xci-verify-{distro}-{type}-{stream}'
57 project-type: multijob
59 disabled: '{obj:disabled}'
66 use-build-blocker: true
68 - 'xci-verify-{distro}-.*'
69 - 'xci-merge-{distro}-.*'
72 - 'openstack-bifrost-verify-{distro}-.*'
73 - 'xci-osa-verify-{distro}-.*'
74 - 'xci-osa-periodic-{distro}-.*'
75 blocking-level: 'NODE'
87 - fix-workspace-permissions
94 server-name: 'gerrit.opnfv.org'
96 - patchset-created-event:
97 exclude-drafts: 'false'
98 exclude-trivial-rebase: 'false'
99 exclude-no-code-change: 'true'
100 - draft-published-event
101 - comment-added-contains-event:
102 comment-contains-value: 'recheck'
103 - comment-added-contains-event:
104 comment-contains-value: 'reverify'
106 - project-compare-type: 'ANT'
107 project-pattern: 'releng-xci'
109 - branch-compare-type: 'ANT'
110 branch-pattern: '**/{branch}'
111 disable-strict-forbidden-file-verification: 'false'
112 forbidden-file-paths:
114 pattern: 'xci/scripts/vm/**'
118 pattern: 'upstream/**'
119 - project-compare-type: 'REG_EXP'
120 project-pattern: 'sfc|sdnvpn|releng-xci-scenarios'
122 - branch-compare-type: 'ANT'
123 branch-pattern: '**/{branch}'
124 disable-strict-forbidden-file-verification: 'true'
127 pattern: 'scenarios/**'
128 readable-message: true
129 custom-url: '* $JOB_NAME $BUILD_URL'
131 successful: '{obj:successful}'
132 failed: '{obj:failed}'
133 unstable: '{obj:unstable}'
134 notbuilt: '{obj:notbuilt}'
138 project: $GERRIT_PROJECT
142 default: 'xci-virtual'
144 node-eligibility: 'ignore-offline'
149 name: CLEAN_DIB_IMAGES
155 name: FUNCTEST_VERSION
161 name: FUNCTEST_SUITE_NAME
162 default: 'healthcheck'
165 default: https://gerrit.opnfv.org/gerrit/$PROJECT
166 description: 'Git URL to use on this Jenkins Slave'
169 - 'xci-verify-clean-vm-macro'
170 - 'xci-verify-set-scenario-macro'
172 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
173 - description-setter:
174 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
177 condition: SUCCESSFUL
179 - name: 'xci-verify-{distro}-deploy-{type}-{stream}'
180 current-parameters: true
181 predefined-parameters: |
183 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
184 GERRIT_PROJECT=$GERRIT_PROJECT
185 GERRIT_BRANCH=$GERRIT_BRANCH
186 GERRIT_REFSPEC=$GERRIT_REFSPEC
187 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
188 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
190 FUNCTEST_VERSION=$FUNCTEST_VERSION
191 FUNCTEST_MODE=$FUNCTEST_MODE
192 FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME
193 node-parameters: true
194 kill-phase-on: FAILURE
198 condition: SUCCESSFUL
200 - name: 'xci-verify-{distro}-healthcheck-{type}-{stream}'
201 current-parameters: true
202 predefined-parameters: |
204 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
205 GERRIT_PROJECT=$GERRIT_PROJECT
206 GERRIT_BRANCH=$GERRIT_BRANCH
207 GERRIT_REFSPEC=$GERRIT_REFSPEC
208 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
209 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
211 FUNCTEST_VERSION=$FUNCTEST_VERSION
212 FUNCTEST_MODE=$FUNCTEST_MODE
213 FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME
214 node-parameters: true
228 - shell: !include-raw: ./xci-cleanup.sh
229 mark-unstable-if-failed: true
233 name: 'xci-verify-{distro}-{phase}-{type}-{stream}'
242 use-build-blocker: true
244 - '.*-bifrost-verify-.*'
245 - '.*-bifrost-periodic-.*'
248 blocking-level: 'NODE'
253 default: $GERRIT_PROJECT
261 name: FUNCTEST_VERSION
267 name: FUNCTEST_SUITE_NAME
268 default: 'healthcheck'
273 name: CLEAN_DIB_IMAGES
276 name: OPNFV_RELENG_DEV_PATH
280 default: https://gerrit.opnfv.org/gerrit/$PROJECT
281 description: 'Git URL to use on this Jenkins Slave'
285 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
289 - fix-workspace-permissions
295 - description-setter:
296 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
297 - 'xci-verify-{phase}-macro'
299 # -------------------------------
301 # -------------------------------
303 name: 'xci-verify-clean-vm-macro'
306 !include-raw: ./xci-cleanup.sh
309 name: 'xci-verify-set-scenario-macro'
312 !include-raw: ./xci-set-scenario.sh
315 name: 'xci-verify-deploy-macro'
318 !include-raw: ./xci-start-new-vm.sh
321 !include-raw: ./xci-start-deployment.sh
324 name: 'xci-verify-healthcheck-macro'
327 !include-raw: ./xci-run-functest.sh