enable inronic source install in integration test
[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_openstack_ipa_and_ironic_image_building
41     - metal3_ipa_and_ironic_image_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_repo: '${{ghprbAuthorRepoGitUrl}}'
75           ironic_branch: '${{ghprbActualCommit}}'
76           ironic_install_type: 'source'
77       - ironic_image:
78           repo: ironic-image
79       - ironic_ipa_downloader:
80           repo: ironic-ipa-downloader
81     image_os:
82       - ubuntu
83       - centos
84     version:
85       - v1b1:
86           capi_version: v1beta1
87           capm3_version: v1beta1
88           target_branches:
89             - 'main'
90       - v1a5:
91           capi_version: v1alpha4
92           capm3_version: v1alpha5
93           target_branches:
94             - 'main'
95             - 'release-0.5'
96             - 'release-0.1'
97       - v1a4:
98           capi_version: v1alpha3
99           capm3_version: v1alpha4
100           target_branches:
101             - 'main'
102             - 'release-0.4'
103             - 'release-0.0'
104     exclude:
105       - proj: ironic_ipa_downloader
106         image_os: centos
107         version: v1a5
108       - proj: ironic_ipa_downloader
109         image_os: centos
110         version: v1a4
111     jobs:
112       - integration_tests
113
114 - project:
115     name: keep-integration-tests-alive
116     org: metal3-io
117     proj:
118       - metal3_dev_env:
119           repo: metal3-dev-env
120       - project_infra:
121           repo: project-infra
122           branch: '${{ghprbActualCommit}}'
123           ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
124       - capm3:
125           repo: cluster-api-provider-metal3
126       - bmo:
127           repo: baremetal-operator
128       - ipam:
129           repo: ip-address-manager
130       - ironic_image:
131           repo: ironic-image
132     image_os:
133       - ubuntu
134       - centos
135     version:
136       - v1b1:
137           capi_version: v1beta1
138           capm3_version: v1beta1
139           target_branches:
140             - 'main'
141       - v1a5:
142           capi_version: v1alpha4
143           capm3_version: v1alpha5
144           target_branches:
145             - 'main'
146             - 'release-0.5'
147             - 'release-0.1'
148     jobs:
149       - keep_integration_tests
150
151 - project:
152     name: feature-tests
153     org: metal3-io
154     proj:
155       - metal3_dev_env:
156           repo: metal3-dev-env
157       - project_infra:
158           repo: project-infra
159           branch: '${{ghprbActualCommit}}'
160           ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
161       - bmo:
162           repo: baremetal-operator
163     image_os:
164       - ubuntu
165       - centos
166     exclude:
167       - proj: bmo
168         image_os: centos
169     jobs:
170       - feature_tests
171       - feature_tests_upgrade:
172           exclude:
173             - image_os: centos
174             - proj: bmo
175
176 - project:
177     name: metal3-dev-env-main-tests
178     org: metal3-io
179     repo: metal3-dev-env
180     image_os:
181       - ubuntu
182       - centos
183     jobs:
184       - main_feature_tests
185       - main_feature_tests_upgrade:
186           exclude:
187             - image_os: centos
188       - capm3_main_integration_tests:
189           version:
190             - v1b1:
191                 capi_version: v1beta1
192                 capm3_version: v1beta1
193                 schedule: "H 4 * * *"
194             - v1a5:
195                 capi_version: v1alpha4
196                 capm3_version: v1alpha5
197                 schedule: "30 4 * * *"
198
199 - project:
200     name: bml-tests
201     org: metal3-io
202     image_os: centos
203     jobs:
204       - bml_integration_tests:
205           proj:
206             - metal3_dev_env:
207                 repo: metal3-dev-env
208             - project_infra:
209                 repo: project-infra
210                 branch: '${{ghprbActualCommit}}'
211                 ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
212       - bml_main_integration_tests:
213           repo: metal3-dev-env
214
215 - project:
216     name: 'project_infra_cleanup'
217     repo:
218       org: "metal3-io"
219       name: "project-infra"
220     ci_github_pipeline: 'jenkins/jobs/integration_tests_clean.pipeline'
221     jobs:
222     - main_clean
223
224 - project:
225     name: "capm3"
226     repo:
227       org: "metal3-io"
228       name: "cluster-api-provider-metal3"
229     image_os:
230       - ubuntu
231       - centos
232     jobs:
233       - capm3_e2e_upgrade_tests:
234           exclude:
235             - image_os: centos
236       - capm3_e2e_tests:
237           version:
238             - v1b1:
239                 capi_version: v1beta1
240                 capm3_version: v1beta1
241                 target_branches:
242                   - 'main'
243             - v1a5:
244                 capi_version: v1alpha4
245                 capm3_version: v1alpha5
246                 target_branches:
247                   - 'release-0.5'
248       - keep_capm3_e2e_tests:
249           version:
250             - v1b1:
251                 capi_version: v1beta1
252                 capm3_version: v1beta1
253                 target_branches:
254                   - 'main'
255             - v1a5:
256                 capi_version: v1alpha4
257                 capm3_version: v1alpha5
258                 target_branches:
259                   - 'release-0.5'
260       - capm3_main_e2e_upgrade_tests:
261           exclude:
262             - image_os: centos
263       - capm3_main_e2e_ephemeral_tests:
264           exclude:
265             - image_os: ubuntu
266       - capm3_main_e2e_tests:
267           version:
268             - v1b1:
269                 capi_version: v1beta1
270                 capm3_version: v1beta1
271                 capm3_branch: main
272                 schedule: "H 20 * * *"
273             - v1a5:
274                 capi_version: v1alpha4
275                 capm3_version: v1alpha5
276                 capm3_branch: release-0.5
277                 schedule: "H 23 * * *"