13
13
type : string
14
14
required : true
15
15
default : " aws"
16
+ license_type :
17
+ description : " License type, enterprise or trial"
18
+ type : string
19
+ required : true
20
+ default : " trial"
16
21
17
22
env :
18
23
BUILD_PROFILE : ${{ inputs.build_profile }}
19
24
RUNNER_PROVIDER : ${{ inputs.runner_provider }}
20
25
21
26
jobs :
22
27
check :
23
- runs-on : [ self-hosted, X64, Linux, 16c32g, "${{ inputs.runner_provider }}" ]
28
+ runs-on : [self-hosted, X64, Linux, 16c32g, "${{ inputs.runner_provider }}"]
24
29
steps :
25
30
- uses : actions/checkout@v4
26
31
with :
50
55
fetch-depth : 0
51
56
- uses : ./.github/actions/build_linux
52
57
timeout-minutes : 60
58
+ env :
59
+ DATABEND_ENTERPRISE_LICENSE_PUBLIC_KEY : ${{ secrets.DATABEND_ENTERPRISE_LICENSE_PUBLIC_KEY }}
53
60
with :
54
61
sha : ${{ github.sha }}
55
62
target : ${{ matrix.arch }}-unknown-linux-gnu
75
82
fetch-depth : 0
76
83
- uses : ./.github/actions/build_linux
77
84
timeout-minutes : 60
85
+ env :
86
+ DATABEND_ENTERPRISE_LICENSE_PUBLIC_KEY : ${{ secrets.DATABEND_ENTERPRISE_LICENSE_PUBLIC_KEY }}
78
87
with :
79
88
sha : ${{ github.sha }}
80
89
target : ${{ matrix.arch }}-unknown-linux-gnu
@@ -106,7 +115,7 @@ jobs:
106
115
# artifacts: query
107
116
108
117
test_unit :
109
- runs-on : [ self-hosted, X64, Linux, 16c32g, "${{ inputs.runner_provider }}" ]
118
+ runs-on : [self-hosted, X64, Linux, 16c32g, "${{ inputs.runner_provider }}"]
110
119
steps :
111
120
- uses : actions/checkout@v4
112
121
with :
@@ -116,75 +125,76 @@ jobs:
116
125
timeout-minutes : 60
117
126
118
127
test_metactl :
119
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
120
- needs : [ build, check ]
128
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
129
+ needs : [build, check]
121
130
steps :
122
131
- uses : actions/checkout@v4
123
132
- uses : ./.github/actions/test_metactl
124
133
timeout-minutes : 10
125
134
126
135
test_compat_meta_query :
127
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
128
- needs : [ build, check ]
136
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
137
+ needs : [build, check]
129
138
steps :
130
139
- uses : actions/checkout@v4
131
140
- uses : ./.github/actions/test_compat_meta_query
132
141
timeout-minutes : 10
133
142
134
143
test_compat_fuse :
135
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
136
- needs : [ build, check ]
144
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
145
+ needs : [build, check]
137
146
steps :
138
147
- uses : actions/checkout@v4
139
148
- uses : ./.github/actions/test_compat_fuse
140
149
timeout-minutes : 20
141
150
142
151
test_compat_meta_meta :
143
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
144
- needs : [ build, check ]
152
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
153
+ needs : [build, check]
145
154
steps :
146
155
- uses : actions/checkout@v4
147
156
- uses : ./.github/actions/test_compat_meta_meta
148
157
timeout-minutes : 20
149
158
150
159
test_logs :
151
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
152
- needs : [ build, check ]
160
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
161
+ needs : [build, check]
153
162
steps :
154
163
- uses : actions/checkout@v4
155
164
- uses : ./.github/actions/test_logs
156
165
timeout-minutes : 20
157
166
158
167
test_meta_cluster :
159
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
160
- needs : [ build, check ]
168
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
169
+ needs : [build, check]
161
170
steps :
162
171
- uses : actions/checkout@v4
163
172
- uses : ./.github/actions/test_meta_cluster
164
173
timeout-minutes : 10
165
174
166
175
test_stateless_standalone :
167
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
168
- needs : [ build, check ]
176
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
177
+ needs : [build, check]
169
178
steps :
170
179
- uses : actions/checkout@v4
171
180
- uses : ./.github/actions/test_stateless_standalone_linux
172
181
timeout-minutes : 15
173
182
174
183
test_stateless_cluster :
175
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
176
- needs : [ build, check ]
184
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
185
+ needs : [build, check]
177
186
steps :
178
187
- uses : actions/checkout@v4
179
188
- uses : ./.github/actions/setup_license
180
189
with :
181
190
runner_provider : ${{ inputs.runner_provider }}
191
+ type : ${{ inputs.license_type }}
182
192
- uses : ./.github/actions/test_stateless_cluster_linux
183
193
timeout-minutes : 15
184
194
185
195
test_stateful_standalone :
186
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
187
- needs : [ build, check ]
196
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
197
+ needs : [build, check]
188
198
steps :
189
199
- uses : actions/checkout@v4
190
200
- uses : ./.github/actions/test_stateful_standalone_linux
@@ -196,13 +206,14 @@ jobs:
196
206
name : test-stateful-standalone-linux
197
207
198
208
test_stateful_cluster :
199
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
200
- needs : [ build, check ]
209
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
210
+ needs : [build, check]
201
211
steps :
202
212
- uses : actions/checkout@v4
203
213
- uses : ./.github/actions/setup_license
204
214
with :
205
215
runner_provider : ${{ inputs.runner_provider }}
216
+ type : ${{ inputs.license_type }}
206
217
- uses : ./.github/actions/test_stateful_cluster_linux
207
218
timeout-minutes : 15
208
219
- name : Upload failure
@@ -213,16 +224,16 @@ jobs:
213
224
214
225
test_stateful_large_data :
215
226
if : contains(github.event.pull_request.labels.*.name, 'ci-largedata')
216
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
217
- needs : [ build, check ]
227
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
228
+ needs : [build, check]
218
229
steps :
219
230
- uses : actions/checkout@v4
220
231
- uses : ./.github/actions/test_stateful_large_data
221
232
timeout-minutes : 60
222
233
223
234
test_stateful_iceberg_rest :
224
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
225
- needs : [ build, check ]
235
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
236
+ needs : [build, check]
226
237
steps :
227
238
- uses : actions/checkout@v4
228
239
- uses : ./.github/actions/test_stateful_iceberg_rest_standalone
@@ -243,13 +254,14 @@ jobs:
243
254
# continue-on-error: true
244
255
245
256
test_ee_standalone :
246
- needs : [ build, check ]
247
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
257
+ needs : [build, check]
258
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
248
259
steps :
249
260
- uses : actions/checkout@v4
250
261
- uses : ./.github/actions/setup_license
251
262
with :
252
263
runner_provider : ${{ inputs.runner_provider }}
264
+ type : ${{ inputs.license_type }}
253
265
- uses : ./.github/actions/test_ee_standalone_linux
254
266
timeout-minutes : 10
255
267
- name : Upload failure
@@ -259,14 +271,15 @@ jobs:
259
271
name : test-stateful-standalone-linux
260
272
261
273
test_ee_standalone_background :
262
- needs : [ build, check ]
263
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
274
+ needs : [build, check]
275
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
264
276
steps :
265
277
- uses : actions/checkout@v4
266
278
- uses : ./.github/actions/setup_bendsql
267
279
- uses : ./.github/actions/setup_license
268
280
with :
269
281
runner_provider : ${{ inputs.runner_provider }}
282
+ type : ${{ inputs.license_type }}
270
283
- uses : ./.github/actions/test_ee_standalone_background_linux
271
284
timeout-minutes : 10
272
285
- name : Upload failure
@@ -288,6 +301,7 @@ jobs:
288
301
# - uses: ./.github/actions/setup_license
289
302
# with:
290
303
# runner_provider: ${{ inputs.runner_provider }}
304
+ # type: ${{ inputs.license_type }}
291
305
# - uses: ./.github/actions/test_ee_standalone_fake_time_linux
292
306
# timeout-minutes: 10
293
307
# - name: Upload failure
@@ -297,14 +311,15 @@ jobs:
297
311
# name: test-stateful-standalone-fake-time-linux
298
312
299
313
test_ee_management_mode :
300
- needs : [ build, check ]
301
- runs-on : [ self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}" ]
314
+ needs : [build, check]
315
+ runs-on : [self-hosted, X64, Linux, 4c8g, "${{ inputs.runner_provider }}"]
302
316
steps :
303
317
- uses : actions/checkout@v4
304
318
- uses : ./.github/actions/setup_bendsql
305
319
- uses : ./.github/actions/setup_license
306
320
with :
307
321
runner_provider : ${{ inputs.runner_provider }}
322
+ type : ${{ inputs.license_type }}
308
323
- uses : ./.github/actions/test_ee_management_mode_linux
309
324
timeout-minutes : 10
310
325
- name : Upload failure
@@ -314,9 +329,10 @@ jobs:
314
329
name : test-ee-management-mode-linux
315
330
316
331
sqllogic :
317
- needs : [ build, check ]
332
+ needs : [build, check]
318
333
uses : ./.github/workflows/reuse.sqllogic.yml
319
334
secrets : inherit
320
335
with :
321
336
build_profile : ${{ inputs.build_profile }}
322
337
runner_provider : ${{ inputs.runner_provider }}
338
+ license_type : ${{ inputs.license_type }}
0 commit comments