Airship: add cleanup jobs for integration tests
[infra/cicd.git] / jjb / airship / 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 airship 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-airship
34     jobs:
35     - linter_tests
36     - openstack_image_building
37     - docker_image_building
38     - update_nordix_repos
39     repo:
40       org: "Nordix"
41       name: "airship-dev-tools"
42     ci_github_jenkins_credentials_id: 'nordix-airship-ci-github-prod-token'
43     ci_ghprb_auth_id: 'e8a43847-46ff-42db-a5db-7366df0e4ee2'
44     ci_github_repo: 'https://github.com/Nordix/airship-dev-tools.git'
45
46 - project:
47     name: 'metal3io_project_infra'
48     branch: '${{ghprbActualCommit}}'
49     ci_github_whitelist_org:
50     - nordix-airship
51     repo:
52       org: "metal3-io"
53       name: "project-infra"
54     ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
55     jobs:
56     - capi_bm_integration_tests_ubuntu
57     - capi_bm_integration_tests_centos
58     - capi_bm_v1a2_integration_tests_centos
59     - capi_bm_v1a2_integration_tests_ubuntu
60     - capi_bm_v1a3_integration_tests_centos
61     - capi_bm_v1a3_integration_tests_ubuntu
62
63 - project:
64     name: 'metal3io_project_infra_cleanup'
65     ci_github_whitelist_org:
66     - nordix-airship
67     repo:
68       org: "metal3-io"
69       name: "project-infra"
70     ci_github_pipeline: 'jenkins/jobs/integration_tests_clean.pipeline'
71     jobs:
72     - capi_bm_master_clean
73
74 - project:
75     name: 'metal3io_project_infra_cleanup_test'
76     branch: '${{ghprbActualCommit}}'
77     ci_github_whitelist_org:
78     - nordix-airship
79     repo:
80       org: "metal3-io"
81       name: "project-infra"
82     ci_github_repo: '${{ghprbAuthorRepoGitUrl}}'
83     ci_github_pipeline: 'jenkins/jobs/integration_tests_clean.pipeline'
84     jobs:
85     - capi_bm_clean
86
87 - project:
88     name: "metal3io_bmo"
89     repo:
90       org: "metal3-io"
91       name: "baremetal-operator"
92     jobs:
93     - capi_bm_integration_tests_ubuntu
94     - capi_bm_integration_tests_centos
95     - capi_bm_v1a2_integration_tests_centos
96     - capi_bm_v1a2_integration_tests_ubuntu
97     - capi_bm_v1a3_integration_tests_centos
98     - capi_bm_v1a3_integration_tests_ubuntu
99
100 - project:
101     name: "metal3io_metal3_dev_env"
102     jobs:
103     - capi_bm_integration_tests_ubuntu
104     - capi_bm_integration_tests_centos
105     - capi_bm_master_integration_tests_ubuntu
106     - capi_bm_master_integration_tests_centos
107     - capi_bm_v1a2_integration_tests_centos
108     - capi_bm_v1a2_integration_tests_ubuntu
109     - capi_bm_v1a2_master_integration_tests_ubuntu
110     - capi_bm_v1a2_master_integration_tests_centos
111     - capi_bm_v1a3_integration_tests_centos
112     - capi_bm_v1a3_integration_tests_ubuntu
113     - capi_bm_v1a3_master_integration_tests_ubuntu
114     - capi_bm_v1a3_master_integration_tests_centos
115     repo:
116       org: "metal3-io"
117       name: "metal3-dev-env"
118
119 - project:
120     name: "metal3io_capi_bm"
121     repo:
122       org: "metal3-io"
123       name: "cluster-api-provider-baremetal"
124     jobs:
125     - capi_bm_integration_tests_ubuntu
126     - capi_bm_integration_tests_centos
127     - capi_bm_v1a2_integration_tests_centos
128     - capi_bm_v1a2_integration_tests_ubuntu
129     - capi_bm_v1a3_integration_tests_centos
130     - capi_bm_v1a3_integration_tests_ubuntu
131
132 - project:
133     name: "metal3io_ironic_image"
134     repo:
135       org: "metal3-io"
136       name: "ironic-image"
137     jobs:
138     - capi_bm_integration_tests_ubuntu
139     - capi_bm_integration_tests_centos
140     - capi_bm_v1a2_integration_tests_centos
141     - capi_bm_v1a2_integration_tests_ubuntu
142     - capi_bm_v1a3_integration_tests_centos
143     - capi_bm_v1a3_integration_tests_ubuntu
144
145 - project:
146     name: "metal3io_ironic_inspector"
147     repo:
148       org: "metal3-io"
149       name: "ironic-inspector-image"
150     jobs:
151     - capi_bm_integration_tests_ubuntu
152     - capi_bm_integration_tests_centos
153     - capi_bm_v1a2_integration_tests_centos
154     - capi_bm_v1a2_integration_tests_ubuntu
155     - capi_bm_v1a3_integration_tests_centos
156     - capi_bm_v1a3_integration_tests_ubuntu
157
158 - project:
159     name: "metal3io_ironic_ipa_downloader"
160     repo:
161       org: "metal3-io"
162       name: "ironic-ipa-downloader"
163     jobs:
164     - capi_bm_integration_tests_ubuntu
165     - capi_bm_integration_tests_centos
166     - capi_bm_v1a2_integration_tests_centos
167     - capi_bm_v1a2_integration_tests_ubuntu
168     - capi_bm_v1a3_integration_tests_centos
169     - capi_bm_v1a3_integration_tests_ubuntu