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 - 'bifrost-verify-{distro}-.*'
64 - 'bifrost-periodic-{distro}-.*'
65 - 'xci-osa-verify-{distro}-.*'
66 - 'xci-osa-periodic-{distro}-.*'
67 - 'xci-(os|k8s).*?-virtual-{distro}-.*'
74 - fix-workspace-permissions
78 credentials-id: '$SSH_CREDENTIAL_ID'
79 url: 'https://gerrit.opnfv.org/gerrit/releng-xci'
86 server-name: 'gerrit.opnfv.org'
89 - comment-added-contains-event:
90 comment-contains-value: 'remerge'
92 - project-compare-type: 'ANT'
93 project-pattern: '{obj:project}'
95 - branch-compare-type: 'ANT'
96 branch-pattern: '**/{branch}'
97 disable-strict-forbidden-file-verification: 'true'
100 pattern: 'scenarios/**'
101 readable-message: true
102 custom-url: '* $JOB_NAME $BUILD_URL'
106 project: '{obj:project}'
110 default: 'xci-virtual'
112 name: DEPLOY_SCENARIO
113 default: '{scenario}'
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-deploy-{type}-{distro}-merge-{stream}'
130 current-parameters: true
131 predefined-parameters: |
134 DEPLOY_SCENARIO={scenario}
135 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
136 GERRIT_BRANCH=$GERRIT_BRANCH
137 GERRIT_REFSPEC=$GERRIT_REFSPEC
138 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
139 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
140 node-parameters: true
141 kill-phase-on: FAILURE
145 condition: SUCCESSFUL
147 - name: 'xci-healthcheck-{type}-{distro}-merge-{stream}'
148 current-parameters: true
149 predefined-parameters: |
152 DEPLOY_SCENARIO={scenario}
153 CLEAN_DIB_IMAGES=$CLEAN_DIB_IMAGES
155 FUNCTEST_TIER=healthcheck
156 GERRIT_BRANCH=$GERRIT_BRANCH
157 GERRIT_REFSPEC=$GERRIT_REFSPEC
158 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
159 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
160 node-parameters: true
165 name: 'xci-{phase}-{type}-{distro}-merge-{stream}'
174 use-build-blocker: true
176 - '.*-bifrost-verify-.*'
177 - '.*-bifrost-periodic-.*'
185 default: 'releng-xci'
190 name: DEPLOY_SCENARIO
191 default: 'os-nosdn-nofeature-noha'
196 name: FUNCTEST_SUITE_NAME
197 default: 'healthcheck'
202 name: CLEAN_DIB_IMAGES
205 name: OPNFV_RELENG_DEV_PATH
212 default: https://gerrit.opnfv.org/gerrit/$PROJECT
213 description: 'Git URL to use on this Jenkins Slave'
219 - fix-workspace-permissions
223 credentials-id: '$SSH_CREDENTIAL_ID'
224 url: 'https://gerrit.opnfv.org/gerrit/releng-xci'
230 - description-setter:
231 description: "Built on $NODE_NAME"
232 - 'xci-merge-{phase}-macro'
234 # -------------------------------
236 # -------------------------------
238 name: 'xci-merge-deploy-macro'
241 !include-raw: ./xci-start-new-vm.sh
243 !include-raw: ./xci-start-deployment.sh
246 name: 'xci-merge-healthcheck-macro'
249 !include-raw: ./xci-run-functest.sh
251 !include-raw: ./xci-cleanup.sh
254 name: 'xci-merge-promote-macro'
257 !include-raw: ./xci-promote.sh