Skip to content

Commit be96e4d

Browse files
committed
test(ci): try running all test suites in drone ci
1 parent c52ec80 commit be96e4d

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.drone.star

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ config = {
108108
"apiCors",
109109
],
110110
"skip": False,
111+
"k8s": True,
111112
"withRemotePhp": [True],
112113
"emailNeeded": True,
113114
"extraEnvironment": {
@@ -155,6 +156,7 @@ config = {
155156
"apiActivities",
156157
],
157158
"skip": False,
159+
"k8s": True,
158160
},
159161
"groupAndSearch1": {
160162
"suites": [
@@ -164,7 +166,7 @@ config = {
164166
"apiServiceAvailability",
165167
],
166168
"skip": False,
167-
"k8s": False,
169+
"k8s": True,
168170
},
169171
"search2": {
170172
"suites": [
@@ -173,7 +175,7 @@ config = {
173175
],
174176
"tikaNeeded": True,
175177
"skip": False,
176-
"k8s": False,
178+
"k8s": True,
177179
},
178180
"sharingNg1": {
179181
"suites": [
@@ -182,6 +184,7 @@ config = {
182184
"apiSharingNgPermissions",
183185
],
184186
"skip": False,
187+
"k8s": True,
185188
"withRemotePhp": [True],
186189
},
187190
"sharingNgAdditionalShareRole": {
@@ -198,6 +201,7 @@ config = {
198201
"apiSharingNgItemInvitation",
199202
],
200203
"skip": False,
204+
"k8s": True,
201205
"withRemotePhp": [True],
202206
},
203207
"sharingNgLinkShare": {
@@ -207,13 +211,15 @@ config = {
207211
"apiSharingNgLinkShareManagement",
208212
],
209213
"skip": False,
214+
"k8s": True,
210215
"withRemotePhp": [True],
211216
},
212217
"antivirus": {
213218
"suites": [
214219
"apiAntivirus",
215220
],
216221
"skip": False,
222+
"k8s": True,
217223
"antivirusNeeded": True,
218224
"extraServerEnvironment": {
219225
"ANTIVIRUS_SCANNER_TYPE": "clamav",
@@ -229,6 +235,7 @@ config = {
229235
"apiAuthApp",
230236
],
231237
"skip": False,
238+
"k8s": True,
232239
"withRemotePhp": [True],
233240
"federationServer": True,
234241
"emailNeeded": True,
@@ -257,6 +264,7 @@ config = {
257264
"apiCollaboration",
258265
],
259266
"skip": False,
267+
"k8s": True,
260268
"withRemotePhp": [True],
261269
"collaborationServiceNeeded": True,
262270
"extraServerEnvironment": {
@@ -268,6 +276,7 @@ config = {
268276
"cliCommands",
269277
],
270278
"skip": False,
279+
"k8s": True,
271280
"withRemotePhp": [True],
272281
"antivirusNeeded": True,
273282
"emailNeeded": True,
@@ -297,6 +306,7 @@ config = {
297306
"coreApiVersions",
298307
],
299308
"skip": False,
309+
"k8s": True,
300310
"withRemotePhp": [True],
301311
},
302312
"2": {
@@ -314,6 +324,7 @@ config = {
314324
"coreApiSharePublicLink2",
315325
],
316326
"skip": False,
327+
"k8s": True,
317328
"withRemotePhp": [True],
318329
},
319330
"4": {
@@ -361,22 +372,26 @@ config = {
361372
"coreApiWebdavUpload",
362373
"coreApiWebdavUploadTUS",
363374
],
375+
"k8s": True,
364376
"skip": False,
365377
},
366378
},
367379
"e2eTests": {
368380
"part": {
369381
"skip": False,
382+
"k8s": True,
370383
"totalParts": 4, # divide and run all suites in parts (divide pipelines)
371384
"xsuites": ["search", "app-provider", "oidc", "ocm", "keycloak"], # suites to skip
372385
},
373386
"search": {
374387
"skip": False,
388+
"k8s": True,
375389
"suites": ["search"], # suites to run
376390
"tikaNeeded": True,
377391
},
378392
"keycloak": {
379393
"skip": False,
394+
"k8s": True,
380395
"suites": ["journeys", "keycloak"],
381396
"keycloakNeeded": True,
382397
},
@@ -1089,7 +1104,7 @@ def localApiTestPipeline(ctx):
10891104
params[item] = matrix[item] if item in matrix else defaults[item]
10901105
for storage in params["storages"]:
10911106
for run_with_remote_php in params["withRemotePhp"]:
1092-
run_on_k8s = params["k8s"] and ctx.build.event == "cron"
1107+
run_on_k8s = params["k8s"]
10931108
ocis_url = OCIS_URL
10941109
if run_on_k8s:
10951110
ocis_url = "https://%s" % OCIS_SERVER_NAME
@@ -1391,7 +1406,7 @@ def coreApiTestPipeline(ctx):
13911406
for run_with_remote_php in params["withRemotePhp"]:
13921407
filter_tags = "~@skipOnGraph&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS")
13931408
expected_failures_file = "%s/expected-failures-API-on-%s-storage.md" % (test_dir, storage.upper())
1394-
run_on_k8s = params["k8s"] and ctx.build.event == "cron"
1409+
run_on_k8s = params["k8s"]
13951410
ocis_url = OCIS_URL
13961411
if run_on_k8s:
13971412
ocis_url = "https://%s" % OCIS_SERVER_NAME

0 commit comments

Comments
 (0)