2 name: 'opnfv-xci-verify'
5 #--------------------------------
7 #--------------------------------
11 #--------------------------------
13 #--------------------------------
21 #--------------------------------
23 #--------------------------------
26 #--------------------------------
27 # patch verification phases
28 #--------------------------------
32 #--------------------------------
34 #--------------------------------
36 - 'xci-verify-{distro}-{type}-{stream}'
37 - 'xci-verify-{phase}-{type}-{stream}'
38 #--------------------------------
40 #--------------------------------
42 name: 'xci-verify-{distro}-{type}-{stream}'
44 project-type: multijob
46 disabled: '{obj:disabled}'
53 use-build-blocker: true
57 - 'bifrost-periodic-.*'
66 - fix-workspace-permissions
73 server-name: 'gerrit.opnfv.org'
75 - patchset-created-event:
76 exclude-drafts: 'false'
77 exclude-trivial-rebase: 'false'
78 exclude-no-code-change: 'true'
79 - draft-published-event
80 - comment-added-contains-event:
81 comment-contains-value: 'recheck'
82 - comment-added-contains-event:
83 comment-contains-value: 'reverify'
85 - project-compare-type: 'ANT'
86 project-pattern: '{project}'
88 - branch-compare-type: 'ANT'
89 branch-pattern: '**/{branch}'
90 disable-strict-forbidden-file-verification: 'true'
98 pattern: 'prototypes/**'
100 pattern: 'upstream/**'
102 pattern: '**/README.rst'
105 readable-message: true
113 default: 'xci-virtual-{distro}'
115 name: CLEAN_DIB_IMAGES
119 default: https://gerrit.opnfv.org/gerrit/$PROJECT
120 description: 'Git URL to use on this Jenkins Slave'
123 - description-setter:
124 description: "Built on $NODE_NAME"
127 condition: SUCCESSFUL
129 - name: 'xci-verify-deploy-{type}-{stream}'
130 current-parameters: true
131 predefined-parameters: |
133 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
134 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
135 node-parameters: true
136 kill-phase-on: FAILURE
140 condition: SUCCESSFUL
142 - name: 'xci-verify-healthcheck-{type}-{stream}'
143 current-parameters: true
144 predefined-parameters: |
146 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
147 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
148 FUNCTEST_SUITE_NAME=healthcheck
149 node-parameters: true
154 name: 'xci-verify-{phase}-{type}-{stream}'
163 use-build-blocker: true
165 - 'xci-verify-deploy-.*'
166 - 'xci-verify-healthcheck-.*'
167 - 'bifrost-verify-.*'
168 - 'bifrost-periodic-.*'
178 name: DEPLOY_SCENARIO
179 default: 'os-nosdn-nofeature-noha'
181 name: FUNCTEST_SUITE_NAME
182 default: 'healthcheck'
187 name: CLEAN_DIB_IMAGES
190 name: OPNFV_RELENG_DEV_PATH
197 default: https://gerrit.opnfv.org/gerrit/$PROJECT
198 description: 'Git URL to use on this Jenkins Slave'
204 - fix-workspace-permissions
210 - description-setter:
211 description: "Built on $NODE_NAME"
212 - 'xci-verify-{phase}-macro'
214 #--------------------------------
216 #--------------------------------
218 name: 'xci-verify-deploy-macro'
223 # skip the deployment if the patch doesn't impact the deployment
224 if [[ "$GERRIT_TOPIC" =~ 'skip-verify' ]]; then
225 echo "Skipping the deployment!"
229 # for some reason, the PATH is not set correctly
230 # setting PATH for ansible stuff
231 export PATH=/home/jenkins/.local/bin:$PATH
238 name: 'xci-verify-healthcheck-macro'
243 # skip the healthcheck if the patch doesn't impact the deployment
244 if [[ "$GERRIT_TOPIC" =~ 'skip-verify' ]]; then
245 echo "Skipping the healthcheck!"
251 # this will be enabled once the xci is prepared
253 # name: 'xci-verify-healthcheck-macro'
256 # !include-raw: ../../utils/fetch_os_creds.sh
258 # !include-raw: ../functest/functest-alpine.sh