Skip to content

Commit d4d98db

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

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

.drone.star

Lines changed: 20 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": {
@@ -128,6 +129,7 @@ config = {
128129
"apiGraphUser",
129130
],
130131
"skip": False,
132+
"k8s": True,
131133
"withRemotePhp": [True],
132134
"k8s": True,
133135
},
@@ -155,6 +157,7 @@ config = {
155157
"apiActivities",
156158
],
157159
"skip": False,
160+
"k8s": True,
158161
},
159162
"groupAndSearch1": {
160163
"suites": [
@@ -164,7 +167,7 @@ config = {
164167
"apiServiceAvailability",
165168
],
166169
"skip": False,
167-
"k8s": False,
170+
"k8s": True,
168171
},
169172
"search2": {
170173
"suites": [
@@ -173,7 +176,7 @@ config = {
173176
],
174177
"tikaNeeded": True,
175178
"skip": False,
176-
"k8s": False,
179+
"k8s": True,
177180
},
178181
"sharingNg1": {
179182
"suites": [
@@ -182,6 +185,7 @@ config = {
182185
"apiSharingNgPermissions",
183186
],
184187
"skip": False,
188+
"k8s": True,
185189
"withRemotePhp": [True],
186190
},
187191
"sharingNgAdditionalShareRole": {
@@ -198,6 +202,7 @@ config = {
198202
"apiSharingNgItemInvitation",
199203
],
200204
"skip": False,
205+
"k8s": True,
201206
"withRemotePhp": [True],
202207
},
203208
"sharingNgLinkShare": {
@@ -207,13 +212,15 @@ config = {
207212
"apiSharingNgLinkShareManagement",
208213
],
209214
"skip": False,
215+
"k8s": True,
210216
"withRemotePhp": [True],
211217
},
212218
"antivirus": {
213219
"suites": [
214220
"apiAntivirus",
215221
],
216222
"skip": False,
223+
"k8s": True,
217224
"antivirusNeeded": True,
218225
"extraServerEnvironment": {
219226
"ANTIVIRUS_SCANNER_TYPE": "clamav",
@@ -229,6 +236,7 @@ config = {
229236
"apiAuthApp",
230237
],
231238
"skip": False,
239+
"k8s": True,
232240
"withRemotePhp": [True],
233241
"federationServer": True,
234242
"emailNeeded": True,
@@ -257,6 +265,7 @@ config = {
257265
"apiCollaboration",
258266
],
259267
"skip": False,
268+
"k8s": True,
260269
"withRemotePhp": [True],
261270
"collaborationServiceNeeded": True,
262271
"extraServerEnvironment": {
@@ -268,6 +277,7 @@ config = {
268277
"cliCommands",
269278
],
270279
"skip": False,
280+
"k8s": True,
271281
"withRemotePhp": [True],
272282
"antivirusNeeded": True,
273283
"emailNeeded": True,
@@ -297,6 +307,7 @@ config = {
297307
"coreApiVersions",
298308
],
299309
"skip": False,
310+
"k8s": True,
300311
"withRemotePhp": [True],
301312
},
302313
"2": {
@@ -314,6 +325,7 @@ config = {
314325
"coreApiSharePublicLink2",
315326
],
316327
"skip": False,
328+
"k8s": True,
317329
"withRemotePhp": [True],
318330
},
319331
"4": {
@@ -361,22 +373,26 @@ config = {
361373
"coreApiWebdavUpload",
362374
"coreApiWebdavUploadTUS",
363375
],
376+
"k8s": True,
364377
"skip": False,
365378
},
366379
},
367380
"e2eTests": {
368381
"part": {
369382
"skip": False,
383+
"k8s": True,
370384
"totalParts": 4, # divide and run all suites in parts (divide pipelines)
371385
"xsuites": ["search", "app-provider", "oidc", "ocm", "keycloak"], # suites to skip
372386
},
373387
"search": {
374388
"skip": False,
389+
"k8s": True,
375390
"suites": ["search"], # suites to run
376391
"tikaNeeded": True,
377392
},
378393
"keycloak": {
379394
"skip": False,
395+
"k8s": True,
380396
"suites": ["journeys", "keycloak"],
381397
"keycloakNeeded": True,
382398
},
@@ -1089,7 +1105,7 @@ def localApiTestPipeline(ctx):
10891105
params[item] = matrix[item] if item in matrix else defaults[item]
10901106
for storage in params["storages"]:
10911107
for run_with_remote_php in params["withRemotePhp"]:
1092-
run_on_k8s = params["k8s"] and ctx.build.event == "cron"
1108+
run_on_k8s = params["k8s"]
10931109
ocis_url = OCIS_URL
10941110
if run_on_k8s:
10951111
ocis_url = "https://%s" % OCIS_SERVER_NAME
@@ -1391,7 +1407,7 @@ def coreApiTestPipeline(ctx):
13911407
for run_with_remote_php in params["withRemotePhp"]:
13921408
filter_tags = "~@skipOnGraph&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS")
13931409
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"
1410+
run_on_k8s = params["k8s"]
13951411
ocis_url = OCIS_URL
13961412
if run_on_k8s:
13971413
ocis_url = "https://%s" % OCIS_SERVER_NAME

0 commit comments

Comments
 (0)