From e09270a163555c630879a4d193f21e345cb599ce Mon Sep 17 00:00:00 2001 From: dolpher Date: Wed, 16 Oct 2024 12:08:48 +0800 Subject: [PATCH] Refactor CI scripts to support more components (#473) Signed-off-by: Dolpher Du --- helm-charts/CI.md | 25 +++++++++++++++++++ helm-charts/chatqna/ci-gaudi-values.yaml | 1 + .../chatqna/ci-guardrails-gaudi-values.yaml | 1 + helm-charts/chatqna/ci-guardrails-values.yaml | 1 + helm-charts/chatqna/ci-values.yaml | 1 + helm-charts/codegen/ci-gaudi-values.yaml | 1 + helm-charts/codegen/ci-values.yaml | 1 + helm-charts/codetrans/ci-gaudi-values.yaml | 1 + helm-charts/codetrans/ci-values.yaml | 1 + helm-charts/common/asr/Chart.yaml | 2 +- helm-charts/common/asr/README.md | 2 +- helm-charts/common/asr/ci-values.yaml | 9 +++++++ helm-charts/common/asr/values.yaml | 2 +- .../common/chathistory-usvc/Chart.yaml | 2 +- helm-charts/common/chathistory-usvc/README.md | 2 +- .../common/chathistory-usvc/ci-values.yaml | 9 +++++++ .../common/chathistory-usvc/values.yaml | 2 +- helm-charts/common/data-prep/Chart.yaml | 4 +-- helm-charts/common/data-prep/README.md | 3 ++- helm-charts/common/data-prep/ci-values.yaml | 11 ++++++++ helm-charts/common/data-prep/values.yaml | 4 ++- helm-charts/common/embedding-usvc/Chart.yaml | 2 +- helm-charts/common/embedding-usvc/README.md | 2 +- .../common/embedding-usvc/ci-values.yaml | 9 +++++++ helm-charts/common/embedding-usvc/values.yaml | 2 +- helm-charts/common/guardrails-usvc/Chart.yaml | 2 +- helm-charts/common/guardrails-usvc/README.md | 2 +- .../common/guardrails-usvc/ci-values.yaml | 9 +++++++ .../common/guardrails-usvc/values.yaml | 2 +- helm-charts/common/llm-uservice/Chart.yaml | 2 +- helm-charts/common/llm-uservice/README.md | 2 +- ...csum-values.yaml => ci-docsum-values.yaml} | 2 ++ ...qgen-values.yaml => ci-faqgen-values.yaml} | 1 + .../common/llm-uservice/ci-values.yaml | 9 +++++++ helm-charts/common/llm-uservice/values.yaml | 2 +- helm-charts/common/mongodb/ci-values.yaml | 1 + helm-charts/common/prompt-usvc/Chart.yaml | 2 +- helm-charts/common/prompt-usvc/README.md | 2 +- helm-charts/common/prompt-usvc/ci-values.yaml | 9 +++++++ helm-charts/common/prompt-usvc/values.yaml | 2 +- .../common/redis-vector-db/ci-values.yaml | 1 + helm-charts/common/reranking-usvc/Chart.yaml | 2 +- helm-charts/common/reranking-usvc/README.md | 2 +- .../common/reranking-usvc/ci-values.yaml | 9 +++++++ helm-charts/common/reranking-usvc/values.yaml | 2 +- helm-charts/common/retriever-usvc/Chart.yaml | 4 +-- helm-charts/common/retriever-usvc/README.md | 2 +- .../common/retriever-usvc/ci-values.yaml | 11 ++++++++ helm-charts/common/retriever-usvc/values.yaml | 4 ++- .../common/speecht5/ci-gaudi-values.yaml | 1 + helm-charts/common/speecht5/ci-values.yaml | 1 + helm-charts/common/tei/ci-gaudi-values.yaml | 1 + helm-charts/common/tei/ci-values.yaml | 1 + helm-charts/common/teirerank/ci-values.yaml | 1 + helm-charts/common/tgi/ci-gaudi-values.yaml | 1 + helm-charts/common/tgi/ci-values.yaml | 1 + helm-charts/common/tts/Chart.yaml | 2 +- helm-charts/common/tts/README.md | 2 +- helm-charts/common/tts/ci-values.yaml | 9 +++++++ helm-charts/common/tts/values.yaml | 2 +- helm-charts/common/ui/ci-values.yaml | 1 + helm-charts/common/vllm/ci-gaudi-values.yaml | 1 + helm-charts/common/vllm/ci-values.yaml | 1 + helm-charts/common/web-retriever/Chart.yaml | 2 +- helm-charts/common/web-retriever/README.md | 2 +- .../common/web-retriever/ci-values.yaml | 9 +++++++ helm-charts/common/web-retriever/values.yaml | 2 +- helm-charts/common/whisper/ci-values.yaml | 1 + helm-charts/docsum/ci-gaudi-values.yaml | 1 + helm-charts/docsum/ci-values.yaml | 1 + 70 files changed, 194 insertions(+), 35 deletions(-) create mode 100644 helm-charts/CI.md create mode 120000 helm-charts/chatqna/ci-gaudi-values.yaml create mode 120000 helm-charts/chatqna/ci-guardrails-gaudi-values.yaml create mode 120000 helm-charts/chatqna/ci-guardrails-values.yaml create mode 120000 helm-charts/chatqna/ci-values.yaml create mode 120000 helm-charts/codegen/ci-gaudi-values.yaml create mode 120000 helm-charts/codegen/ci-values.yaml create mode 120000 helm-charts/codetrans/ci-gaudi-values.yaml create mode 120000 helm-charts/codetrans/ci-values.yaml create mode 100644 helm-charts/common/asr/ci-values.yaml create mode 100644 helm-charts/common/chathistory-usvc/ci-values.yaml create mode 100644 helm-charts/common/data-prep/ci-values.yaml create mode 100644 helm-charts/common/embedding-usvc/ci-values.yaml create mode 100644 helm-charts/common/guardrails-usvc/ci-values.yaml rename helm-charts/common/llm-uservice/{variant_docsum-values.yaml => ci-docsum-values.yaml} (86%) rename helm-charts/common/llm-uservice/{variant_faqgen-values.yaml => ci-faqgen-values.yaml} (92%) create mode 100644 helm-charts/common/llm-uservice/ci-values.yaml create mode 120000 helm-charts/common/mongodb/ci-values.yaml create mode 100644 helm-charts/common/prompt-usvc/ci-values.yaml create mode 120000 helm-charts/common/redis-vector-db/ci-values.yaml create mode 100644 helm-charts/common/reranking-usvc/ci-values.yaml create mode 100644 helm-charts/common/retriever-usvc/ci-values.yaml create mode 120000 helm-charts/common/speecht5/ci-gaudi-values.yaml create mode 120000 helm-charts/common/speecht5/ci-values.yaml create mode 120000 helm-charts/common/tei/ci-gaudi-values.yaml create mode 120000 helm-charts/common/tei/ci-values.yaml create mode 120000 helm-charts/common/teirerank/ci-values.yaml create mode 120000 helm-charts/common/tgi/ci-gaudi-values.yaml create mode 120000 helm-charts/common/tgi/ci-values.yaml create mode 100644 helm-charts/common/tts/ci-values.yaml create mode 120000 helm-charts/common/ui/ci-values.yaml create mode 120000 helm-charts/common/vllm/ci-gaudi-values.yaml create mode 120000 helm-charts/common/vllm/ci-values.yaml create mode 100644 helm-charts/common/web-retriever/ci-values.yaml create mode 120000 helm-charts/common/whisper/ci-values.yaml create mode 120000 helm-charts/docsum/ci-gaudi-values.yaml create mode 120000 helm-charts/docsum/ci-values.yaml diff --git a/helm-charts/CI.md b/helm-charts/CI.md new file mode 100644 index 000000000..f74e8196c --- /dev/null +++ b/helm-charts/CI.md @@ -0,0 +1,25 @@ +# CI guidelines for helm charts + +## Table of Contents + +- [Infra Setup](#infra-setup) +- [Add new test case](#add-new-test-case) + +## Infra Setup + +Helm charts are organized as: +1). E2E examples are directly located under helm-charts/ directory +2). Charts for components are located under helm-charts/common directory. + +We have Xeon servers with Gaudi accelerator card, which covers CPU and Gaudi accelerated workloads. For coverage of other configurations/features, it's case by case. + +CI tests values files which names are listed in `ci-*values.yaml` files. + +## Add new test case + +Add a new values file following the naming rules: `ci-*values.yaml`. +If the values file for CI is identical to another one, a symbolic link can be used. + +See following files for the test scripts: +https://github.com/opea-project/GenAIInfra/blob/main/.github/workflows/pr-chart-e2e.yaml +https://github.com/opea-project/GenAIInfra/blob/main/.github/workflows/_helm-e2e.yaml diff --git a/helm-charts/chatqna/ci-gaudi-values.yaml b/helm-charts/chatqna/ci-gaudi-values.yaml new file mode 120000 index 000000000..7243d31b2 --- /dev/null +++ b/helm-charts/chatqna/ci-gaudi-values.yaml @@ -0,0 +1 @@ +gaudi-values.yaml \ No newline at end of file diff --git a/helm-charts/chatqna/ci-guardrails-gaudi-values.yaml b/helm-charts/chatqna/ci-guardrails-gaudi-values.yaml new file mode 120000 index 000000000..088821006 --- /dev/null +++ b/helm-charts/chatqna/ci-guardrails-gaudi-values.yaml @@ -0,0 +1 @@ +guardrails-gaudi-values.yaml \ No newline at end of file diff --git a/helm-charts/chatqna/ci-guardrails-values.yaml b/helm-charts/chatqna/ci-guardrails-values.yaml new file mode 120000 index 000000000..ce9ef80e3 --- /dev/null +++ b/helm-charts/chatqna/ci-guardrails-values.yaml @@ -0,0 +1 @@ +guardrails-values.yaml \ No newline at end of file diff --git a/helm-charts/chatqna/ci-values.yaml b/helm-charts/chatqna/ci-values.yaml new file mode 120000 index 000000000..7d1010096 --- /dev/null +++ b/helm-charts/chatqna/ci-values.yaml @@ -0,0 +1 @@ +values.yaml \ No newline at end of file diff --git a/helm-charts/codegen/ci-gaudi-values.yaml b/helm-charts/codegen/ci-gaudi-values.yaml new file mode 120000 index 000000000..7243d31b2 --- /dev/null +++ b/helm-charts/codegen/ci-gaudi-values.yaml @@ -0,0 +1 @@ +gaudi-values.yaml \ No newline at end of file diff --git a/helm-charts/codegen/ci-values.yaml b/helm-charts/codegen/ci-values.yaml new file mode 120000 index 000000000..7d1010096 --- /dev/null +++ b/helm-charts/codegen/ci-values.yaml @@ -0,0 +1 @@ +values.yaml \ No newline at end of file diff --git a/helm-charts/codetrans/ci-gaudi-values.yaml b/helm-charts/codetrans/ci-gaudi-values.yaml new file mode 120000 index 000000000..7243d31b2 --- /dev/null +++ b/helm-charts/codetrans/ci-gaudi-values.yaml @@ -0,0 +1 @@ +gaudi-values.yaml \ No newline at end of file diff --git a/helm-charts/codetrans/ci-values.yaml b/helm-charts/codetrans/ci-values.yaml new file mode 120000 index 000000000..7d1010096 --- /dev/null +++ b/helm-charts/codetrans/ci-values.yaml @@ -0,0 +1 @@ +values.yaml \ No newline at end of file diff --git a/helm-charts/common/asr/Chart.yaml b/helm-charts/common/asr/Chart.yaml index 4cce9d6e1..eb3b63601 100644 --- a/helm-charts/common/asr/Chart.yaml +++ b/helm-charts/common/asr/Chart.yaml @@ -12,4 +12,4 @@ dependencies: - name: whisper version: 1.0.0 repository: file://../whisper - condition: autodependency.enabled + condition: whisper.enabled diff --git a/helm-charts/common/asr/README.md b/helm-charts/common/asr/README.md index 92de693b2..a0c131936 100644 --- a/helm-charts/common/asr/README.md +++ b/helm-charts/common/asr/README.md @@ -24,7 +24,7 @@ helm install asr . --set ASR_ENDPOINT=${ASR_ENDPOINT} ```console cd GenAIInfra/helm-charts/common/asr helm dependency update -helm install asr . --set autodependency.enabled=true +helm install asr . --set whisper.enabled=true ``` ## Verify diff --git a/helm-charts/common/asr/ci-values.yaml b/helm-charts/common/asr/ci-values.yaml new file mode 100644 index 000000000..b0f302d8b --- /dev/null +++ b/helm-charts/common/asr/ci-values.yaml @@ -0,0 +1,9 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +# Default values for asr. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +whisper: + enabled: true diff --git a/helm-charts/common/asr/values.yaml b/helm-charts/common/asr/values.yaml index 02f7ceea6..7ffc6cc37 100644 --- a/helm-charts/common/asr/values.yaml +++ b/helm-charts/common/asr/values.yaml @@ -5,7 +5,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -autodependency: +whisper: enabled: false replicaCount: 1 diff --git a/helm-charts/common/chathistory-usvc/Chart.yaml b/helm-charts/common/chathistory-usvc/Chart.yaml index 476eec7c1..07c804605 100644 --- a/helm-charts/common/chathistory-usvc/Chart.yaml +++ b/helm-charts/common/chathistory-usvc/Chart.yaml @@ -12,4 +12,4 @@ dependencies: - name: mongodb version: 1.0.0 repository: file://../mongodb - condition: autodependency.enabled + condition: mongodb.enabled diff --git a/helm-charts/common/chathistory-usvc/README.md b/helm-charts/common/chathistory-usvc/README.md index a11092050..171e3b93c 100644 --- a/helm-charts/common/chathistory-usvc/README.md +++ b/helm-charts/common/chathistory-usvc/README.md @@ -25,7 +25,7 @@ helm install chathistory-usvc . --set MONGO_HOST=${MONGO_HOST} --set MONGO_PORT= ```console cd GenAIInfra/helm-charts/common/chathistory-usvc helm dependency update -helm install chathistory-usvc . --set autodependency.enabled=true +helm install chathistory-usvc . --set mongodb.enabled=true ``` ## Verify diff --git a/helm-charts/common/chathistory-usvc/ci-values.yaml b/helm-charts/common/chathistory-usvc/ci-values.yaml new file mode 100644 index 000000000..b2ce309f3 --- /dev/null +++ b/helm-charts/common/chathistory-usvc/ci-values.yaml @@ -0,0 +1,9 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +# Default values for chathistory-usvc. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +mongodb: + enabled: true diff --git a/helm-charts/common/chathistory-usvc/values.yaml b/helm-charts/common/chathistory-usvc/values.yaml index a022ccf7a..79f1577c9 100644 --- a/helm-charts/common/chathistory-usvc/values.yaml +++ b/helm-charts/common/chathistory-usvc/values.yaml @@ -5,7 +5,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -autodependency: +mongodb: enabled: false replicaCount: 1 diff --git a/helm-charts/common/data-prep/Chart.yaml b/helm-charts/common/data-prep/Chart.yaml index a001cda9a..7ffb1cad7 100644 --- a/helm-charts/common/data-prep/Chart.yaml +++ b/helm-charts/common/data-prep/Chart.yaml @@ -12,8 +12,8 @@ dependencies: - name: tei version: 1.0.0 repository: file://../tei - condition: autodependency.enabled + condition: tei.enabled - name: redis-vector-db version: 1.0.0 repository: file://../redis-vector-db - condition: autodependency.enabled + condition: redis-vector-db.enabled diff --git a/helm-charts/common/data-prep/README.md b/helm-charts/common/data-prep/README.md index 62f3258be..e0f2728dd 100644 --- a/helm-charts/common/data-prep/README.md +++ b/helm-charts/common/data-prep/README.md @@ -25,7 +25,8 @@ helm install data-prep . --set REDIS_URL=${REDIS_URL} --set TEI_EMBEDDING_ENDPOI ```console cd GenAIInfra/helm-charts/common/data-prep helm dependency update -helm install data-prep . --set autodependency.enabled=true +helm install data-prep . --set redis-vector-db.enabled=true --set tei.enabled=true + ``` ## Verify diff --git a/helm-charts/common/data-prep/ci-values.yaml b/helm-charts/common/data-prep/ci-values.yaml new file mode 100644 index 000000000..af81823db --- /dev/null +++ b/helm-charts/common/data-prep/ci-values.yaml @@ -0,0 +1,11 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +# Default values for data-prep. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +tei: + enabled: true +redis-vector-db: + enabled: true diff --git a/helm-charts/common/data-prep/values.yaml b/helm-charts/common/data-prep/values.yaml index a18b68f2e..bf4dded1b 100644 --- a/helm-charts/common/data-prep/values.yaml +++ b/helm-charts/common/data-prep/values.yaml @@ -5,7 +5,9 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -autodependency: +tei: + enabled: false +redis-vector-db: enabled: false replicaCount: 1 diff --git a/helm-charts/common/embedding-usvc/Chart.yaml b/helm-charts/common/embedding-usvc/Chart.yaml index 4738a13ba..5ed230eae 100644 --- a/helm-charts/common/embedding-usvc/Chart.yaml +++ b/helm-charts/common/embedding-usvc/Chart.yaml @@ -12,4 +12,4 @@ dependencies: - name: tei version: 1.0.0 repository: file://../tei - condition: autodependency.enabled + condition: tei.enabled diff --git a/helm-charts/common/embedding-usvc/README.md b/helm-charts/common/embedding-usvc/README.md index bc00b1d59..75377ed11 100644 --- a/helm-charts/common/embedding-usvc/README.md +++ b/helm-charts/common/embedding-usvc/README.md @@ -24,7 +24,7 @@ helm install embedding-usvc . --set TEI_EMBEDDING_ENDPOINT=${TEI_EMBEDDING_ENDPO ```console cd GenAIInfra/helm-charts/common/embedding-usvc helm dependency update -helm install embedding-usvc . --set autodependency.enabled=true +helm install embedding-usvc . --set tei.enabled=true ``` ## Verify diff --git a/helm-charts/common/embedding-usvc/ci-values.yaml b/helm-charts/common/embedding-usvc/ci-values.yaml new file mode 100644 index 000000000..543c69570 --- /dev/null +++ b/helm-charts/common/embedding-usvc/ci-values.yaml @@ -0,0 +1,9 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +# Default values for embedding-usvc. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +tei: + enabled: true diff --git a/helm-charts/common/embedding-usvc/values.yaml b/helm-charts/common/embedding-usvc/values.yaml index dfab98260..5423433e5 100644 --- a/helm-charts/common/embedding-usvc/values.yaml +++ b/helm-charts/common/embedding-usvc/values.yaml @@ -5,7 +5,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -autodependency: +tei: enabled: false replicaCount: 1 diff --git a/helm-charts/common/guardrails-usvc/Chart.yaml b/helm-charts/common/guardrails-usvc/Chart.yaml index 86a4f27fe..7eafca68d 100644 --- a/helm-charts/common/guardrails-usvc/Chart.yaml +++ b/helm-charts/common/guardrails-usvc/Chart.yaml @@ -11,4 +11,4 @@ dependencies: - name: tgi version: 1.0.0 repository: file://../tgi - condition: autodependency.enabled + condition: tgi.enabled diff --git a/helm-charts/common/guardrails-usvc/README.md b/helm-charts/common/guardrails-usvc/README.md index 3e7f5dc43..0cf3b5656 100644 --- a/helm-charts/common/guardrails-usvc/README.md +++ b/helm-charts/common/guardrails-usvc/README.md @@ -27,7 +27,7 @@ helm install guardrails-usvc . --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} cd GenAIInfra/helm-charts/common/guardrails-usvc export HFTOKEN="insert-your-huggingface-token-here" helm dependency update -helm install guardrails-usvc . --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --set autodependency.enabled=true --wait +helm install guardrails-usvc . --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --set tgi.enabled=true --wait ``` ## Verify diff --git a/helm-charts/common/guardrails-usvc/ci-values.yaml b/helm-charts/common/guardrails-usvc/ci-values.yaml new file mode 100644 index 000000000..344c8ea08 --- /dev/null +++ b/helm-charts/common/guardrails-usvc/ci-values.yaml @@ -0,0 +1,9 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +# Default values for guardrails-usvc. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +tgi: + enabled: true diff --git a/helm-charts/common/guardrails-usvc/values.yaml b/helm-charts/common/guardrails-usvc/values.yaml index 314791e11..40870f5c3 100644 --- a/helm-charts/common/guardrails-usvc/values.yaml +++ b/helm-charts/common/guardrails-usvc/values.yaml @@ -5,7 +5,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -autodependency: +tgi: enabled: false replicaCount: 1 diff --git a/helm-charts/common/llm-uservice/Chart.yaml b/helm-charts/common/llm-uservice/Chart.yaml index 77a780614..8039c98de 100644 --- a/helm-charts/common/llm-uservice/Chart.yaml +++ b/helm-charts/common/llm-uservice/Chart.yaml @@ -12,4 +12,4 @@ dependencies: - name: tgi version: 1.0.0 repository: file://../tgi - condition: autodependency.enabled + condition: tgi.enabled diff --git a/helm-charts/common/llm-uservice/README.md b/helm-charts/common/llm-uservice/README.md index d9069d34e..0f2337852 100644 --- a/helm-charts/common/llm-uservice/README.md +++ b/helm-charts/common/llm-uservice/README.md @@ -26,7 +26,7 @@ helm install llm-uservice . --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --s cd GenAIInfra/helm-charts/common/llm-uservice export HFTOKEN="insert-your-huggingface-token-here" helm dependency update -helm install llm-uservice . --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --set autodependency.enabled=true --wait +helm install llm-uservice . --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --set tgi.enabled=true --wait ``` ## Verify diff --git a/helm-charts/common/llm-uservice/variant_docsum-values.yaml b/helm-charts/common/llm-uservice/ci-docsum-values.yaml similarity index 86% rename from helm-charts/common/llm-uservice/variant_docsum-values.yaml rename to helm-charts/common/llm-uservice/ci-docsum-values.yaml index 9e1f33bde..b9f269c5a 100644 --- a/helm-charts/common/llm-uservice/variant_docsum-values.yaml +++ b/helm-charts/common/llm-uservice/ci-docsum-values.yaml @@ -4,3 +4,5 @@ image: repository: opea/llm-docsum-tgi tag: "latest" +tgi: + enabled: true diff --git a/helm-charts/common/llm-uservice/variant_faqgen-values.yaml b/helm-charts/common/llm-uservice/ci-faqgen-values.yaml similarity index 92% rename from helm-charts/common/llm-uservice/variant_faqgen-values.yaml rename to helm-charts/common/llm-uservice/ci-faqgen-values.yaml index 4e51fdd1d..f7f3f5a55 100644 --- a/helm-charts/common/llm-uservice/variant_faqgen-values.yaml +++ b/helm-charts/common/llm-uservice/ci-faqgen-values.yaml @@ -6,4 +6,5 @@ image: tag: "latest" tgi: + enabled: true LLM_MODEL_ID: meta-llama/Meta-Llama-3-8B-Instruct diff --git a/helm-charts/common/llm-uservice/ci-values.yaml b/helm-charts/common/llm-uservice/ci-values.yaml new file mode 100644 index 000000000..88eef5b4a --- /dev/null +++ b/helm-charts/common/llm-uservice/ci-values.yaml @@ -0,0 +1,9 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +# Default values for llm-uservice. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +tgi: + enabled: true diff --git a/helm-charts/common/llm-uservice/values.yaml b/helm-charts/common/llm-uservice/values.yaml index 39b10894d..6a2af0bbb 100644 --- a/helm-charts/common/llm-uservice/values.yaml +++ b/helm-charts/common/llm-uservice/values.yaml @@ -5,7 +5,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -autodependency: +tgi: enabled: false replicaCount: 1 diff --git a/helm-charts/common/mongodb/ci-values.yaml b/helm-charts/common/mongodb/ci-values.yaml new file mode 120000 index 000000000..7d1010096 --- /dev/null +++ b/helm-charts/common/mongodb/ci-values.yaml @@ -0,0 +1 @@ +values.yaml \ No newline at end of file diff --git a/helm-charts/common/prompt-usvc/Chart.yaml b/helm-charts/common/prompt-usvc/Chart.yaml index ff2410a00..a322a9cbd 100644 --- a/helm-charts/common/prompt-usvc/Chart.yaml +++ b/helm-charts/common/prompt-usvc/Chart.yaml @@ -12,4 +12,4 @@ dependencies: - name: mongodb version: 1.0.0 repository: file://../mongodb - condition: autodependency.enabled + condition: mongodb.enabled diff --git a/helm-charts/common/prompt-usvc/README.md b/helm-charts/common/prompt-usvc/README.md index 1b1567e57..38b240ed1 100644 --- a/helm-charts/common/prompt-usvc/README.md +++ b/helm-charts/common/prompt-usvc/README.md @@ -25,7 +25,7 @@ helm install prompt-usvc . --set MONGO_HOST=${MONGO_HOST} --set MONGO_PORT=${MON ```console cd GenAIInfra/helm-charts/common/prompt-usvc helm dependency update -helm install prompt-usvc . --set autodependency.enabled=true +helm install prompt-usvc . --set mongodb.enabled=true ``` ## Verify diff --git a/helm-charts/common/prompt-usvc/ci-values.yaml b/helm-charts/common/prompt-usvc/ci-values.yaml new file mode 100644 index 000000000..1e0d5c386 --- /dev/null +++ b/helm-charts/common/prompt-usvc/ci-values.yaml @@ -0,0 +1,9 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +# Default values for prompt-usvc. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +mongodb: + enabled: true diff --git a/helm-charts/common/prompt-usvc/values.yaml b/helm-charts/common/prompt-usvc/values.yaml index e3623ca5e..0c53c5f84 100644 --- a/helm-charts/common/prompt-usvc/values.yaml +++ b/helm-charts/common/prompt-usvc/values.yaml @@ -5,7 +5,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -autodependency: +mongodb: enabled: false replicaCount: 1 diff --git a/helm-charts/common/redis-vector-db/ci-values.yaml b/helm-charts/common/redis-vector-db/ci-values.yaml new file mode 120000 index 000000000..7d1010096 --- /dev/null +++ b/helm-charts/common/redis-vector-db/ci-values.yaml @@ -0,0 +1 @@ +values.yaml \ No newline at end of file diff --git a/helm-charts/common/reranking-usvc/Chart.yaml b/helm-charts/common/reranking-usvc/Chart.yaml index e781a609f..06c2dd7fe 100644 --- a/helm-charts/common/reranking-usvc/Chart.yaml +++ b/helm-charts/common/reranking-usvc/Chart.yaml @@ -12,4 +12,4 @@ dependencies: - name: teirerank version: 1.0.0 repository: file://../teirerank - condition: autodependency.enabled + condition: teirerank.enabled diff --git a/helm-charts/common/reranking-usvc/README.md b/helm-charts/common/reranking-usvc/README.md index c30d95f60..2c6adb141 100644 --- a/helm-charts/common/reranking-usvc/README.md +++ b/helm-charts/common/reranking-usvc/README.md @@ -24,7 +24,7 @@ helm install reranking-usvc . --set TEI_RERANKING_ENDPOINT=${TEI_RERANKING_ENDPO ```console cd GenAIInfra/helm-charts/common/reranking-usvc helm dependency update -helm install reranking-usvc . --set autodependency.enabled=true +helm install reranking-usvc . --set teirerank.enabled=true ``` ## Verify diff --git a/helm-charts/common/reranking-usvc/ci-values.yaml b/helm-charts/common/reranking-usvc/ci-values.yaml new file mode 100644 index 000000000..1118483f4 --- /dev/null +++ b/helm-charts/common/reranking-usvc/ci-values.yaml @@ -0,0 +1,9 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +# Default values for reranking-usvc. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +teirerank: + enabled: true diff --git a/helm-charts/common/reranking-usvc/values.yaml b/helm-charts/common/reranking-usvc/values.yaml index 56454d11b..6014bc0f1 100644 --- a/helm-charts/common/reranking-usvc/values.yaml +++ b/helm-charts/common/reranking-usvc/values.yaml @@ -5,7 +5,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -autodependency: +teirerank: enabled: false replicaCount: 1 diff --git a/helm-charts/common/retriever-usvc/Chart.yaml b/helm-charts/common/retriever-usvc/Chart.yaml index 020eb26c2..19cd293eb 100644 --- a/helm-charts/common/retriever-usvc/Chart.yaml +++ b/helm-charts/common/retriever-usvc/Chart.yaml @@ -12,8 +12,8 @@ dependencies: - name: tei version: 1.0.0 repository: file://../tei - condition: autodependency.enabled + condition: tei.enabled - name: redis-vector-db version: 1.0.0 repository: file://../redis-vector-db - condition: autodependency.enabled + condition: redis-vector-db.enabled diff --git a/helm-charts/common/retriever-usvc/README.md b/helm-charts/common/retriever-usvc/README.md index bb1aca667..6b16defd0 100644 --- a/helm-charts/common/retriever-usvc/README.md +++ b/helm-charts/common/retriever-usvc/README.md @@ -25,7 +25,7 @@ helm install retriever-usvc . --set REDIS_URL=${REDIS_URL} --set TEI_EMBEDDING_E ```console cd GenAIInfra/helm-charts/common/retriever-usvc helm dependency update -helm install retriever-usvc . --set autodependency.enabled=true +helm install retriever-usvc . --set tei.enabled=true --set redis-vector-db.enabled=true ``` ## Verify diff --git a/helm-charts/common/retriever-usvc/ci-values.yaml b/helm-charts/common/retriever-usvc/ci-values.yaml new file mode 100644 index 000000000..a4a9288c1 --- /dev/null +++ b/helm-charts/common/retriever-usvc/ci-values.yaml @@ -0,0 +1,11 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +# Default values for retriever-usvc. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +tei: + enabled: false +redis-vector-db: + enabled: false diff --git a/helm-charts/common/retriever-usvc/values.yaml b/helm-charts/common/retriever-usvc/values.yaml index 19157edd2..7a411bca5 100644 --- a/helm-charts/common/retriever-usvc/values.yaml +++ b/helm-charts/common/retriever-usvc/values.yaml @@ -5,7 +5,9 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -autodependency: +tei: + enabled: false +redis-vector-db: enabled: false replicaCount: 1 diff --git a/helm-charts/common/speecht5/ci-gaudi-values.yaml b/helm-charts/common/speecht5/ci-gaudi-values.yaml new file mode 120000 index 000000000..7243d31b2 --- /dev/null +++ b/helm-charts/common/speecht5/ci-gaudi-values.yaml @@ -0,0 +1 @@ +gaudi-values.yaml \ No newline at end of file diff --git a/helm-charts/common/speecht5/ci-values.yaml b/helm-charts/common/speecht5/ci-values.yaml new file mode 120000 index 000000000..7d1010096 --- /dev/null +++ b/helm-charts/common/speecht5/ci-values.yaml @@ -0,0 +1 @@ +values.yaml \ No newline at end of file diff --git a/helm-charts/common/tei/ci-gaudi-values.yaml b/helm-charts/common/tei/ci-gaudi-values.yaml new file mode 120000 index 000000000..7243d31b2 --- /dev/null +++ b/helm-charts/common/tei/ci-gaudi-values.yaml @@ -0,0 +1 @@ +gaudi-values.yaml \ No newline at end of file diff --git a/helm-charts/common/tei/ci-values.yaml b/helm-charts/common/tei/ci-values.yaml new file mode 120000 index 000000000..7d1010096 --- /dev/null +++ b/helm-charts/common/tei/ci-values.yaml @@ -0,0 +1 @@ +values.yaml \ No newline at end of file diff --git a/helm-charts/common/teirerank/ci-values.yaml b/helm-charts/common/teirerank/ci-values.yaml new file mode 120000 index 000000000..7d1010096 --- /dev/null +++ b/helm-charts/common/teirerank/ci-values.yaml @@ -0,0 +1 @@ +values.yaml \ No newline at end of file diff --git a/helm-charts/common/tgi/ci-gaudi-values.yaml b/helm-charts/common/tgi/ci-gaudi-values.yaml new file mode 120000 index 000000000..7243d31b2 --- /dev/null +++ b/helm-charts/common/tgi/ci-gaudi-values.yaml @@ -0,0 +1 @@ +gaudi-values.yaml \ No newline at end of file diff --git a/helm-charts/common/tgi/ci-values.yaml b/helm-charts/common/tgi/ci-values.yaml new file mode 120000 index 000000000..7d1010096 --- /dev/null +++ b/helm-charts/common/tgi/ci-values.yaml @@ -0,0 +1 @@ +values.yaml \ No newline at end of file diff --git a/helm-charts/common/tts/Chart.yaml b/helm-charts/common/tts/Chart.yaml index b82cf8db3..aad0cd30d 100644 --- a/helm-charts/common/tts/Chart.yaml +++ b/helm-charts/common/tts/Chart.yaml @@ -13,4 +13,4 @@ dependencies: - name: speecht5 version: 1.0.0 repository: file://../speecht5 - condition: autodependency.enabled + condition: speecht5.enabled diff --git a/helm-charts/common/tts/README.md b/helm-charts/common/tts/README.md index e436c8d20..24f3c6cfd 100644 --- a/helm-charts/common/tts/README.md +++ b/helm-charts/common/tts/README.md @@ -24,7 +24,7 @@ helm install tts . --set TTS_ENDPOINT=${TTS_ENDPOINT} ```console cd GenAIInfra/helm-charts/common/tts helm dependency update -helm install tts . --set autodependency.enabled=true +helm install tts . --set speecht5.enabled=true ``` ## Verify diff --git a/helm-charts/common/tts/ci-values.yaml b/helm-charts/common/tts/ci-values.yaml new file mode 100644 index 000000000..8eda0bf5b --- /dev/null +++ b/helm-charts/common/tts/ci-values.yaml @@ -0,0 +1,9 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +# Default values for tts. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +speecht5: + enabled: true diff --git a/helm-charts/common/tts/values.yaml b/helm-charts/common/tts/values.yaml index a37c42a93..364cda445 100644 --- a/helm-charts/common/tts/values.yaml +++ b/helm-charts/common/tts/values.yaml @@ -5,7 +5,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -autodependency: +speecht5: enabled: false replicaCount: 1 diff --git a/helm-charts/common/ui/ci-values.yaml b/helm-charts/common/ui/ci-values.yaml new file mode 120000 index 000000000..7d1010096 --- /dev/null +++ b/helm-charts/common/ui/ci-values.yaml @@ -0,0 +1 @@ +values.yaml \ No newline at end of file diff --git a/helm-charts/common/vllm/ci-gaudi-values.yaml b/helm-charts/common/vllm/ci-gaudi-values.yaml new file mode 120000 index 000000000..7243d31b2 --- /dev/null +++ b/helm-charts/common/vllm/ci-gaudi-values.yaml @@ -0,0 +1 @@ +gaudi-values.yaml \ No newline at end of file diff --git a/helm-charts/common/vllm/ci-values.yaml b/helm-charts/common/vllm/ci-values.yaml new file mode 120000 index 000000000..7d1010096 --- /dev/null +++ b/helm-charts/common/vllm/ci-values.yaml @@ -0,0 +1 @@ +values.yaml \ No newline at end of file diff --git a/helm-charts/common/web-retriever/Chart.yaml b/helm-charts/common/web-retriever/Chart.yaml index 4bc31da09..e5a8a69ed 100644 --- a/helm-charts/common/web-retriever/Chart.yaml +++ b/helm-charts/common/web-retriever/Chart.yaml @@ -12,4 +12,4 @@ dependencies: - name: tei version: 1.0.0 repository: file://../tei - condition: autodependency.enabled + condition: tei.enabled diff --git a/helm-charts/common/web-retriever/README.md b/helm-charts/common/web-retriever/README.md index 0419e1bb5..c3aee3a5b 100644 --- a/helm-charts/common/web-retriever/README.md +++ b/helm-charts/common/web-retriever/README.md @@ -28,7 +28,7 @@ cd GenAIInfra/helm-charts/common/web-retriever helm dependency update export GOOGLE_API_KEY="yourownkey" export GOOGLE_CSE_ID="yourownid" -helm install web-retriever . --set autodependency.enabled=true --set GOOGLE_API_KEY=${GOOGLE_API_KEY} --set GOOGLE_CSE_ID=${GOOGLE_CSE_ID} +helm install web-retriever . --set tei.enabled=true --set GOOGLE_API_KEY=${GOOGLE_API_KEY} --set GOOGLE_CSE_ID=${GOOGLE_CSE_ID} ``` ## Verify diff --git a/helm-charts/common/web-retriever/ci-values.yaml b/helm-charts/common/web-retriever/ci-values.yaml new file mode 100644 index 000000000..f0940ef43 --- /dev/null +++ b/helm-charts/common/web-retriever/ci-values.yaml @@ -0,0 +1,9 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +# Default values for web-retriever. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +tei: + enabled: true diff --git a/helm-charts/common/web-retriever/values.yaml b/helm-charts/common/web-retriever/values.yaml index 5311b316f..b8be2d5f1 100644 --- a/helm-charts/common/web-retriever/values.yaml +++ b/helm-charts/common/web-retriever/values.yaml @@ -5,7 +5,7 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -autodependency: +tei: enabled: false replicaCount: 1 diff --git a/helm-charts/common/whisper/ci-values.yaml b/helm-charts/common/whisper/ci-values.yaml new file mode 120000 index 000000000..7d1010096 --- /dev/null +++ b/helm-charts/common/whisper/ci-values.yaml @@ -0,0 +1 @@ +values.yaml \ No newline at end of file diff --git a/helm-charts/docsum/ci-gaudi-values.yaml b/helm-charts/docsum/ci-gaudi-values.yaml new file mode 120000 index 000000000..7243d31b2 --- /dev/null +++ b/helm-charts/docsum/ci-gaudi-values.yaml @@ -0,0 +1 @@ +gaudi-values.yaml \ No newline at end of file diff --git a/helm-charts/docsum/ci-values.yaml b/helm-charts/docsum/ci-values.yaml new file mode 120000 index 000000000..7d1010096 --- /dev/null +++ b/helm-charts/docsum/ci-values.yaml @@ -0,0 +1 @@ +values.yaml \ No newline at end of file