Update milvs helm repo for ci (#28042)

Signed-off-by: Bennu-Li <yunmei.li@zilliz.com>
This commit is contained in:
Bennu 2023-11-01 18:54:16 +08:00 committed by GitHub
parent 3b8fbbd91d
commit 8c71e2bd64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 20 additions and 20 deletions

View File

@ -289,7 +289,7 @@ jobs:
shell: bash
working-directory: tests/python_client/deploy
run: |
helm repo add milvus https://milvus-io.github.io/milvus-helm
helm repo add milvus https://zilliztech.github.io/milvus-helm
helm repo update
# if the task is reinstall, install milvus with latest image in repo milvusdb/milvus

View File

@ -64,7 +64,7 @@ jobs:
run: |
echo "latest tag:"
bash ../../../scripts/docker_image_find_tag.sh -n milvusdb/milvus -t master-latest -f master- -F -L -q
helm repo add milvus https://milvus-io.github.io/milvus-helm
helm repo add milvus https://zilliztech.github.io/milvus-helm
helm repo update
if [[ ${{ matrix.pod }} != *"standalone"* ]]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus -f cluster-values.yaml -n=chaos-testing; fi
if [[ ${{ matrix.pod }} == *"standalone"* ]]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus -f standalone-values.yaml -n=chaos-testing; fi

View File

@ -64,7 +64,7 @@ jobs:
run: |
echo "latest tag:"
bash ../../../scripts/docker_image_find_tag.sh -n milvusdb/milvus -t master-latest -f master- -F -L -q
helm repo add milvus https://milvus-io.github.io/milvus-helm
helm repo add milvus https://zilliztech.github.io/milvus-helm
helm repo update
if [[ ${{ matrix.pod }} != *"standalone"* ]]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus -f cluster-values.yaml -n=chaos-testing; fi
if [[ ${{ matrix.pod }} == *"standalone"* ]]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus -f standalone-values.yaml -n=chaos-testing; fi

View File

@ -64,7 +64,7 @@ jobs:
run: |
echo "latest tag:"
bash ../../../scripts/docker_image_find_tag.sh -n milvusdb/milvus -t master-latest -f master- -F -L -q
helm repo add milvus https://milvus-io.github.io/milvus-helm
helm repo add milvus https://zilliztech.github.io/milvus-helm
helm repo update
if [[ ${{ matrix.pod }} != *"standalone"* ]]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus -f cluster-values.yaml -n=chaos-testing; fi
if [[ ${{ matrix.pod }} == *"standalone"* ]]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus -f standalone-values.yaml -n=chaos-testing; fi

View File

@ -55,7 +55,7 @@ jobs:
- name: Deploy Milvus
shell: bash
run: |
helm repo add milvus https://milvus-io.github.io/milvus-helm
helm repo add milvus https://zilliztech.github.io/milvus-helm
helm repo update
# install milvus with latest image
helm install --wait --timeout 360s chaos-testing milvus/milvus --set cluster.enabled=true --set image.all.repository=milvusdb/milvus --set image.all.tag=master-latest -n=chaos-testing

View File

@ -82,7 +82,7 @@ jobs:
echo "latest tag:"
bash ../../../scripts/docker_image_find_tag.sh -n milvusdb/milvus -t master-latest -f master- -F -L -q
declare -A pod_map=( ["querynode"]="queryNode" ["indexnode"]="indexNode" ["datanode"]="dataNode" ["proxy"]="proxy")
helm repo add milvus https://milvus-io.github.io/milvus-helm
helm repo add milvus https://zilliztech.github.io/milvus-helm
helm repo update
helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus --set image.all.repository=${{ env.IMAGE_REPO }} --set image.all.tag=${{ env.IMAGE_TAG }} --set ${pod_map[${{ matrix.pod }}]}.replicas=2 -f cluster-values.yaml -n=chaos-testing
kubectl get pods -n chaos-testing

View File

@ -81,7 +81,7 @@ jobs:
run: |
echo "latest tag:"
bash ../../../scripts/docker_image_find_tag.sh -n milvusdb/milvus -t master-latest -f master- -F -L -q
helm repo add milvus https://milvus-io.github.io/milvus-helm
helm repo add milvus https://zilliztech.github.io/milvus-helm
helm repo update
if [[ ${{ matrix.pod }} != *"standalone"* ]]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus --set pulsar.enabled=false --set kafka.enabled=true --set image.all.repository=${{ env.IMAGE_REPO }} --set image.all.tag=${{ env.IMAGE_TAG }} -f cluster-values.yaml -n=chaos-testing; fi
if [[ ${{ matrix.pod }} == *"standalone"* ]]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus --set pulsar.enabled=false --set kafka.enabled=true --set image.all.repository=${{ env.IMAGE_REPO }} --set image.all.tag=${{ env.IMAGE_TAG }} -f standalone-values.yaml -n=chaos-testing; fi

View File

@ -81,7 +81,7 @@ jobs:
run: |
echo "latest tag:"
bash ../../../scripts/docker_image_find_tag.sh -n milvusdb/milvus -t master-latest -f master- -F -L -q
helm repo add milvus https://milvus-io.github.io/milvus-helm
helm repo add milvus https://zilliztech.github.io/milvus-helm
helm repo update
if [[ ${{ matrix.pod }} != *"standalone"* ]]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus --set image.all.repository=${{ env.IMAGE_REPO }} --set image.all.tag=${{ env.IMAGE_TAG }} -f cluster-values.yaml -n=chaos-testing; fi
if [[ ${{ matrix.pod }} == *"standalone"* ]]; then helm install --wait --timeout 720s ${{ env.RELEASE }} milvus/milvus --set image.all.repository=${{ env.IMAGE_REPO }} --set image.all.tag=${{ env.IMAGE_TAG }} -f standalone-values.yaml -n=chaos-testing; fi

View File

@ -138,7 +138,7 @@ pipeline {
}
sh "echo ${image_tag_modified}"
sh "echo ${params.chaos_type}"
sh "helm repo add milvus https://milvus-io.github.io/milvus-helm"
sh "helm repo add milvus https://zilliztech.github.io/milvus-helm"
sh "helm repo update"
def pod_name = "${params.pod_name}"
if (pod_name.contains("standalone")){

View File

@ -140,7 +140,7 @@ pipeline {
}
sh "echo ${image_tag_modified}"
sh "echo ${params.chaos_type}"
sh "helm repo add milvus https://milvus-io.github.io/milvus-helm"
sh "helm repo add milvus https://zilliztech.github.io/milvus-helm"
sh "helm repo update"
def pod_name = "${params.pod_name}"
if (pod_name.contains("standalone")){

View File

@ -182,7 +182,7 @@ pipeline {
old_image_repository_modified = "${params.old_image_repository}"
}
sh "helm repo add milvus https://milvus-io.github.io/milvus-helm"
sh "helm repo add milvus https://zilliztech.github.io/milvus-helm"
sh "helm repo update"
if ("${params.deploy_task}" == "upgrade"){
if ("${params.milvus_mode}" == "standalone") {

View File

@ -194,7 +194,7 @@ pipeline {
old_image_repository_modified = "${params.old_image_repository}"
}
sh "helm repo add milvus https://milvus-io.github.io/milvus-helm"
sh "helm repo add milvus https://zilliztech.github.io/milvus-helm"
sh "helm repo update"
if ("${params.milvus_mode}" == "standalone") {
sh "helm install --wait --timeout 720s ${env.RELEASE_NAME} milvus/milvus --set image.all.repository=${old_image_repository_modified} --set image.all.tag=${old_image_tag_modified} -f standalone-values.yaml;"

View File

@ -4,7 +4,7 @@ int total_timeout_minutes = 60 * 5
int e2e_timeout_seconds = 120 * 60
def imageTag=''
int case_timeout_seconds = 20 * 60
def chart_version='4.0.6'
def chart_version='4.1.8'
pipeline {
options {
timestamps()

View File

@ -4,7 +4,7 @@ int total_timeout_minutes = 60 * 5
int e2e_timeout_seconds = 70 * 60
def imageTag=''
int case_timeout_seconds = 10 * 60
def chart_version='4.0.6'
def chart_version='4.1.8'
pipeline {
options {
timestamps()

View File

@ -36,7 +36,7 @@ $ python3 save_image.py --manifest docker-compose.yml
#### If you install Milvus with **Helm**, use these commands:
#### 1. Update Helm repo
```shell
$ helm repo add milvus https://milvus-io.github.io/milvus-helm/
$ helm repo add milvus https://zilliztech.github.io/milvus-helm/
$ helm repo update
```

View File

@ -4,7 +4,7 @@ milvus_mode=${2:-"cluster"}
ns=${3:-"chaos-testing"}
bash uninstall_milvus.sh ${release} ${ns}|| true
helm repo add milvus https://milvus-io.github.io/milvus-helm/
helm repo add milvus https://zilliztech.github.io/milvus-helm/
helm repo update
if [[ ${milvus_mode} == "cluster" ]];
then

View File

@ -4,7 +4,7 @@ milvus_mode=${2:-"cluster"}
ns=${3:-"chaos-testing"}
bash uninstall_milvus.sh ${release} ${ns}|| true
helm repo add milvus https://milvus-io.github.io/milvus-helm/
helm repo add milvus https://zilliztech.github.io/milvus-helm/
helm repo update
if [[ ${milvus_mode} == "cluster" ]];
then

View File

@ -23,7 +23,7 @@
set -x
MILVUS_HELM_REPO="${MILVUS_HELM_REPO:-https://milvus-io.github.io/milvus-helm/}"
MILVUS_HELM_REPO="${MILVUS_HELM_REPO:-https://zilliztech.github.io/milvus-helm/}"
MILVUS_HELM_RELEASE_NAME="${MILVUS_HELM_RELEASE_NAME:-milvus-testing}"
MILVUS_CLUSTER_ENABLED="${MILVUS_CLUSTER_ENABLED:-false}"
MILVUS_IMAGE_REPO="${MILVUS_IMAGE_REPO:-milvusdb/milvus}"
@ -56,9 +56,9 @@ fi
# Use helm repo to install milvus charts
helm repo add milvus ${MILVUS_HELM_REPO}
helm repo add zilliztech ${MILVUS_HELM_REPO}
helm repo update
MILVUS_HELM_CHART_PATH="milvus/milvus"
MILVUS_HELM_CHART_PATH="zilliztech/milvus"
# Create namespace when it does not exist
kubectl create namespace "${MILVUS_HELM_NAMESPACE}" > /dev/null 2>&1 || true