7 project-pattern: '{project}'
9 rtd-build-url: 'https://readthedocs.org/api/v2/webhook/opnfv-doctor/47214/'
10 rtd-token: '13264f62c1a044e39e9aed22a0dc1853d5a0b196'
18 branch: 'stable/{stream}'
19 gs-pathname: '/{stream}'
22 branch: 'stable/{stream}'
23 gs-pathname: '/{stream}'
44 # disabling the following tests due to limitation of PoD owners
45 # these would beenabled again once the PoDs are ready
50 - 'doctor-verify-{stream}'
51 - 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
52 - 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
53 - 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
54 - '{project-name}-rtd-jobs'
57 name: 'doctor-verify-{stream}'
58 disabled: '{obj:disabled}'
59 project-type: 'multijob'
64 - 'doctor-slave-parameter'
71 files: 'doctor_tests/**'
76 # we do nothing here as the main stuff will be done
78 echo "Triggering phase jobs!"
80 name: 'doctor-verify-sample'
81 execution-type: PARALLEL
83 - name: 'doctor-verify-fault_management-apex-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
92 - name: 'doctor-verify-fault_management-daisy-sample-x86_64-{stream}'
93 predefined-parameters: |
95 GERRIT_BRANCH=$GERRIT_BRANCH
96 GERRIT_REFSPEC=$GERRIT_REFSPEC
97 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
98 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
99 kill-phase-on: FAILURE
101 - name: 'doctor-verify-maintenance-apex-sample-x86_64-{stream}'
102 predefined-parameters: |
104 GERRIT_BRANCH=$GERRIT_BRANCH
105 GERRIT_REFSPEC=$GERRIT_REFSPEC
106 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
107 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
108 kill-phase-on: FAILURE
111 name: 'doctor-verify-congress'
112 execution-type: PARALLEL
114 - name: 'doctor-verify-fault_management-apex-congress-x86_64-{stream}'
115 predefined-parameters: |
117 GERRIT_BRANCH=$GERRIT_BRANCH
118 GERRIT_REFSPEC=$GERRIT_REFSPEC
119 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
120 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
121 kill-phase-on: FAILURE
124 name: 'doctor-verify-sample-all'
125 execution-type: PARALLEL
126 # This would be for running all test cases with sample inspector
128 name: 'doctor-verify-congress-all'
129 execution-type: PARALLEL
130 # This would be for running all test cases with congress inspector
133 name: 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
134 disabled: '{obj:disabled}'
135 node: 'doctor-{installer}-{arch}'
144 - '{installer}-defaults'
145 - 'doctor-slave-parameter'
146 - 'doctor-parameter':
147 inspector: '{inspector}'
148 test_case: 'fault_management'
152 - 'doctor-verify-installer-inspector-builders-macro'
154 - 'doctor-verify-publishers-macro'
157 name: 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
158 disabled: '{obj:disabled}'
168 - '{installer}-defaults'
169 - 'doctor-slave-parameter'
170 - 'doctor-parameter':
171 inspector: '{inspector}'
172 test_case: 'maintenance'
176 - 'doctor-verify-installer-inspector-builders-macro'
178 - 'doctor-verify-publishers-macro'
181 name: 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
182 disabled: '{obj:disabled}'
192 - '{installer}-defaults'
193 - 'doctor-slave-parameter'
194 - 'doctor-parameter':
195 inspector: '{inspector}'
200 - 'doctor-verify-installer-inspector-builders-macro'
202 - 'doctor-verify-publishers-macro'
205 # -------------------------------
207 # -------------------------------
209 name: 'doctor-parameter'
213 default: '{inspector}'
214 description: 'inspector component'
217 default: '{test_case}'
218 description: 'test case: all, fault_management or maintenance'
221 # -------------------------------
223 # -------------------------------
226 name: 'doctor-verify-installer-inspector-builders-macro'
228 # yamllint disable rule:indentation
231 - ./doctor-env-presetup.sh
232 - ../../utils/fetch_os_creds.sh
234 # prepare the env for test
235 source $HOME/opnfv-openrc.sh
236 if [ -f $HOME/os_cacert ]; then
237 export OS_CACERT=$HOME/os_cacert
239 source $HOME/opnfv-installer.sh
241 # run tox to trigger the test
242 # As Jenkins user, it has no permission to send ICMP package
246 # -------------------------------
248 # -------------------------------
250 name: 'doctor-verify-publishers-macro'
253 artifacts: 'doctor_tests/*.log'
254 - email-jenkins-admins-on-failure
257 #####################################
259 #####################################
261 name: 'doctor-verify'
264 server-name: 'gerrit.opnfv.org'
266 - patchset-created-event:
267 exclude-drafts: 'false'
268 exclude-trivial-rebase: 'false'
269 exclude-no-code-change: 'false'
270 - draft-published-event
271 - comment-added-contains-event:
272 comment-contains-value: 'recheck'
273 - comment-added-contains-event:
274 comment-contains-value: 'reverify'
276 - project-compare-type: 'ANT'
277 project-pattern: '{project}'
279 - branch-compare-type: 'ANT'
280 branch-pattern: '**/{branch}'