7 #####################################
9 #####################################
15 #####################################
16 # patch verification phases
17 #####################################
20 slave-label: 'odl-netvirt-virtual-intel'
22 slave-label: 'odl-netvirt-virtual-intel'
24 slave-label: 'odl-netvirt-virtual-intel'
25 #####################################
27 #####################################
29 - 'odl-netvirt-verify-virtual-{stream}'
30 - 'odl-netvirt-verify-virtual-{phase}-{stream}'
31 #####################################
33 #####################################
35 name: 'odl-netvirt-verify-virtual-{stream}'
37 project-type: multijob
39 disabled: '{obj:disabled}'
53 url: https://gerrit.opnfv.org/gerrit/apex
64 name: NETVIRT_ARTIFACT
65 default: distribution-karaf.tar.gz
66 - 'odl-netvirt-virtual-intel-defaults'
70 server-name: 'git.opendaylight.org'
72 # - comment-added-contains-event:
73 # comment-contains-value: 'https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon/.*?/ : SUCCESS'
74 # - comment-added-contains-event:
75 # comment-contains-value: 'https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon/.*?/ : UNSTABLE'
76 - comment-added-contains-event:
77 comment-contains-value: 'opnfv-test'
79 - project-compare-type: 'ANT'
80 project-pattern: '{project}'
82 - branch-compare-type: 'ANT'
83 branch-pattern: '**/{branch}'
84 readable-message: true
88 description: "Built on $NODE_NAME"
93 - name: 'odl-netvirt-verify-virtual-create-apex-vms-{stream}'
94 current-parameters: false
95 predefined-parameters: |
97 GERRIT_REFSPEC=$GERRIT_REFSPEC
98 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
99 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
100 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
101 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
102 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
103 APEX_ENV_NUMBER=$APEX_ENV_NUMBER
104 node-parameters: true
105 kill-phase-on: FAILURE
108 name: install-netvirt
109 condition: SUCCESSFUL
111 - name: 'odl-netvirt-verify-virtual-install-netvirt-{stream}'
112 current-parameters: false
113 predefined-parameters: |
115 GERRIT_REFSPEC=$GERRIT_REFSPEC
116 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
117 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
118 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
119 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
120 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
121 node-parameters: true
122 kill-phase-on: FAILURE
126 condition: SUCCESSFUL
128 - name: 'functest-netvirt-virtual-suite-{stream}'
129 predefined-parameters: |
130 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
131 FUNCTEST_SUITE_NAME=tempest_smoke_serial
132 RC_FILE_PATH=$HOME/cloner-info/overcloudrc
133 node-parameters: true
134 kill-phase-on: FAILURE
140 - name: 'odl-netvirt-verify-virtual-postprocess-{stream}'
141 current-parameters: false
142 predefined-parameters: |
144 GERRIT_REFSPEC=$GERRIT_REFSPEC
145 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
146 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
147 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
148 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
149 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
150 node-parameters: true
151 kill-phase-on: FAILURE
155 name: 'odl-netvirt-verify-virtual-{phase}-{stream}'
157 disabled: '{obj:disabled}'
169 use-build-blocker: true
171 - 'odl-netvirt-verify-virtual-create-apex-vms-.*'
172 - 'odl-netvirt-verify-virtual-install-netvirt-.*'
173 - 'functest-netvirt-virtual-suite-.*'
174 - 'odl-netvirt-verify-virtual-postprocess-.*'
185 url: https://gerrit.opnfv.org/gerrit/apex
195 - '{slave-label}-defaults'
196 - '{installer}-defaults'
198 name: DEPLOY_SCENARIO
199 default: 'os-odl_l2-bgpvpn-noha'
200 description: 'Scenario to deploy and test'
203 default: artifacts.opnfv.org/apex
204 description: "URL to Google Storage with snapshot artifacts."
207 - description-setter:
208 description: "Built on $NODE_NAME"
209 - '{project}-verify-{phase}-builder'
210 #####################################
212 #####################################
214 name: 'netvirt-verify-create-apex-vms-builder'
217 !include-raw: ../apex/apex-snapshot-deploy.sh
219 name: 'netvirt-verify-install-netvirt-builder'
222 !include-raw: ./download-netvirt-artifact.sh
224 !include-raw: ./install-netvirt.sh
226 name: 'netvirt-verify-postprocess-builder'
229 !include-raw: ./postprocess-netvirt.sh