7 project-pattern: '{project}'
15 branch: 'stable/{stream}'
16 gs-pathname: '/{stream}'
21 scenario: 'os-nosdn-nofeature-noha'
32 - 'doctor-verify-{stream}'
33 - 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
34 - 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
35 - 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
38 name: 'doctor-verify-{stream}'
39 disabled: '{obj:disabled}'
40 project-type: 'multijob'
45 - 'doctor-slave-parameter'
52 files: 'doctor_tests/**'
57 # we do nothing here as the main stuff will be done
59 echo "Triggering phase jobs!"
61 name: 'doctor-verify-fuel'
62 execution-type: PARALLEL
64 - name: 'doctor-verify-fault_management-fuel-sample-x86_64-{stream}'
65 predefined-parameters: |
67 GERRIT_BRANCH=$GERRIT_BRANCH
68 GERRIT_REFSPEC=$GERRIT_REFSPEC
69 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
70 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
71 kill-phase-on: FAILURE
73 - name: 'doctor-verify-maintenance-fuel-sample-x86_64-{stream}'
74 predefined-parameters: |
76 GERRIT_BRANCH=$GERRIT_BRANCH
77 GERRIT_REFSPEC=$GERRIT_REFSPEC
78 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
79 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
80 kill-phase-on: FAILURE
84 name: 'doctor-verify-fault_management-{installer}-{inspector}-{arch}-{stream}'
85 disabled: '{obj:disabled}'
95 - '{installer}-defaults'
96 - 'doctor-slave-parameter'
98 inspector: '{inspector}'
99 scenario: '{scenario}'
100 test_case: 'fault_management'
101 admin_tool_type: 'sample'
105 - 'doctor-verify-installer-inspector-builders-macro'
107 - 'doctor-verify-publishers-macro'
110 name: 'doctor-verify-maintenance-{installer}-{inspector}-{arch}-{stream}'
111 disabled: '{obj:disabled}'
121 - '{installer}-defaults'
122 - 'doctor-slave-parameter'
123 - 'doctor-parameter':
124 inspector: '{inspector}'
125 scenario: '{scenario}'
126 test_case: 'maintenance'
127 admin_tool_type: 'fenix'
131 - 'doctor-verify-installer-inspector-builders-macro'
133 - 'doctor-verify-publishers-macro'
136 name: 'doctor-verify-all-{installer}-{inspector}-{arch}-{stream}'
137 disabled: '{obj:disabled}'
138 node: 'doctor-{installer}-{arch}'
147 - '{installer}-defaults'
148 - 'doctor-slave-parameter'
149 - 'doctor-parameter':
150 inspector: '{inspector}'
151 scenario: '{scenario}'
153 admin_tool_type: 'sample'
157 - 'doctor-verify-installer-inspector-builders-macro'
159 - 'doctor-verify-publishers-macro'
162 # -------------------------------
164 # -------------------------------
166 name: 'doctor-parameter'
170 default: '{inspector}'
171 description: 'inspector component'
174 default: '{test_case}'
175 description: 'test case: all, fault_management or maintenance'
177 name: DEPLOY_SCENARIO
178 default: '{scenario}'
179 description: 'Scenario to deploy and test'
181 name: ADMIN_TOOL_TYPE
182 default: '{admin_tool_type}'
183 description: 'admin_tool_type: sample, fenix'
186 # -------------------------------
188 # -------------------------------
191 name: 'doctor-verify-installer-inspector-builders-macro'
193 # yamllint disable rule:indentation
194 - shell: !include-raw:
195 - ./doctor-env-presetup.sh
196 - ../../utils/fetch_os_creds.sh
200 # prepare the env for test
201 . $HOME/opnfv-openrc.sh
202 if [ -f $HOME/os_cacert ]; then
203 export OS_CACERT=$HOME/os_cacert
205 . $HOME/opnfv-installer.sh
207 # run tox to trigger the test
208 # As Jenkins user, it has no permission to send ICMP package
212 # -------------------------------
214 # -------------------------------
216 name: 'doctor-verify-publishers-macro'
219 artifacts: 'doctor_tests/*.log'
220 - email-jenkins-admins-on-failure
223 #####################################
225 #####################################
227 name: 'doctor-verify'
230 server-name: 'gerrit.opnfv.org'
232 - patchset-created-event:
233 exclude-drafts: 'false'
234 exclude-trivial-rebase: 'false'
235 exclude-no-code-change: 'false'
236 - draft-published-event
237 - comment-added-contains-event:
238 comment-contains-value: 'recheck'
239 - comment-added-contains-event:
240 comment-contains-value: 'reverify'
242 - project-compare-type: 'ANT'
243 project-pattern: '{project}'
245 - branch-compare-type: 'ANT'
246 branch-pattern: '**/{branch}'