3 name: 'opnfv-xci-merge'
5 # -------------------------------
7 # -------------------------------
11 # -------------------------------
13 # -------------------------------
21 # -------------------------------
23 # -------------------------------
26 # -------------------------------
27 # patch verification phases
28 # -------------------------------
33 # -------------------------------
35 # -------------------------------
39 # -------------------------------
41 # -------------------------------
43 - 'xci-{scenario}-{type}-{distro}-merge-{stream}'
44 - 'xci-{phase}-{type}-{distro}-merge-{stream}'
45 # -------------------------------
47 # -------------------------------
49 name: 'xci-{scenario}-{type}-{distro}-merge-{stream}'
51 project-type: multijob
53 disabled: '{obj:disabled}'
60 use-build-blocker: true
62 - 'xci-verify-{distro}-.*'
63 - 'xci-.*-{distro}-merge-.*'
64 - 'openstack-bifrost-verify-{distro}-.*'
65 - 'xci-osa-verify-{distro}-.*'
66 - 'xci-osa-periodic-{distro}-.*'
67 - 'xci-(os|k8s).*?-virtual-{distro}-.*'
80 - fix-workspace-permissions
84 credentials-id: '$SSH_CREDENTIAL_ID'
85 url: 'https://gerrit.opnfv.org/gerrit/releng-xci'
92 server-name: 'gerrit.opnfv.org'
95 - comment-added-contains-event:
96 comment-contains-value: 'remerge'
98 - project-compare-type: 'ANT'
99 project-pattern: '{obj:project}'
101 - branch-compare-type: 'ANT'
102 branch-pattern: '**/{branch}'
103 disable-strict-forbidden-file-verification: 'true'
106 pattern: 'scenarios/**'
107 readable-message: true
108 custom-url: '* $JOB_NAME $BUILD_URL'
112 project: '{obj:project}'
116 default: 'xci-virtual'
118 name: DEPLOY_SCENARIO
119 default: '{scenario}'
121 name: CLEAN_DIB_IMAGES
125 default: https://gerrit.opnfv.org/gerrit/$PROJECT
126 description: 'Git URL to use on this Jenkins Slave'
129 - description-setter:
130 description: "Built on $NODE_NAME"
133 condition: SUCCESSFUL
135 - name: 'xci-deploy-{type}-{distro}-merge-{stream}'
136 current-parameters: true
137 predefined-parameters: |
140 DEPLOY_SCENARIO={scenario}
141 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
142 GERRIT_BRANCH=$GERRIT_BRANCH
143 GERRIT_REFSPEC=$GERRIT_REFSPEC
144 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
145 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
146 node-parameters: true
147 kill-phase-on: FAILURE
151 condition: SUCCESSFUL
153 - name: 'xci-healthcheck-{type}-{distro}-merge-{stream}'
154 current-parameters: true
155 predefined-parameters: |
158 DEPLOY_SCENARIO={scenario}
159 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
161 FUNCTEST_TIER=healthcheck
162 GERRIT_BRANCH=$GERRIT_BRANCH
163 GERRIT_REFSPEC=$GERRIT_REFSPEC
164 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
165 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
166 node-parameters: true
172 script-only-if-succeeded: false
173 script-only-if-failed: false
176 !include-raw: ./xci-cleanup.sh
179 name: 'xci-{phase}-{type}-{distro}-merge-{stream}'
188 use-build-blocker: true
190 - '.*-bifrost-verify-.*'
191 - '.*-bifrost-periodic-.*'
199 default: 'releng-xci'
204 name: DEPLOY_SCENARIO
205 default: 'os-nosdn-nofeature-noha'
210 name: FUNCTEST_SUITE_NAME
211 default: 'healthcheck'
216 name: CLEAN_DIB_IMAGES
219 name: OPNFV_RELENG_DEV_PATH
226 default: https://gerrit.opnfv.org/gerrit/$PROJECT
227 description: 'Git URL to use on this Jenkins Slave'
233 - fix-workspace-permissions
237 credentials-id: '$SSH_CREDENTIAL_ID'
238 url: 'https://gerrit.opnfv.org/gerrit/releng-xci'
244 - description-setter:
245 description: "Built on $NODE_NAME"
246 - 'xci-merge-{phase}-macro'
248 # -------------------------------
250 # -------------------------------
252 name: 'xci-merge-deploy-macro'
255 !include-raw: ./xci-start-new-vm.sh
257 !include-raw: ./xci-start-deployment.sh
260 name: 'xci-merge-healthcheck-macro'
263 !include-raw: ./xci-run-functest.sh
266 name: 'xci-merge-promote-macro'
269 !include-raw: ./xci-promote.sh