Add helm proxy (#18449)

Signed-off-by: Jenny Li <jing.li@zilliz.com>
pull/18330/head
Jenny Li 2022-07-29 10:34:31 +08:00 committed by GitHub
parent a2e24ab412
commit b63c203f3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 8 deletions

View File

@ -113,6 +113,7 @@ pipeline {
withCredentials([usernamePassword(credentialsId: "${env.CI_DOCKER_CREDENTIAL_ID}", usernameVariable: 'CI_REGISTRY_USERNAME', passwordVariable: 'CI_REGISTRY_PASSWORD')]){
sh """
MILVUS_CLUSTER_ENABLED=${clusterEnabled} \
MILVUS_HELM_REPO="http://nexus-nexus-repository-manager.nexus:8081/repository/milvus-proxy" \
TAG=${imageTag}\
./e2e-k8s.sh \
--skip-export-logs \

View File

@ -23,7 +23,7 @@
set -x
MILVUS_HELM_REPO="https://github.com/milvus-io/milvus-helm.git"
MILVUS_HELM_REPO="${MILVUS_HELM_REPO:-https://milvus-io.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}"
@ -54,15 +54,9 @@ if [[ -n "${DISABLE_KIND:-}" ]]; then
MILVUS_SERVICE_TYPE="ClusterIP"
fi
# Get Milvus Chart from git
# if [[ ! -d "${MILVUS_HELM_CHART_PATH:-}" ]]; then
# TMP_DIR="$(mktemp -d)"
# git clone --depth=1 -b "${MILVUS_HELM_BRANCH:-master}" "${MILVUS_HELM_REPO}" "${TMP_DIR}"
# MILVUS_HELM_CHART_PATH="${TMP_DIR}/charts/milvus"
# fi
# Use helm repo to install milvus charts
helm repo add milvus https://milvus-io.github.io/milvus-helm/
helm repo add milvus ${MILVUS_HELM_REPO}
helm repo update
MILVUS_HELM_CHART_PATH="milvus/milvus"