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/**'
116 pattern: 'prototypes/**'
118 pattern: 'upstream/**'
119 - project-compare-type: 'REG_EXP'
120 project-pattern: 'sfc|sdnvpn'
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'
147 name: CLEAN_DIB_IMAGES
151 default: https://gerrit.opnfv.org/gerrit/$PROJECT
152 description: 'Git URL to use on this Jenkins Slave'
155 - 'xci-verify-set-scenario-macro'
157 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
158 - description-setter:
159 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
162 condition: SUCCESSFUL
164 - name: 'xci-verify-{distro}-deploy-{type}-{stream}'
165 current-parameters: true
166 predefined-parameters: |
168 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
169 GERRIT_PROJECT=$GERRIT_PROJECT
170 GERRIT_BRANCH=$GERRIT_BRANCH
171 GERRIT_REFSPEC=$GERRIT_REFSPEC
172 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
173 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
174 node-parameters: true
175 kill-phase-on: FAILURE
179 condition: SUCCESSFUL
181 - name: 'xci-verify-{distro}-healthcheck-{type}-{stream}'
182 current-parameters: true
183 predefined-parameters: |
185 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
186 GERRIT_PROJECT=$GERRIT_PROJECT
187 GERRIT_BRANCH=$GERRIT_BRANCH
188 GERRIT_REFSPEC=$GERRIT_REFSPEC
189 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
190 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
192 FUNCTEST_TIER=healthcheck
193 node-parameters: true
199 script-only-if-succeeded: false
200 script-only-if-failed: false
203 !include-raw: ./xci-cleanup.sh
207 name: 'xci-verify-{distro}-{phase}-{type}-{stream}'
216 use-build-blocker: true
218 - '.*-bifrost-verify-.*'
219 - '.*-bifrost-periodic-.*'
227 default: $GERRIT_PROJECT
235 name: FUNCTEST_SUITE_NAME
236 default: 'healthcheck'
241 name: CLEAN_DIB_IMAGES
244 name: OPNFV_RELENG_DEV_PATH
248 default: https://gerrit.opnfv.org/gerrit/$PROJECT
249 description: 'Git URL to use on this Jenkins Slave'
253 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
257 - fix-workspace-permissions
263 - description-setter:
264 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
265 - 'xci-verify-{phase}-macro'
267 # -------------------------------
269 # -------------------------------
271 name: 'xci-verify-set-scenario-macro'
274 !include-raw: ./xci-set-scenario.sh
277 name: 'xci-verify-deploy-macro'
280 !include-raw: ./xci-start-new-vm.sh
283 !include-raw: ./xci-start-deployment.sh
286 name: 'xci-verify-healthcheck-macro'
289 !include-raw: ./xci-run-functest.sh