remove Infra Engine jobs
[infra/cicd.git] / jjb / metal3 / projects.yml
1 ---
2 #
3 # ============LICENSE_START=======================================================
4 #  Copyright (C) 2019 Nordix Foundation.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #      http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
20
21
22 # Description:
23 # ============
24 # This file contains the list of JJB projects in metal3 category. Each project
25 # corresponds to a github repository. Under each project's 'jobs' list defines the
26 # jobs associated with that github repository. The job definitions can be found
27 # in job_{job_id}.yml files in any of JJB include folders.
28
29 - project:
30     name: 'nordix_dev_tools'
31     branch: '${{ghprbActualCommit}}'
32     ci_github_whitelist_org:
33     - nordix-metal3
34     jobs:
35     - linter_tests
36     - openstack_image_building
37     - docker_image_building
38     - update_nordix_repos
39     - openstack_node_image_building
40     - main_fullstack_building
41     - fullstack_building_test
42     - metal3_dev_tools_integration_test:
43         image_os:
44           - ubuntu
45           - centos
46     - artifact_cleanup
47     repo:
48       org: "Nordix"
49       name: "metal3-dev-tools"
50     ci_github_jenkins_credentials_id: 'nordix-metal3-ci-github-prod-token'
51     ci_ghprb_auth_id: 'e8a43847-46ff-42db-a5db-7366df0e4ee2'
52     ci_github_repo: 'https://github.com/Nordix/metal3-dev-tools.git'
53
54 - project:
55     name: integration-tests
56     org: metal3-io
57     proj:
58       - metal3_dev_env:
59           repo: metal3-dev-env
60       - project_infra:
61           repo: project-infra
62           branch: '${{ghprbActualCommit}}'
63           ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
64       - capm3:
65           repo: cluster-api-provider-metal3
66       - bmo:
67           repo: baremetal-operator
68       - ipam:
69           repo: ip-address-manager
70       - ironic_image:
71           repo: ironic-image
72           name_postfix: '_ironic_from_source'
73           trigger_postfix: '-ironic-source'
74           ironic_install_type: 'source'
75       - ironic_image:
76           repo: ironic-image
77       - ironic_ipa_downloader:
78           repo: ironic-ipa-downloader
79       - mariadb_image:
80           repo: mariadb-image
81     image_os:
82       - ubuntu
83       - centos
84     capm3_target_branch:
85       - main:
86           capi_version: v1beta1
87           capm3_version: v1beta1
88           capm3_release_branch: main
89           target_branches:
90             - 'main'
91       - release-1-2:
92           capi_version: v1beta1
93           capm3_version: v1beta1
94           capm3_release_branch: release-1.2
95           target_branches:
96             - 'main'
97             - 'release-1.2'
98       - release-1-1:
99           capi_version: v1beta1
100           capm3_version: v1beta1
101           capm3_release_branch: release-1.1
102           target_branches:
103             - 'main'
104             - 'release-1.1'
105       - release-0-5:
106           capi_version: v1alpha4
107           capm3_version: v1alpha5
108           capm3_release_branch: release-0.5
109           target_branches:
110             - 'main'
111             - 'release-0.5'
112             - 'release-0.1'
113     exclude:
114       - proj: ironic_ipa_downloader
115         image_os: centos
116         capm3_target_branch: release-0-5
117     jobs:
118       - integration_tests
119
120 - project:
121     name: keep-integration-tests-alive
122     org: metal3-io
123     proj:
124       - metal3_dev_env:
125           repo: metal3-dev-env
126       - project_infra:
127           repo: project-infra
128           branch: '${{ghprbActualCommit}}'
129           ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
130       - capm3:
131           repo: cluster-api-provider-metal3
132       - bmo:
133           repo: baremetal-operator
134       - ipam:
135           repo: ip-address-manager
136       - ironic_image:
137           repo: ironic-image
138     image_os:
139       - ubuntu
140       - centos
141     capm3_target_branch:
142       - main:
143           capi_version: v1beta1
144           capm3_version: v1beta1
145           capm3_release_branch: main
146           target_branches:
147             - 'main'
148       - release-1-2:
149           capi_version: v1beta1
150           capm3_version: v1beta1
151           capm3_release_branch: release-1.2
152           target_branches:
153             - 'main'
154             - 'release-1.2'
155       - release-1-1:
156           capi_version: v1beta1
157           capm3_version: v1beta1
158           capm3_release_branch: release-1.1
159           target_branches:
160             - 'main'
161             - 'release-1.1'
162       - release-0-5:
163           capi_version: v1alpha4
164           capm3_version: v1alpha5
165           capm3_release_branch: release-0.5
166           target_branches:
167             - 'main'
168             - 'release-0.5'
169             - 'release-0.1'
170     jobs:
171       - keep_integration_tests
172
173 - project:
174     name: feature-tests
175     org: metal3-io
176     proj:
177       - metal3_dev_env:
178           repo: metal3-dev-env
179       - project_infra:
180           repo: project-infra
181           branch: '${{ghprbActualCommit}}'
182           ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
183       - bmo:
184           repo: baremetal-operator
185     image_os:
186       - ubuntu
187       - centos
188     exclude:
189       - proj: bmo
190         image_os: centos
191     jobs:
192       - feature_tests
193       - feature_tests_upgrade:
194           exclude:
195             - image_os: centos
196             - proj: bmo
197
198 - project:
199     name: metal3-dev-env-main-tests
200     org: metal3-io
201     repo: metal3-dev-env
202     image_os:
203       - ubuntu
204       - centos
205     jobs:
206       - main_feature_tests
207       - main_feature_tests_upgrade:
208           exclude:
209             - image_os: centos
210       - capm3_main_integration_tests:
211           capm3_target_branch:
212             - main:
213                 capi_version: v1beta1
214                 capm3_version: v1beta1
215                 capm3_release_branch: main
216                 schedule: "H 4 * * *"
217             - release-1-2:
218                 capi_version: v1beta1
219                 capm3_version: v1beta1
220                 capm3_release_branch: release-1.2
221                 schedule: "30 4 * * *"
222             - release-1-1:
223                 capi_version: v1beta1
224                 capm3_version: v1beta1
225                 capm3_release_branch: release-1.1
226                 schedule: "30 4 * * *"
227             - release-0-5:
228                 capi_version: v1alpha4
229                 capm3_version: v1alpha5
230                 capm3_release_branch: release-0.5
231                 schedule: "30 4 * * *"
232
233 - project:
234     name: bml-tests
235     org: metal3-io
236     image_os: centos
237     jobs:
238       - bml_integration_tests:
239           proj:
240             - metal3_dev_env:
241                 repo: metal3-dev-env
242             - project_infra:
243                 repo: project-infra
244                 branch: '${{ghprbActualCommit}}'
245                 ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
246       - bml_main_integration_tests:
247           repo: metal3-dev-env
248
249 - project:
250     name: 'project_infra_cleanup'
251     repo:
252       org: "metal3-io"
253       name: "project-infra"
254     ci_github_pipeline: 'jenkins/jobs/integration_tests_clean.pipeline'
255     jobs:
256     - main_clean
257
258 - project:
259     name: "capm3"
260     org: metal3-io
261     proj:
262       - capm3:
263           repo: cluster-api-provider-metal3
264       - metal3_dev_env:
265           repo: metal3-dev-env
266       - project_infra:
267           repo: project-infra
268           branch: '${{ghprbActualCommit}}'
269           ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
270       - bmo:
271           repo: baremetal-operator
272       - ipam:
273           repo: ip-address-manager
274     image_os:
275       - ubuntu
276       - centos
277     capm3_target_branch:
278       - main:
279           capi_version: v1beta1
280           capm3_version: v1beta1
281           capm3_release_branch: main
282           target_branches:
283             - 'main'
284       - release-1-2:
285           capi_version: v1beta1
286           capm3_version: v1beta1
287           capm3_release_branch: release-1.2
288           target_branches:
289             - 'release-1.2'
290       - release-1-1:
291           capi_version: v1beta1
292           capm3_version: v1beta1
293           capm3_release_branch: release-1.1
294           target_branches:
295             - 'release-1.1'
296       - release-0-5:
297           capi_version: v1alpha4
298           capm3_version: v1alpha5
299           capm3_release_branch: release-0.5
300           target_branches:
301             - 'release-0.5'
302     jobs:
303       - capm3_e2e_upgrade_tests:
304           exclude:
305             - image_os: centos
306       - capm3_e2e_tests_parallel:
307           exclude:
308             - capm3_target_branch:
309               - release-0-5
310       - capm3_e2e_tests:
311       - keep_capm3_e2e_tests:
312
313 - project:
314     name: "capm3-main-tests"
315     repo:
316       org: "metal3-io"
317       name: "cluster-api-provider-metal3"
318     image_os:
319       - ubuntu
320       - centos
321     jobs:
322       - capm3_main_e2e_upgrade_tests:
323           exclude:
324             - image_os: centos
325       - capm3_main_e2e_ephemeral_tests:
326           exclude:
327             - image_os: ubuntu
328       - capm3_main_e2e_tests:
329           capm3_target_branch:
330             - main:
331                 capi_version: v1beta1
332                 capm3_version: v1beta1
333                 capm3_branch: main
334                 capm3_release_branch: main
335                 schedule: "H 20 * * *"
336             - release-1-2:
337                 capi_version: v1beta1
338                 capm3_version: v1beta1
339                 capm3_branch: release-1.2
340                 capm3_release_branch: release-1.2
341                 schedule: "H 23 * * *"
342             - release-1-1:
343                 capi_version: v1beta1
344                 capm3_version: v1beta1
345                 capm3_branch: release-1.1
346                 capm3_release_branch: release-1.1
347                 schedule: "H 23 * * *"
348             - release-0-5:
349                 capi_version: v1alpha4
350                 capm3_version: v1alpha5
351                 capm3_branch: release-0.5
352                 capm3_release_branch: release-0.5
353                 schedule: "H 23 * * *"
354
355
356 - project:
357     name: 'ironic_image_build_tests'
358     org: metal3-io
359     proj:
360       - project_infra:
361           repo: project-infra
362           branch: '${{ghprbActualCommit}}'
363           ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
364       - ironic_image:
365           repo: ironic-image
366     jobs:
367       - ironic_image_build_tests