mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
Update milvs helm repo for ci (#28042)
Signed-off-by: Bennu-Li <yunmei.li@zilliz.com>
This commit is contained in:
parent
3b8fbbd91d
commit
8c71e2bd64
2
.github/workflows/deploy-test.yaml
vendored
2
.github/workflows/deploy-test.yaml
vendored
@ -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
|
||||
|
2
.github/workflows/io-latency-chaos-test.yaml
vendored
2
.github/workflows/io-latency-chaos-test.yaml
vendored
@ -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
|
||||
|
2
.github/workflows/mem-stress-chaos-test.yaml
vendored
2
.github/workflows/mem-stress-chaos-test.yaml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
2
.github/workflows/pod-kill-chaos-test.yaml
vendored
2
.github/workflows/pod-kill-chaos-test.yaml
vendored
@ -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
|
||||
|
@ -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")){
|
||||
|
@ -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")){
|
||||
|
@ -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") {
|
||||
|
@ -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;"
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user