8 #####################################
10 #####################################
17 branch: 'stable/carbon'
20 #####################################
21 # patch verification phases
22 #####################################
25 slave-label: 'odl-netvirt-virtual-intel'
27 slave-label: 'odl-netvirt-virtual-intel'
29 slave-label: 'odl-netvirt-virtual-intel'
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}'
59 url: https://gerrit.opnfv.org/gerrit/apex
70 name: NETVIRT_ARTIFACT
71 default: distribution-karaf.tar.gz
72 - 'odl-netvirt-virtual-intel-defaults'
76 server-name: 'git.opendaylight.org'
78 # yamllint disable rule:line-length
79 # - comment-added-contains-event:
80 # comment-contains-value: 'https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon/.*?/ : SUCCESS'
81 # - comment-added-contains-event:
82 # comment-contains-value: 'https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon/.*?/ : UNSTABLE'
83 # yamllint enable rule:line-length
84 - comment-added-contains-event:
85 comment-contains-value: 'opnfv-test'
87 - project-compare-type: 'ANT'
88 project-pattern: '{project}'
90 - branch-compare-type: 'ANT'
91 branch-pattern: '**/{branch}'
92 readable-message: true
96 description: "Built on $NODE_NAME"
101 - name: 'odl-netvirt-verify-virtual-create-apex-vms-{stream}'
102 current-parameters: false
103 predefined-parameters: |
105 GERRIT_REFSPEC=$GERRIT_REFSPEC
106 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
107 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
108 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
109 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
110 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
111 APEX_ENV_NUMBER=$APEX_ENV_NUMBER
112 node-parameters: true
113 kill-phase-on: FAILURE
116 name: install-netvirt
117 condition: SUCCESSFUL
119 - name: 'odl-netvirt-verify-virtual-install-netvirt-{stream}'
120 current-parameters: false
121 predefined-parameters: |
124 GERRIT_REFSPEC=$GERRIT_REFSPEC
125 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
126 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
127 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
128 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
129 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
130 node-parameters: true
131 kill-phase-on: FAILURE
135 condition: SUCCESSFUL
137 - name: 'functest-netvirt-virtual-suite-master'
138 predefined-parameters: |
139 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
140 FUNCTEST_MODE=testcase
141 FUNCTEST_SUITE_NAME=odl_netvirt
142 RC_FILE_PATH=$HOME/cloner-info/overcloudrc
143 node-parameters: true
144 kill-phase-on: FAILURE
150 - name: 'odl-netvirt-verify-virtual-postprocess-{stream}'
151 current-parameters: false
152 predefined-parameters: |
154 GERRIT_REFSPEC=$GERRIT_REFSPEC
155 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
156 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
157 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
158 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
159 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
160 node-parameters: true
161 kill-phase-on: FAILURE
165 name: 'odl-netvirt-verify-virtual-{phase}-{stream}'
167 disabled: '{obj:disabled}'
179 use-build-blocker: true
181 - 'odl-netvirt-verify-virtual-create-apex-vms-.*'
182 - 'odl-netvirt-verify-virtual-install-netvirt-.*'
183 - 'functest-netvirt-virtual-suite-.*'
184 - 'odl-netvirt-verify-virtual-postprocess-.*'
195 url: https://gerrit.opnfv.org/gerrit/apex
205 - '{slave-label}-defaults'
206 - '{installer}-defaults'
208 name: DEPLOY_SCENARIO
209 default: 'os-odl_l2-bgpvpn-noha'
210 description: 'Scenario to deploy and test'
213 default: artifacts.opnfv.org/apex
214 description: "URL to Google Storage with snapshot artifacts."
217 - description-setter:
218 description: "Built on $NODE_NAME"
219 - '{project}-verify-{phase}-builder'
220 #####################################
222 #####################################
224 name: 'netvirt-verify-create-apex-vms-builder'
227 !include-raw: ../apex/apex-snapshot-deploy.sh
229 name: 'netvirt-verify-install-netvirt-builder'
232 !include-raw: ./download-netvirt-artifact.sh
234 !include-raw: ./install-netvirt.sh
236 name: 'netvirt-verify-postprocess-builder'
239 !include-raw: ./postprocess-netvirt.sh