-
Notifications
You must be signed in to change notification settings - Fork 2
224 lines (208 loc) · 7.72 KB
/
test-integrations.yml
File metadata and controls
224 lines (208 loc) · 7.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
name: Integration tests
on:
pull_request:
branches:
- "*"
push:
branches:
- "main"
- "release-*"
# Declare default permissions as read only
permissions:
contents: read
id-token: write # Required for OIDC keyless signing
# Cancel previous builds on the same branch/PR
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-integration:
name: Integration Test - ${{ matrix.project.repo }}
strategy:
fail-fast: false
matrix:
project:
# Strimzi Operator - Full pipeline with containers and Helm
- repo: "strimzi/strimzi-kafka-operator"
ref: "release-0.51.x"
artifactSuffix: "operators"
architecture: "amd64"
buildContainers: true
modules: "./,crd-annotations,crd-generator,test,api,v1-api-conversion"
nexusCheck: "strimzi"
javaVersion: "21"
helmChartName: "strimzi-kafka-operator-helm-3-chart"
releaseVersion: "6.6.6"
imagesDir: "./docker-images/container-archives"
clusterOperatorBuild: true
checkTests: false
# Kafka Bridge - Full pipeline with containers
- repo: "strimzi/strimzi-kafka-bridge"
ref: "release-1.0.x"
artifactSuffix: "kafka-bridge"
architecture: "amd64"
buildContainers: true
modules: "./"
nexusCheck: "kafka-bridge"
javaVersion: "21"
helmChartName: "none"
releaseVersion: "6.6.6-rc1"
imagesDir: "kafka-bridge-amd64.tar.gz"
clusterOperatorBuild: false
checkTests: true
# Access Operator - Full pipeline with containers
- repo: "strimzi/kafka-access-operator"
ref: "main"
artifactSuffix: "access-operator"
architecture: "amd64"
buildContainers: true
modules: "./,api"
nexusCheck: "kafka-access-operator"
javaVersion: "21"
helmChartName: "strimzi-access-operator-helm-3-chart"
releaseVersion: "6.6.6"
imagesDir: "access-operator-container-amd64.tar.gz"
clusterOperatorBuild: false
checkTests: true
# MQTT Bridge - Full pipeline with containers
- repo: "strimzi/strimzi-mqtt-bridge"
ref: "main"
artifactSuffix: "mqtt-bridge"
architecture: "amd64"
buildContainers: true
modules: "none"
nexusCheck: "none"
javaVersion: "21"
helmChartName: "none"
releaseVersion: "6.6.6"
imagesDir: "mqtt-bridge-amd64.tar.gz"
clusterOperatorBuild: false
checkTests: true
# Drain Cleaner - Full pipeline with containers and Helm
- repo: "strimzi/drain-cleaner"
ref: "main"
artifactSuffix: "drain-cleaner"
architecture: "amd64"
buildContainers: true
modules: "none"
nexusCheck: "none"
javaVersion: "21"
helmChartName: "strimzi-drain-cleaner-helm-3-chart"
releaseVersion: "6.6.6"
imagesDir: "drain-cleaner-container-amd64.tar.gz"
clusterOperatorBuild: false
checkTests: true
# Client Examples - Containers only (no Maven deploy, no tests)
- repo: "strimzi/client-examples"
ref: "main"
artifactSuffix: "client-examples"
architecture: "amd64"
buildContainers: true
modules: "none"
nexusCheck: "none"
javaVersion: "17"
helmChartName: "none"
releaseVersion: "none"
imagesDir: "*-amd64.tar.gz"
clusterOperatorBuild: false
checkTests: false
# Test Clients - Containers only (no Maven deploy)
- repo: "strimzi/test-clients"
ref: "main"
artifactSuffix: "test-clients"
architecture: "amd64"
buildContainers: true
modules: "none"
nexusCheck: "none"
javaVersion: "21"
helmChartName: "none"
releaseVersion: "6.6.6"
imagesDir: "./docker-images/container-archives"
clusterOperatorBuild: false
checkTests: true
# Metrics Reporter - Java only (no containers)
- repo: "strimzi/metrics-reporter"
ref: "main"
artifactSuffix: "metrics-reporter"
architecture: "amd64"
buildContainers: false
modules: "./"
nexusCheck: "metrics-reporter"
javaVersion: "17"
helmChartName: "none"
releaseVersion: "6.6.6"
imagesDir: "none"
clusterOperatorBuild: false
checkTests: true
# Kafka Quotas Plugin - Java only (no containers)
- repo: "strimzi/kafka-quotas-plugin"
ref: "main"
artifactSuffix: "kafka-quotas-plugin"
architecture: "amd64"
buildContainers: false
modules: "./"
nexusCheck: "kafka-quotas-plugin"
javaVersion: "17"
helmChartName: "none"
releaseVersion: "6.6.6"
imagesDir: "none"
clusterOperatorBuild: false
checkTests: true
# Kafka Kubernetes Config Provider - Java only (no containers)
- repo: "strimzi/kafka-kubernetes-config-provider"
ref: "main"
artifactSuffix: "kafka-kubernetes-config-provider"
architecture: "amd64"
buildContainers: false
modules: "./"
nexusCheck: "kafka-kubernetes-config-provider"
javaVersion: "17"
helmChartName: "none"
releaseVersion: "6.6.6"
imagesDir: "none"
clusterOperatorBuild: false
checkTests: true
# Kafka OAuth - Java only (no containers)
- repo: "strimzi/strimzi-kafka-oauth"
ref: "main"
artifactSuffix: "kafka-oauth"
architecture: "amd64"
buildContainers: false
modules: "!examples/producer','!examples/consumer"
nexusCheck: "kafka-oauth-common"
javaVersion: "17"
helmChartName: "none"
releaseVersion: "6.6.6"
imagesDir: "none"
clusterOperatorBuild: false
checkTests: true
# Test Container - Java only (no containers)
- repo: "strimzi/test-container"
ref: "main"
artifactSuffix: "strimzi-test-container"
architecture: "amd64"
buildContainers: false
modules: "./"
nexusCheck: "strimzi-test-container"
javaVersion: "17"
helmChartName: "none"
releaseVersion: "6.6.6"
imagesDir: "none"
clusterOperatorBuild: false
checkTests: true
uses: ./.github/workflows/reusable-test-integrations.yml
with:
repo: ${{ matrix.project.repo }}
ref: ${{ matrix.project.ref }}
architecture: ${{ matrix.project.architecture }}
artifactSuffix: ${{ matrix.project.artifactSuffix }}
buildContainers: ${{ matrix.project.buildContainers }}
modules: ${{ matrix.project.modules }}
nexusCheck: ${{ matrix.project.nexusCheck }}
javaVersion: ${{ matrix.project.javaVersion }}
helmChartName: ${{ matrix.project.helmChartName }}
releaseVersion: ${{ matrix.project.releaseVersion }}
imagesDir: ${{ matrix.project.imagesDir }}
clusterOperatorBuild: ${{ matrix.project.clusterOperatorBuild }}
checkTests: ${{ matrix.project.checkTests }}
secrets: inherit