3 name: 'fuel-verify-jobs'
8 #####################################
10 #####################################
16 functest_docker_tag: hunter
18 branch: 'stable/{stream}'
19 gs-pathname: '/{stream}'
21 functest_docker_tag: '{stream}'
22 #####################################
23 # cluster architectures
24 #####################################
25 # Note: arm64 was removed since it was basically a no-op
29 functest-suite-label: 'fuel'
30 #####################################
32 #####################################
36 #####################################
37 # patch verification phases
38 #####################################
42 #####################################
44 #####################################
46 - 'fuel-verify-{type}-{arch_tag}-{stream}'
47 - 'fuel-verify-{phase}-{type}-{arch_tag}-{stream}'
48 #####################################
50 #####################################
52 name: 'fuel-verify-{type}-{arch_tag}-{stream}'
54 project-type: multijob
56 disabled: '{obj:disabled}'
67 use-build-blocker: true
69 - 'fuel-os-.*?-daily-.*'
71 blocking-level: 'NODE'
83 - 'fuel-verify-{type}-{arch_tag}-trigger':
91 - '{slave-label}-{type}-defaults':
92 installer: '{installer}'
93 - '{installer}-defaults':
94 gs-pathname: '{gs-pathname}'
97 - 'fuel-verify-set-scenario-macro'
99 properties-file: "/tmp/$GERRIT_CHANGE_NUMBER/scenario.properties"
100 - description-setter:
101 description: "Scenario: $DEPLOY_SCENARIO | Node: $NODE_NAME"
104 condition: SUCCESSFUL
106 - name: 'fuel-verify-docker-build-{type}-{arch_tag}-{stream}'
107 current-parameters: false
108 predefined-parameters: |
110 GERRIT_REFSPEC=$GERRIT_REFSPEC
111 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
112 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
113 node-parameters: true
114 kill-phase-on: FAILURE
119 condition: SUCCESSFUL
121 - name: 'fuel-verify-deploy-{type}-{arch_tag}-{stream}'
122 current-parameters: false
123 predefined-parameters: |
124 MCP_DOCKER_TAG={arch_tag}-verify
125 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
127 GERRIT_REFSPEC=$GERRIT_REFSPEC
128 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
129 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
130 node-parameters: true
131 kill-phase-on: FAILURE
136 condition: SUCCESSFUL
138 # Use Functest job definition from jjb/functest/functest-daily-jobs
139 - name: 'functest-{functest-suite-label}-{type}-suite-{stream}'
140 current-parameters: false
141 predefined-parameters: |
143 FUNCTEST_TIER=healthcheck
144 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
146 GERRIT_REFSPEC=$GERRIT_REFSPEC
147 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
148 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
149 DOCKER_TAG={functest_docker_tag}
150 node-parameters: true
151 enable-condition: "def m = ! ('$NODE_LABELS' =~ /armband-virtual/)"
156 name: 'fuel-verify-{phase}-{type}-{arch_tag}-{stream}'
158 disabled: '{obj:disabled}'
170 use-build-blocker: true
172 - 'fuel-verify-docker-build-.*'
173 - 'fuel-verify-deploy-.*'
174 blocking-level: 'NODE'
189 - '{slave-label}-{type}-defaults':
190 installer: '{installer}'
191 - '{installer}-defaults':
192 gs-pathname: '{gs-pathname}'
195 - description-setter:
196 description: "Built on $NODE_NAME"
197 - '{project}-verify-{phase}-macro'
198 ########################
200 ########################
202 name: 'fuel-verify-virtual-amd64-trigger'
204 - gerrit: &fuel_verify_virtual_amd64_trigger
205 server-name: 'gerrit.opnfv.org'
207 - patchset-created-event:
208 exclude-drafts: 'false'
209 exclude-trivial-rebase: 'false'
210 exclude-no-code-change: 'false'
211 - draft-published-event
212 - comment-added-contains-event:
213 comment-contains-value: '(recheck|reverify)(\s|$|:\s*[-\w]+-noha)'
215 - project-compare-type: 'ANT'
216 project-pattern: '{project}'
218 - branch-compare-type: 'ANT'
219 branch-pattern: '**/{branch}'
225 disable-strict-forbidden-file-verification: 'true'
226 forbidden-file-paths:
229 readable-message: true
231 name: 'fuel-verify-virtual-arm64-trigger'
234 <<: *fuel_verify_virtual_amd64_trigger
236 name: 'fuel-verify-baremetal-amd64-trigger'
238 - gerrit: &fuel_verify_baremetal_amd64_trigger
239 <<: *fuel_verify_virtual_amd64_trigger
241 - comment-added-contains-event:
242 comment-contains-value: '(recheck|reverify):\s*[-\w]+-ha'
244 name: 'fuel-verify-baremetal-arm64-trigger'
247 <<: *fuel_verify_baremetal_amd64_trigger
253 #####################################
255 #####################################
257 name: 'fuel-verify-set-scenario-macro'
260 !include-raw: ./fuel-set-scenario.sh
262 name: 'fuel-verify-deploy-macro'
265 !include-raw: ./fuel-deploy.sh
267 name: 'fuel-verify-docker-build-macro'
271 sudo -E ./ci/build.sh 'verify' ''