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: 'opnfv-test'
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"
108 name: create-apex-vms
109 condition: SUCCESSFUL
111 - name: 'odl-netvirt-verify-virtual-create-apex-vms-{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 APEX_ENV_NUMBER=$APEX_ENV_NUMBER
122 node-parameters: true
123 kill-phase-on: FAILURE
126 name: install-netvirt
127 condition: SUCCESSFUL
129 - name: 'odl-netvirt-verify-virtual-install-netvirt-{stream}'
130 current-parameters: false
131 predefined-parameters: |
134 GERRIT_REFSPEC=$GERRIT_REFSPEC
135 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
136 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
137 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
138 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
139 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
140 node-parameters: true
141 kill-phase-on: FAILURE
145 condition: SUCCESSFUL
147 - name: 'functest-netvirt-virtual-suite-master'
148 predefined-parameters: |
149 DEPLOY_SCENARIO=os-odl-nofeature-ha
150 FUNCTEST_MODE=testcase
151 FUNCTEST_SUITE_NAME=tempest_smoke_serial
152 RC_FILE_PATH=$HOME/cloner-info/overcloudrc
153 node-parameters: true
154 kill-phase-on: FAILURE
160 - name: 'odl-netvirt-verify-virtual-postprocess-{stream}'
161 current-parameters: false
162 predefined-parameters: |
164 GERRIT_REFSPEC=$GERRIT_REFSPEC
165 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
166 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
167 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
168 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
169 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
170 node-parameters: true
171 kill-phase-on: FAILURE
175 name: 'odl-netvirt-verify-virtual-{phase}-{stream}'
177 disabled: '{obj:disabled}'
189 use-build-blocker: true
191 - 'odl-netvirt-verify-virtual-create-apex-vms-.*'
192 - 'odl-netvirt-verify-virtual-install-netvirt-.*'
193 - 'functest-netvirt-virtual-suite-.*'
194 - 'odl-netvirt-verify-virtual-postprocess-.*'
205 url: https://gerrit.opnfv.org/gerrit/apex
215 - '{slave-label}-defaults'
216 - '{installer}-defaults'
218 name: DEPLOY_SCENARIO
219 default: 'os-odl-nofeature-noha'
220 description: 'Scenario to deploy and test'
223 default: artifacts.opnfv.org/apex
224 description: "URL to Google Storage with snapshot artifacts."
227 - description-setter:
228 description: "Built on $NODE_NAME"
229 - '{project}-verify-{phase}-builder'
230 #####################################
232 #####################################
234 name: 'netvirt-verify-create-apex-vms-builder'
237 !include-raw: ../apex/apex-snapshot-deploy.sh
239 name: 'netvirt-verify-install-netvirt-builder'
242 !include-raw: ./download-netvirt-artifact.sh
244 !include-raw: ./install-netvirt.sh
246 name: 'netvirt-verify-postprocess-builder'
249 !include-raw: ./postprocess-netvirt.sh