diff --git a/.drone.star b/.drone.star index 32386cbf105..a62882a3a7d 100644 --- a/.drone.star +++ b/.drone.star @@ -174,7 +174,7 @@ config = { ], "tikaNeeded": True, "skip": False, - "k8s": False, + "k8s": True, }, "sharingNg1": { "suites": [ @@ -3918,6 +3918,8 @@ def tikaServiceK8s(): "type": "docker", "image": OC_CI_ALPINE, "commands": [ + "until test -f %s/ocis-charts/charts/ocis/templates/search/deployment.yaml; do sleep 1s; done" % dirs["base"], "cp -r %s/tests/config/drone/k8s/tika %s/ocis-charts/charts/ocis/templates/" % (dirs["base"], dirs["base"]), + "sed -i '/^[[:space:]]*storagesystem:/i\\\\ search:\\\n extractor:\\\n type: \"tika\"\\\n tika:\\\n url: \"http://tika:9998\"\\\n persistence:\\\n enabled: true\\\n accessModes:\\\n - ReadWriteOnce' %s/tests/config/drone/k8s/values.yaml" % dirs["base"], ], }] diff --git a/tests/acceptance/features/apiSearchContent/contentSearch.feature b/tests/acceptance/features/apiSearchContent/contentSearch.feature index e9220223e14..f45aea5a7ad 100644 --- a/tests/acceptance/features/apiSearchContent/contentSearch.feature +++ b/tests/acceptance/features/apiSearchContent/contentSearch.feature @@ -67,7 +67,7 @@ Feature: content search @env-config Scenario Outline: search files by stop words when clean_stop_words is disabled Given using DAV path - And the config "SEARCH_EXTRACTOR_TIKA_CLEAN_STOP_WORDS" has been set to "false" + And the config "SEARCH_EXTRACTOR_TIKA_CLEAN_STOP_WORDS" has been set to "false" for "search" service And user "Alice" has uploaded file with content "He has expirience, we must to have, I have to find ...." to "fileWithStopWords.txt" When user "Alice" searches for 'Content:"he has"' using the WebDAV API Then the HTTP status code should be "207"