From 0f176678e383c4f81a77b0c8bd2cd0263d2dfe45 Mon Sep 17 00:00:00 2001 From: nabim777 Date: Fri, 14 Jul 2023 12:29:21 +0545 Subject: [PATCH] tika setup for CI --- .drone.star | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.drone.star b/.drone.star index 4c9f6bb3549..eb01b00041f 100644 --- a/.drone.star +++ b/.drone.star @@ -142,6 +142,13 @@ config = { "OCIS_ADD_RUN_SERVICES": "antivirus", }, }, + "apiFullTextSearch": { + "suites": [ + "apiFullTextSearch", + ], + "skip": False, + "tikaNeeded": True, + }, }, "apiTests": { "numberOfParts": 10, @@ -735,6 +742,7 @@ def localApiTestPipeline(ctx): "accounts_hash_difficulty": 4, "emailNeeded": False, "antivirusNeeded": False, + "tikaNeeded": False, } if "localApiTests" in config: @@ -755,7 +763,8 @@ def localApiTestPipeline(ctx): }, "steps": skipIfUnchanged(ctx, "acceptance-tests") + restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin") + - ocisServer(storage, params["accounts_hash_difficulty"], extra_server_environment = params["extraServerEnvironment"], with_wrapper = True) + + (tikaService() if params["tikaNeeded"] else []) + + (ocisServer(storage, params["accounts_hash_difficulty"], extra_server_environment = params["extraServerEnvironment"], with_wrapper = True, tika_enabled = True) if params["tikaNeeded"] else ocisServer(storage, params["accounts_hash_difficulty"], extra_server_environment = params["extraServerEnvironment"], with_wrapper = True)) + (waitForClamavService() if params["antivirusNeeded"] else []) + (waitForEmailService() if params["emailNeeded"] else []) + localApiTests(suite, storage, params["extraEnvironment"]),