8 #####################################
10 #####################################
17 branch: 'stable/oxygen'
20 #####################################
21 # patch verification phases
22 #####################################
25 slave-label: 'apex-virtual-master'
27 slave-label: 'apex-virtual-master'
29 slave-label: 'apex-virtual-master'
30 #####################################
32 #####################################
34 - 'odl-netvirt-verify-virtual-{stream}'
35 - 'odl-netvirt-verify-virtual-{phase}-{stream}'
37 #####################################
39 #####################################
41 name: 'odl-netvirt-verify-virtual-{stream}'
43 project-type: multijob
45 disabled: '{obj:disabled}'
57 use-build-blocker: true
62 - 'odl-netvirt-verify-virtual-create-apex-vms-.*'
63 - 'odl-netvirt-verify-virtual-install-netvirt-.*'
64 - 'functest-netvirt-virtual-suite-.*'
65 - 'odl-netvirt-verify-virtual-postprocess-.*'
69 url: https://gerrit.opnfv.org/gerrit/apex
80 name: NETVIRT_ARTIFACT
81 default: distribution-karaf.tar.gz
82 - 'apex-virtual-master-defaults'
86 server-name: 'git.opendaylight.org'
88 # yamllint disable rule:line-length
89 # - comment-added-contains-event:
90 # comment-contains-value: 'https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon/.*?/ : SUCCESS'
91 # - comment-added-contains-event:
92 # comment-contains-value: 'https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon/.*?/ : UNSTABLE'
93 # yamllint enable rule:line-length
94 - comment-added-contains-event:
95 comment-contains-value: 'check-opnfv'
97 - project-compare-type: 'ANT'
98 project-pattern: '{project}'
100 - branch-compare-type: 'ANT'
101 branch-pattern: '**/{branch}'
102 readable-message: true
105 - description-setter:
106 description: "Built on $NODE_NAME"
107 - detect-opnfv-snapshot
109 properties-file: detected_snapshot
111 name: create-apex-vms
112 condition: SUCCESSFUL
114 - name: 'odl-netvirt-verify-virtual-create-apex-vms-{stream}'
115 current-parameters: false
116 predefined-parameters: |
118 GERRIT_REFSPEC=$GERRIT_REFSPEC
119 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
120 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
121 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
122 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
123 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
124 APEX_ENV_NUMBER=$APEX_ENV_NUMBER
125 GERRIT_EVENT_COMMENT_TEXT=$GERRIT_EVENT_COMMENT_TEXT
127 OS_VERSION=$OS_VERSION
128 node-parameters: true
129 kill-phase-on: FAILURE
132 name: install-netvirt
133 condition: SUCCESSFUL
135 - name: 'odl-netvirt-verify-virtual-install-netvirt-{stream}'
136 current-parameters: false
137 predefined-parameters: |
140 GERRIT_REFSPEC=$GERRIT_REFSPEC
141 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
142 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
143 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
144 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
145 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
147 OS_VERSION=$OS_VERSION
148 node-parameters: true
149 kill-phase-on: FAILURE
155 - name: cperf-apex-csit-{stream}
156 predefined-parameters: |
158 RC_FILE_PATH=$SNAP_CACHE/overcloudrc
159 NODE_FILE_PATH=$SNAP_CACHE/node.yaml
160 SSH_KEY_PATH=$SNAP_CACHE/id_rsa
161 ODL_CONTAINERIZED=false
162 OS_VERSION=$OS_VERSION
163 node-parameters: true
167 if echo $OS_VERSION | grep queens &> /dev/null; then
168 echo 'REPO=opnfv' > functest_repo
170 echo 'REPO=ollivier' > functest_repo
173 properties-file: functest_repo
176 condition: SUCCESSFUL
178 - name: 'functest-netvirt-virtual-suite-master'
179 predefined-parameters: |
180 DEPLOY_SCENARIO=os-odl-nofeature-$TOPOLOGY
181 FUNCTEST_MODE=testcase
182 FUNCTEST_SUITE_NAME=tempest_smoke
183 RC_FILE_PATH=$HOME/cloner-info/overcloudrc
185 node-parameters: true
186 kill-phase-on: FAILURE
192 - name: 'odl-netvirt-verify-virtual-postprocess-{stream}'
193 current-parameters: false
194 predefined-parameters: |
196 GERRIT_REFSPEC=$GERRIT_REFSPEC
197 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
198 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
199 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
200 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
201 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
202 node-parameters: true
203 kill-phase-on: FAILURE
207 name: 'odl-netvirt-verify-virtual-{phase}-{stream}'
209 disabled: '{obj:disabled}'
221 use-build-blocker: true
223 - 'odl-netvirt-verify-virtual-create-apex-vms-.*'
224 - 'odl-netvirt-verify-virtual-install-netvirt-.*'
225 - 'functest-netvirt-virtual-suite-.*'
226 - 'odl-netvirt-verify-virtual-postprocess-.*'
237 url: https://gerrit.opnfv.org/gerrit/apex
247 - '{slave-label}-defaults'
248 - '{installer}-defaults'
250 name: DEPLOY_SCENARIO
251 default: 'os-odl-nofeature-noha'
252 description: 'Scenario to deploy and test'
255 default: artifacts.opnfv.org/apex
256 description: "URL to Google Storage with snapshot artifacts."
259 - description-setter:
260 description: "Built on $NODE_NAME"
261 - '{project}-verify-{phase}-builder'
262 #####################################
264 #####################################
266 name: 'netvirt-verify-create-apex-vms-builder'
269 !include-raw: ../apex/apex-snapshot-deploy.sh
271 name: 'netvirt-verify-install-netvirt-builder'
274 !include-raw: ./download-netvirt-artifact.sh
276 !include-raw: ./install-netvirt.sh
278 name: 'netvirt-verify-postprocess-builder'
281 !include-raw: ./postprocess-netvirt.sh
284 name: 'detect-opnfv-snapshot'
287 !include-raw: ./detect-snapshot.sh