test: run search2 pipeline over k8s

This commit is contained in:
Niraj Acharya
2025-12-04 15:54:57 +05:45
parent 449abfbb18
commit 2248f0865b
2 changed files with 4 additions and 2 deletions

View File

@@ -174,7 +174,7 @@ config = {
],
"tikaNeeded": True,
"skip": False,
"k8s": False,
"k8s": True,
},
"sharingNg1": {
"suites": [
@@ -3915,6 +3915,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"],
],
}]