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 - 'bifrost-verify-{distro}-.*'
70 - 'bifrost-periodic-{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: 'ANT'
114 project-pattern: 'sfc|bgpvpn'
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}'
136 default: 'xci-virtual'
138 name: CLEAN_DIB_IMAGES
142 default: https://gerrit.opnfv.org/gerrit/releng-xci
143 description: 'Git URL to use on this Jenkins Slave'
146 - 'xci-verify-set-scenario-macro'
148 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/scenario.properties"
149 - description-setter:
150 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
153 condition: SUCCESSFUL
155 - name: 'xci-verify-{distro}-deploy-{type}-{stream}'
156 current-parameters: true
157 predefined-parameters: |
159 DEPLOY_SCENARIO=os-nosdn-nofeature
160 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
161 GERRIT_BRANCH=$GERRIT_BRANCH
162 GERRIT_REFSPEC=$GERRIT_REFSPEC
163 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
164 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
165 node-parameters: true
166 kill-phase-on: FAILURE
170 condition: SUCCESSFUL
172 - name: 'xci-verify-{distro}-healthcheck-{type}-{stream}'
173 current-parameters: true
174 predefined-parameters: |
176 DEPLOY_SCENARIO=os-nosdn-nofeature
177 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
179 FUNCTEST_TIER=healthcheck
180 GERRIT_BRANCH=$GERRIT_BRANCH
181 GERRIT_REFSPEC=$GERRIT_REFSPEC
182 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
183 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
184 node-parameters: true
189 name: 'xci-verify-{distro}-{phase}-{type}-{stream}'
198 use-build-blocker: true
200 - '.*-bifrost-verify-.*'
201 - '.*-bifrost-periodic-.*'
209 default: 'releng-xci'
214 name: DEPLOY_SCENARIO
215 default: 'os-nosdn-nofeature'
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/releng-xci
237 description: 'Git URL to use on this Jenkins Slave'
241 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/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