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|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'
141 name: CLEAN_DIB_IMAGES
145 default: https://gerrit.opnfv.org/gerrit/releng-xci
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 DEPLOY_SCENARIO=os-nosdn-nofeature
163 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
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 DEPLOY_SCENARIO=os-nosdn-nofeature
180 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
182 FUNCTEST_TIER=healthcheck
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
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: 'releng-xci'
217 name: DEPLOY_SCENARIO
218 default: 'os-nosdn-nofeature'
223 name: FUNCTEST_SUITE_NAME
224 default: 'healthcheck'
229 name: CLEAN_DIB_IMAGES
232 name: OPNFV_RELENG_DEV_PATH
239 default: https://gerrit.opnfv.org/gerrit/releng-xci
240 description: 'Git URL to use on this Jenkins Slave'
244 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO/scenario.properties"
248 - fix-workspace-permissions
254 - description-setter:
255 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
256 - 'xci-verify-{phase}-macro'
258 # -------------------------------
260 # -------------------------------
262 name: 'xci-verify-set-scenario-macro'
265 !include-raw: ./xci-set-scenario.sh
268 name: 'xci-verify-deploy-macro'
271 !include-raw: ./xci-start-new-vm.sh
274 !include-raw: ./xci-start-deployment.sh
277 name: 'xci-verify-healthcheck-macro'
280 !include-raw: ./xci-cleanup.sh