Skip to content

Commit 172ad17

Browse files
committed
test(ci): try running all test suites in drone ci
1 parent 82c4abb commit 172ad17

File tree

1 file changed

+31
-17
lines changed

1 file changed

+31
-17
lines changed

.drone.star

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ config = {
100100
"apiLocks",
101101
],
102102
"skip": False,
103-
"k8s": False,
103+
"k8s": True,
104104
},
105105
"settingsAndNotification": {
106106
"suites": [
@@ -109,6 +109,7 @@ config = {
109109
"apiCors",
110110
],
111111
"skip": False,
112+
"k8s": True,
112113
"withRemotePhp": [False],
113114
"emailNeeded": True,
114115
"extraEnvironment": {
@@ -130,21 +131,21 @@ config = {
130131
],
131132
"skip": False,
132133
"withRemotePhp": [False],
133-
"k8s": False,
134+
"k8s": True,
134135
},
135136
"spaces": {
136137
"suites": [
137138
"apiSpaces",
138139
],
139140
"skip": False,
140-
"k8s": False,
141+
"k8s": True,
141142
},
142143
"spacesShares": {
143144
"suites": [
144145
"apiSpacesShares",
145146
],
146147
"skip": False,
147-
"k8s": False,
148+
"k8s": True,
148149
},
149150
"davOperations": {
150151
"suites": [
@@ -156,6 +157,7 @@ config = {
156157
"apiActivities",
157158
],
158159
"skip": False,
160+
"k8s": True,
159161
},
160162
"groupAndSearch1": {
161163
"suites": [
@@ -165,7 +167,7 @@ config = {
165167
"apiServiceAvailability",
166168
],
167169
"skip": False,
168-
"k8s": False,
170+
"k8s": True,
169171
},
170172
"search2": {
171173
"suites": [
@@ -174,7 +176,7 @@ config = {
174176
],
175177
"tikaNeeded": True,
176178
"skip": False,
177-
"k8s": False,
179+
"k8s": True,
178180
},
179181
"sharingNg1": {
180182
"suites": [
@@ -183,15 +185,15 @@ config = {
183185
"apiSharingNgPermissions",
184186
],
185187
"skip": False,
188+
"k8s": True,
186189
"withRemotePhp": [False],
187-
"k8s": False,
188190
},
189191
"sharingNgAdditionalShareRole": {
190192
"suites": [
191193
"apiSharingNgAdditionalShareRole",
192194
],
193195
"skip": False,
194-
"k8s": False,
196+
"k8s": True,
195197
"withRemotePhp": [False],
196198
},
197199
"sharingNgShareInvitation": {
@@ -200,6 +202,7 @@ config = {
200202
"apiSharingNgItemInvitation",
201203
],
202204
"skip": False,
205+
"k8s": True,
203206
"withRemotePhp": [False],
204207
},
205208
"sharingNgLinkShare": {
@@ -209,13 +212,15 @@ config = {
209212
"apiSharingNgLinkShareManagement",
210213
],
211214
"skip": False,
212-
"withRemotePhp": [False],
215+
"k8s": True,
216+
"withRemotePhp": [True],
213217
},
214218
"antivirus": {
215219
"suites": [
216220
"apiAntivirus",
217221
],
218222
"skip": False,
223+
"k8s": True,
219224
"antivirusNeeded": True,
220225
"extraServerEnvironment": {
221226
"ANTIVIRUS_SCANNER_TYPE": "clamav",
@@ -231,6 +236,7 @@ config = {
231236
"apiAuthApp",
232237
],
233238
"skip": False,
239+
"k8s": True,
234240
"withRemotePhp": [False],
235241
"federationServer": True,
236242
"emailNeeded": True,
@@ -259,6 +265,7 @@ config = {
259265
"apiCollaboration",
260266
],
261267
"skip": False,
268+
"k8s": True,
262269
"withRemotePhp": [False],
263270
"collaborationServiceNeeded": True,
264271
"extraServerEnvironment": {
@@ -270,6 +277,7 @@ config = {
270277
"cliCommands",
271278
],
272279
"skip": False,
280+
"k8s": True,
273281
"withRemotePhp": [False],
274282
"antivirusNeeded": True,
275283
"emailNeeded": True,
@@ -299,6 +307,7 @@ config = {
299307
"coreApiVersions",
300308
],
301309
"skip": False,
310+
"k8s": True,
302311
"withRemotePhp": [False],
303312
},
304313
"2": {
@@ -307,7 +316,7 @@ config = {
307316
"coreApiShareManagementToShares",
308317
],
309318
"skip": False,
310-
"k8s": False,
319+
"k8s": True,
311320
"withRemotePhp": [False],
312321
},
313322
"3": {
@@ -316,6 +325,7 @@ config = {
316325
"coreApiSharePublicLink2",
317326
],
318327
"skip": False,
328+
"k8s": True,
319329
"withRemotePhp": [False],
320330
},
321331
"4": {
@@ -328,7 +338,7 @@ config = {
328338
"coreApiShareUpdateToShares",
329339
],
330340
"skip": False,
331-
"k8s": False,
341+
"k8s": True,
332342
"withRemotePhp": [False],
333343
},
334344
"5": {
@@ -339,7 +349,7 @@ config = {
339349
"coreApiWebdavEtagPropagation2",
340350
],
341351
"skip": False,
342-
"k8s": False,
352+
"k8s": True,
343353
},
344354
"6": {
345355
"suites": [
@@ -354,7 +364,7 @@ config = {
354364
"coreApiWebdavProperties",
355365
],
356366
"skip": False,
357-
"k8s": False,
367+
"k8s": True,
358368
},
359369
"8": {
360370
"suites": [
@@ -363,22 +373,26 @@ config = {
363373
"coreApiWebdavUpload",
364374
"coreApiWebdavUploadTUS",
365375
],
376+
"k8s": True,
366377
"skip": False,
367378
},
368379
},
369380
"e2eTests": {
370381
"part": {
371382
"skip": False,
383+
"k8s": True,
372384
"totalParts": 4, # divide and run all suites in parts (divide pipelines)
373385
"xsuites": ["search", "app-provider", "oidc", "ocm", "keycloak"], # suites to skip
374386
},
375387
"search": {
376388
"skip": False,
389+
"k8s": True,
377390
"suites": ["search"], # suites to run
378391
"tikaNeeded": True,
379392
},
380393
"keycloak": {
381394
"skip": False,
395+
"k8s": True,
382396
"suites": ["journeys", "keycloak"],
383397
"keycloakNeeded": True,
384398
},
@@ -1063,7 +1077,7 @@ def codestyle(ctx):
10631077
def localApiTestPipeline(ctx):
10641078
pipelines = []
10651079

1066-
with_remote_php = [False]
1080+
with_remote_php = [True]
10671081
if ctx.build.event == "cron" or "full-ci" in ctx.build.title.lower():
10681082
with_remote_php.append(True)
10691083

@@ -1091,7 +1105,7 @@ def localApiTestPipeline(ctx):
10911105
params[item] = matrix[item] if item in matrix else defaults[item]
10921106
for storage in params["storages"]:
10931107
for run_with_remote_php in params["withRemotePhp"]:
1094-
run_on_k8s = params["k8s"] and ctx.build.event == "cron"
1108+
run_on_k8s = params["k8s"]
10951109
ocis_url = OCIS_URL
10961110
if run_on_k8s:
10971111
ocis_url = "https://%s" % OCIS_SERVER_NAME
@@ -1363,7 +1377,7 @@ def wopiValidatorTests(ctx, storage, wopiServerType):
13631377
def coreApiTestPipeline(ctx):
13641378
pipelines = []
13651379

1366-
with_remote_php = [False]
1380+
with_remote_php = [True]
13671381
if ctx.build.event == "cron" or "full-ci" in ctx.build.title.lower():
13681382
with_remote_php.append(True)
13691383

@@ -1393,7 +1407,7 @@ def coreApiTestPipeline(ctx):
13931407
for run_with_remote_php in params["withRemotePhp"]:
13941408
filter_tags = "~@skipOnGraph&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS")
13951409
expected_failures_file = "%s/expected-failures-API-on-%s-storage.md" % (test_dir, storage.upper())
1396-
run_on_k8s = params["k8s"] and ctx.build.event == "cron"
1410+
run_on_k8s = params["k8s"]
13971411
ocis_url = OCIS_URL
13981412
if run_on_k8s:
13991413
ocis_url = "https://%s" % OCIS_SERVER_NAME

0 commit comments

Comments
 (0)