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"
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 GERRIT_EVENT_COMMENT_TEXT=$GERRIT_EVENT_COMMENT_TEXT
123 node-parameters: true
124 kill-phase-on: FAILURE
127 name: install-netvirt
128 condition: SUCCESSFUL
130 - name: 'odl-netvirt-verify-virtual-install-netvirt-{stream}'
131 current-parameters: false
132 predefined-parameters: |
135 GERRIT_REFSPEC=$GERRIT_REFSPEC
136 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
137 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
138 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
139 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
140 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
141 node-parameters: true
142 kill-phase-on: FAILURE
146 condition: SUCCESSFUL
148 - name: 'functest-netvirt-virtual-suite-master'
149 predefined-parameters: |
150 DEPLOY_SCENARIO=os-odl-nofeature-ha
151 FUNCTEST_MODE=testcase
152 FUNCTEST_SUITE_NAME=tempest_smoke
153 RC_FILE_PATH=$HOME/cloner-info/overcloudrc
154 node-parameters: true
155 kill-phase-on: FAILURE
161 - name: 'odl-netvirt-verify-virtual-postprocess-{stream}'
162 current-parameters: false
163 predefined-parameters: |
165 GERRIT_REFSPEC=$GERRIT_REFSPEC
166 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
167 GERRIT_CHANGE_ID=$GERRIT_CHANGE_ID
168 GERRIT_PATCHSET_NUMBER=$GERRIT_PATCHSET_NUMBER
169 GERRIT_PATCHSET_REVISION=$GERRIT_PATCHSET_REVISION
170 NETVIRT_ARTIFACT=$NETVIRT_ARTIFACT
171 node-parameters: true
172 kill-phase-on: FAILURE
176 name: 'odl-netvirt-verify-virtual-{phase}-{stream}'
178 disabled: '{obj:disabled}'
190 use-build-blocker: true
192 - 'odl-netvirt-verify-virtual-create-apex-vms-.*'
193 - 'odl-netvirt-verify-virtual-install-netvirt-.*'
194 - 'functest-netvirt-virtual-suite-.*'
195 - 'odl-netvirt-verify-virtual-postprocess-.*'
206 url: https://gerrit.opnfv.org/gerrit/apex
216 - '{slave-label}-defaults'
217 - '{installer}-defaults'
219 name: DEPLOY_SCENARIO
220 default: 'os-odl-nofeature-noha'
221 description: 'Scenario to deploy and test'
224 default: artifacts.opnfv.org/apex
225 description: "URL to Google Storage with snapshot artifacts."
228 - description-setter:
229 description: "Built on $NODE_NAME"
230 - '{project}-verify-{phase}-builder'
231 #####################################
233 #####################################
235 name: 'netvirt-verify-create-apex-vms-builder'
238 !include-raw: ../apex/apex-snapshot-deploy.sh
240 name: 'netvirt-verify-install-netvirt-builder'
243 !include-raw: ./download-netvirt-artifact.sh
245 !include-raw: ./install-netvirt.sh
247 name: 'netvirt-verify-postprocess-builder'
250 !include-raw: ./postprocess-netvirt.sh