Skip to content

Commit 0247785

Browse files
Merge pull request #11734 from owncloud/use-without-remote-php
[full-ci]test(ci): run tests without remote.php
1 parent 153498b commit 0247785

File tree

1 file changed

+17
-21
lines changed

1 file changed

+17
-21
lines changed

.drone.star

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ config = {
109109
"apiCors",
110110
],
111111
"skip": False,
112-
"withRemotePhp": [True],
112+
"withRemotePhp": [False],
113113
"emailNeeded": True,
114114
"extraEnvironment": {
115115
"EMAIL_HOST": EMAIL_SMTP_HOST,
@@ -129,7 +129,7 @@ config = {
129129
"apiGraphUser",
130130
],
131131
"skip": False,
132-
"withRemotePhp": [True],
132+
"withRemotePhp": [False],
133133
"k8s": False,
134134
},
135135
"spaces": {
@@ -183,7 +183,7 @@ config = {
183183
"apiSharingNgPermissions",
184184
],
185185
"skip": False,
186-
"withRemotePhp": [True],
186+
"withRemotePhp": [False],
187187
"k8s": False,
188188
},
189189
"sharingNgAdditionalShareRole": {
@@ -192,15 +192,15 @@ config = {
192192
],
193193
"skip": False,
194194
"k8s": False,
195-
"withRemotePhp": [True],
195+
"withRemotePhp": [False],
196196
},
197197
"sharingNgShareInvitation": {
198198
"suites": [
199199
"apiSharingNgDriveInvitation",
200200
"apiSharingNgItemInvitation",
201201
],
202202
"skip": False,
203-
"withRemotePhp": [True],
203+
"withRemotePhp": [False],
204204
},
205205
"sharingNgLinkShare": {
206206
"suites": [
@@ -209,7 +209,7 @@ config = {
209209
"apiSharingNgLinkShareManagement",
210210
],
211211
"skip": False,
212-
"withRemotePhp": [True],
212+
"withRemotePhp": [False],
213213
},
214214
"antivirus": {
215215
"suites": [
@@ -231,7 +231,7 @@ config = {
231231
"apiAuthApp",
232232
],
233233
"skip": False,
234-
"withRemotePhp": [True],
234+
"withRemotePhp": [False],
235235
"federationServer": True,
236236
"emailNeeded": True,
237237
"extraEnvironment": {
@@ -259,7 +259,7 @@ config = {
259259
"apiCollaboration",
260260
],
261261
"skip": False,
262-
"withRemotePhp": [True],
262+
"withRemotePhp": [False],
263263
"collaborationServiceNeeded": True,
264264
"extraServerEnvironment": {
265265
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
@@ -270,7 +270,7 @@ config = {
270270
"cliCommands",
271271
],
272272
"skip": False,
273-
"withRemotePhp": [True],
273+
"withRemotePhp": [False],
274274
"antivirusNeeded": True,
275275
"emailNeeded": True,
276276
"extraEnvironment": {
@@ -299,7 +299,7 @@ config = {
299299
"coreApiVersions",
300300
],
301301
"skip": False,
302-
"withRemotePhp": [True],
302+
"withRemotePhp": [False],
303303
},
304304
"2": {
305305
"suites": [
@@ -308,15 +308,15 @@ config = {
308308
],
309309
"skip": False,
310310
"k8s": False,
311-
"withRemotePhp": [True],
311+
"withRemotePhp": [False],
312312
},
313313
"3": {
314314
"suites": [
315315
"coreApiSharees",
316316
"coreApiSharePublicLink2",
317317
],
318318
"skip": False,
319-
"withRemotePhp": [True],
319+
"withRemotePhp": [False],
320320
},
321321
"4": {
322322
"suites": [
@@ -329,7 +329,7 @@ config = {
329329
],
330330
"skip": False,
331331
"k8s": False,
332-
"withRemotePhp": [True],
332+
"withRemotePhp": [False],
333333
},
334334
"5": {
335335
"suites": [
@@ -1063,9 +1063,7 @@ def codestyle(ctx):
10631063
def localApiTestPipeline(ctx):
10641064
pipelines = []
10651065

1066-
with_remote_php = [True]
1067-
if ctx.build.event == "cron" or "full-ci" in ctx.build.title.lower():
1068-
with_remote_php.append(False)
1066+
with_remote_php = [False]
10691067

10701068
defaults = {
10711069
"suites": {},
@@ -1099,7 +1097,7 @@ def localApiTestPipeline(ctx):
10991097
pipeline = {
11001098
"kind": "pipeline",
11011099
"type": "docker",
1102-
"name": "%s-%s%s%s" % ("CLI" if name.startswith("cli") else "API", name, "-withoutRemotePhp" if not run_with_remote_php else "", "-k8s" if run_on_k8s else ""),
1100+
"name": "%s-%s%s%s" % ("CLI" if name.startswith("cli") else "API", name, "-withRemotePhp" if run_with_remote_php else "", "-k8s" if run_on_k8s else ""),
11031101
"platform": {
11041102
"os": "linux",
11051103
"arch": "amd64",
@@ -1363,9 +1361,7 @@ def wopiValidatorTests(ctx, storage, wopiServerType):
13631361
def coreApiTestPipeline(ctx):
13641362
pipelines = []
13651363

1366-
with_remote_php = [True]
1367-
if ctx.build.event == "cron" or "full-ci" in ctx.build.title.lower():
1368-
with_remote_php.append(False)
1364+
with_remote_php = [False]
13691365

13701366
defaults = {
13711367
"suites": {},
@@ -1400,7 +1396,7 @@ def coreApiTestPipeline(ctx):
14001396
pipeline = {
14011397
"kind": "pipeline",
14021398
"type": "docker",
1403-
"name": "Core-API-%s%s%s" % (name, "-withoutRemotePhp" if not run_with_remote_php else "", "-k8s" if run_on_k8s else ""),
1399+
"name": "Core-API-%s%s%s" % (name, "-withRemotePhp" if run_with_remote_php else "", "-k8s" if run_on_k8s else ""),
14041400
"platform": {
14051401
"os": "linux",
14061402
"arch": "amd64",

0 commit comments

Comments
 (0)