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}-.*'
70 - 'openstack-bifrost-verify-{distro}-.*'
71 - 'xci-osa-verify-{distro}-.*'
72 - 'xci-osa-periodic-{distro}-.*'
85 - fix-workspace-permissions
92 server-name: 'gerrit.opnfv.org'
94 - patchset-created-event:
95 exclude-drafts: 'false'
96 exclude-trivial-rebase: 'false'
97 exclude-no-code-change: 'true'
98 - draft-published-event
99 - comment-added-contains-event:
100 comment-contains-value: 'recheck'
101 - comment-added-contains-event:
102 comment-contains-value: 'reverify'
104 - project-compare-type: 'ANT'
105 project-pattern: 'releng-xci'
107 - branch-compare-type: 'ANT'
108 branch-pattern: '**/{branch}'
109 disable-strict-forbidden-file-verification: 'false'
110 forbidden-file-paths:
112 pattern: 'xci/scripts/vm/**'
115 - project-compare-type: 'REG_EXP'
116 project-pattern: 'sfc|sdnvpn'
118 - branch-compare-type: 'ANT'
119 branch-pattern: '**/{branch}'
120 disable-strict-forbidden-file-verification: 'true'
123 pattern: 'scenarios/**'
124 readable-message: true
125 custom-url: '* $JOB_NAME $BUILD_URL'
127 successful: '{obj:successful}'
128 failed: '{obj:failed}'
129 unstable: '{obj:unstable}'
130 notbuilt: '{obj:notbuilt}'
134 project: $GERRIT_PROJECT
138 default: 'xci-virtual'
143 name: CLEAN_DIB_IMAGES
147 default: https://gerrit.opnfv.org/gerrit/$PROJECT
148 description: 'Git URL to use on this Jenkins Slave'
151 - 'xci-verify-set-scenario-macro'
153 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
154 - description-setter:
155 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
158 condition: SUCCESSFUL
160 - name: 'xci-verify-{distro}-deploy-{type}-{stream}'
161 current-parameters: true
162 predefined-parameters: |
164 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
165 GERRIT_PROJECT=$GERRIT_PROJECT
166 GERRIT_BRANCH=$GERRIT_BRANCH
167 GERRIT_REFSPEC=$GERRIT_REFSPEC
168 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
169 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
170 node-parameters: true
171 kill-phase-on: FAILURE
175 condition: SUCCESSFUL
177 - name: 'xci-verify-{distro}-healthcheck-{type}-{stream}'
178 current-parameters: true
179 predefined-parameters: |
181 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
182 GERRIT_PROJECT=$GERRIT_PROJECT
183 GERRIT_BRANCH=$GERRIT_BRANCH
184 GERRIT_REFSPEC=$GERRIT_REFSPEC
185 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
186 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
188 FUNCTEST_TIER=healthcheck
189 node-parameters: true
195 script-only-if-succeeded: false
196 script-only-if-failed: false
199 !include-raw: ./xci-cleanup.sh
203 name: 'xci-verify-{distro}-{phase}-{type}-{stream}'
212 use-build-blocker: true
214 - '.*-bifrost-verify-.*'
215 - '.*-bifrost-periodic-.*'
223 default: $GERRIT_PROJECT
231 name: FUNCTEST_SUITE_NAME
232 default: 'healthcheck'
237 name: CLEAN_DIB_IMAGES
240 name: OPNFV_RELENG_DEV_PATH
244 default: https://gerrit.opnfv.org/gerrit/$PROJECT
245 description: 'Git URL to use on this Jenkins Slave'
249 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
253 - fix-workspace-permissions
259 - description-setter:
260 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
261 - 'xci-verify-{phase}-macro'
263 # -------------------------------
265 # -------------------------------
267 name: 'xci-verify-set-scenario-macro'
270 !include-raw: ./xci-set-scenario.sh
273 name: 'xci-verify-deploy-macro'
276 !include-raw: ./xci-start-new-vm.sh
279 !include-raw: ./xci-start-deployment.sh
282 name: 'xci-verify-healthcheck-macro'
285 !include-raw: ./xci-run-functest.sh