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-.*-{distro}-merge-.*'
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/**'
113 - project-compare-type: 'REG_EXP'
114 project-pattern: 'sfc|sdnvpn'
116 - branch-compare-type: 'ANT'
117 branch-pattern: '**/{branch}'
118 disable-strict-forbidden-file-verification: 'true'
121 pattern: 'scenarios/**'
122 readable-message: true
123 custom-url: '* $JOB_NAME $BUILD_URL'
125 successful: '{obj:successful}'
126 failed: '{obj:failed}'
127 unstable: '{obj:unstable}'
128 notbuilt: '{obj:notbuilt}'
132 project: $GERRIT_PROJECT
136 default: 'xci-virtual'
141 name: CLEAN_DIB_IMAGES
145 default: https://gerrit.opnfv.org/gerrit/$PROJECT
146 description: 'Git URL to use on this Jenkins Slave'
149 - 'xci-verify-set-scenario-macro'
151 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
152 - description-setter:
153 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
156 condition: SUCCESSFUL
158 - name: 'xci-verify-{distro}-deploy-{type}-{stream}'
159 current-parameters: true
160 predefined-parameters: |
162 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
163 GERRIT_PROJECT=$GERRIT_PROJECT
164 GERRIT_BRANCH=$GERRIT_BRANCH
165 GERRIT_REFSPEC=$GERRIT_REFSPEC
166 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
167 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
168 node-parameters: true
169 kill-phase-on: FAILURE
173 condition: SUCCESSFUL
175 - name: 'xci-verify-{distro}-healthcheck-{type}-{stream}'
176 current-parameters: true
177 predefined-parameters: |
179 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
180 GERRIT_PROJECT=$GERRIT_PROJECT
181 GERRIT_BRANCH=$GERRIT_BRANCH
182 GERRIT_REFSPEC=$GERRIT_REFSPEC
183 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
184 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
186 FUNCTEST_TIER=healthcheck
187 node-parameters: true
192 name: 'xci-verify-{distro}-{phase}-{type}-{stream}'
201 use-build-blocker: true
203 - '.*-bifrost-verify-.*'
204 - '.*-bifrost-periodic-.*'
212 default: $GERRIT_PROJECT
220 name: FUNCTEST_SUITE_NAME
221 default: 'healthcheck'
226 name: CLEAN_DIB_IMAGES
229 name: OPNFV_RELENG_DEV_PATH
236 default: https://gerrit.opnfv.org/gerrit/$PROJECT
237 description: 'Git URL to use on this Jenkins Slave'
241 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
245 - fix-workspace-permissions
251 - description-setter:
252 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
253 - 'xci-verify-{phase}-macro'
255 # -------------------------------
257 # -------------------------------
259 name: 'xci-verify-set-scenario-macro'
262 !include-raw: ./xci-set-scenario.sh
265 name: 'xci-verify-deploy-macro'
268 !include-raw: ./xci-start-new-vm.sh
271 !include-raw: ./xci-start-deployment.sh
274 name: 'xci-verify-healthcheck-macro'
277 !include-raw: ./xci-cleanup.sh