7 project-pattern: '{project}'
15 branch: 'stable/{stream}'
16 gs-pathname: '/{stream}'
19 branch: 'stable/{stream}'
20 gs-pathname: '/{stream}'
25 scenario: 'os-nosdn-nofeature-noha'
27 scenario: 'os-nosdn-nofeature-noha'
42 - 'doctor-verify-{stream}'
43 - 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
44 - 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
45 - 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
48 name: 'doctor-verify-{stream}'
49 disabled: '{obj:disabled}'
50 project-type: 'multijob'
55 - 'doctor-slave-parameter'
62 files: 'doctor_tests/**'
67 # we do nothing here as the main stuff will be done
69 echo "Triggering phase jobs!"
71 name: 'doctor-verify-sample'
72 execution-type: PARALLEL
74 - name: 'doctor-verify-all-apex-sample-x86_64-{stream}'
75 predefined-parameters: |
77 GERRIT_BRANCH=$GERRIT_BRANCH
78 GERRIT_REFSPEC=$GERRIT_REFSPEC
79 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
80 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
81 kill-phase-on: FAILURE
83 - name: 'doctor-verify-fault_management-fuel-sample-x86_64-{stream}'
84 predefined-parameters: |
86 GERRIT_BRANCH=$GERRIT_BRANCH
87 GERRIT_REFSPEC=$GERRIT_REFSPEC
88 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
89 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
90 kill-phase-on: FAILURE
93 name: 'doctor-verify-fenix'
94 execution-type: PARALLEL
96 - name: 'doctor-verify-maintenance-apex-sample-x86_64-{stream}'
97 predefined-parameters: |
99 GERRIT_BRANCH=$GERRIT_BRANCH
100 GERRIT_REFSPEC=$GERRIT_REFSPEC
101 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
102 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
103 kill-phase-on: FAILURE
106 name: 'doctor-verify-congress'
107 execution-type: PARALLEL
109 - name: 'doctor-verify-fault_management-apex-congress-x86_64-{stream}'
110 predefined-parameters: |
112 GERRIT_BRANCH=$GERRIT_BRANCH
113 GERRIT_REFSPEC=$GERRIT_REFSPEC
114 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
115 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
116 kill-phase-on: FAILURE
120 name: 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
121 disabled: '{obj:disabled}'
122 node: 'doctor-{installer}-{arch}'
131 - '{installer}-defaults'
132 - 'doctor-slave-parameter'
133 - 'doctor-parameter':
134 inspector: '{inspector}'
135 scenario: '{scenario}'
136 test_case: 'fault_management'
137 admin_tool_type: 'sample'
141 - 'doctor-verify-installer-inspector-builders-macro'
143 - 'doctor-verify-publishers-macro'
146 name: 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
147 disabled: '{obj:disabled}'
148 node: 'doctor-{installer}-{arch}'
157 - '{installer}-defaults'
158 - 'doctor-slave-parameter'
159 - 'doctor-parameter':
160 inspector: '{inspector}'
161 scenario: '{scenario}'
162 test_case: 'maintenance'
163 admin_tool_type: 'fenix'
167 - 'doctor-verify-installer-inspector-builders-macro'
169 - 'doctor-verify-publishers-macro'
172 name: 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
173 disabled: '{obj:disabled}'
174 node: 'doctor-{installer}-{arch}'
183 - '{installer}-defaults'
184 - 'doctor-slave-parameter'
185 - 'doctor-parameter':
186 inspector: '{inspector}'
187 scenario: '{scenario}'
189 admin_tool_type: 'sample'
193 - 'doctor-verify-installer-inspector-builders-macro'
195 - 'doctor-verify-publishers-macro'
198 # -------------------------------
200 # -------------------------------
202 name: 'doctor-parameter'
206 default: '{inspector}'
207 description: 'inspector component'
210 default: '{test_case}'
211 description: 'test case: all, fault_management or maintenance'
213 name: DEPLOY_SCENARIO
214 default: '{scenario}'
215 description: 'Scenario to deploy and test'
217 name: ADMIN_TOOL_TYPE
218 default: '{admin_tool_type}'
219 description: 'admin_tool_type: sample, fenix'
222 # -------------------------------
224 # -------------------------------
227 name: 'doctor-verify-installer-inspector-builders-macro'
229 # yamllint disable rule:indentation
232 - ./doctor-env-presetup.sh
233 - ../../utils/fetch_os_creds.sh
235 # prepare the env for test
236 source $HOME/opnfv-openrc.sh
237 if [ -f $HOME/os_cacert ]; then
238 export OS_CACERT=$HOME/os_cacert
240 source $HOME/opnfv-installer.sh
242 # run tox to trigger the test
243 # As Jenkins user, it has no permission to send ICMP package
247 # -------------------------------
249 # -------------------------------
251 name: 'doctor-verify-publishers-macro'
254 artifacts: 'doctor_tests/*.log'
255 - email-jenkins-admins-on-failure
258 #####################################
260 #####################################
262 name: 'doctor-verify'
265 server-name: 'gerrit.opnfv.org'
267 - patchset-created-event:
268 exclude-drafts: 'false'
269 exclude-trivial-rebase: 'false'
270 exclude-no-code-change: 'false'
271 - draft-published-event
272 - comment-added-contains-event:
273 comment-contains-value: 'recheck'
274 - comment-added-contains-event:
275 comment-contains-value: 'reverify'
277 - project-compare-type: 'ANT'
278 project-pattern: '{project}'
280 - branch-compare-type: 'ANT'
281 branch-pattern: '**/{branch}'