Skip to content

Commit

Permalink
Merge pull request #7545 from owncloud/addConfigFilePathInDronePipeline
Browse files Browse the repository at this point in the history
[Full-ci] [tests-only] Add config file path in drone pipeline
  • Loading branch information
phil-davis authored Aug 31, 2022
2 parents fde5bea + 137b69e commit 768c687
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ config = {
},
"extraEnvironment": {
"EXPECTED_FAILURES_FILE": "%s/tests/acceptance/expected-failures-with-oc10-server-oauth2-login.md" % dir["web"],
"WEB_UI_CONFIG": "%s/dist/config.json" % dir["web"],
},
"screenShots": True,
},
Expand All @@ -186,7 +185,6 @@ config = {
},
"extraEnvironment": {
"EXPECTED_FAILURES_FILE": "%s/tests/acceptance/expected-failures-with-oc10-server-oauth2-login.md" % dir["web"],
"WEB_UI_CONFIG": "%s/dist/config.json" % dir["web"],
},
"screenShots": True,
"retry": False,
Expand All @@ -202,7 +200,6 @@ config = {
},
"extraEnvironment": {
"EXPECTED_FAILURES_FILE": "%s/tests/acceptance/expected-failures-with-oc10-server-oauth2-login.md" % dir["web"],
"WEB_UI_CONFIG": "%s/dist/config.json" % dir["web"],
},
"screenShots": True,
"notificationsAppNeeded": True,
Expand Down Expand Up @@ -2409,6 +2406,7 @@ def runWebuiAcceptanceTests(ctx, suite, alternateSuiteName, filterTags, extraEnv
environment["COMMENTS_FILE"] = "/var/www/owncloud/web/comments.file"
environment["MIDDLEWARE_HOST"] = "http://middleware:3000"
environment["REMOTE_UPLOAD_DIR"] = "/usr/src/app/filesForUpload"
environment["WEB_UI_CONFIG"] = "%s/dist/config.json" % dir["web"]

for env in extraEnvironment:
environment[env] = extraEnvironment[env]
Expand Down

0 comments on commit 768c687

Please sign in to comment.