enhance: add standalone mode for nightly ci (#29884)

Signed-off-by: Sammy Huang <sammy.huang@zilliz.com>
pull/29895/head
sammy.huang 2024-01-11 18:06:50 +08:00 committed by GitHub
parent 797847904c
commit 27992e12dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 2 deletions

View File

@ -87,7 +87,7 @@ pipeline {
axes {
axis {
name 'MILVUS_SERVER_TYPE'
values 'standalone', 'distributed-pulsar', 'distributed-kafka', 'standalone-authentication'
values 'standalone', 'distributed-pulsar', 'distributed-kafka', 'standalone-authentication', 'standalone-one-pod'
}
axis {
name 'MILVUS_CLIENT'
@ -106,6 +106,7 @@ pipeline {
// def setMemoryResourceLimitArgs="--set standalone.resources.limits.memory=4Gi"
def mqMode='pulsar' // default using is pulsar
def authenticationEnabled = "false"
def valuesFile = "values/ci/nightly.yaml"
if ("${MILVUS_SERVER_TYPE}" == "distributed-pulsar") {
clusterEnabled = "true"
} else if ("${MILVUS_SERVER_TYPE}" == "distributed-kafka") {
@ -113,6 +114,8 @@ pipeline {
mqMode='kafka'
} else if("${MILVUS_SERVER_TYPE}" == "standalone-authentication") {
authenticationEnabled = "true"
} else if("${MILVUS_SERVER_TYPE}" == "standalone-one-pod") {
valuesFile = "values/ci/nightly-one-pod.yaml"
}
if ("${MILVUS_CLIENT}" == "pymilvus") {
if ("${imageTag}"==''){
@ -161,7 +164,7 @@ pipeline {
--set common.security.authorizationEnabled=${authenticationEnabled} \
--version ${chart_version} \
-f values/${mqMode}.yaml \
-f values/ci/nightly.yaml "
-f ${valuesFile}"
"""
}
} else {

View File

@ -0,0 +1,19 @@
cluster:
enabled: false
etcd:
enabled: false
minio:
enabled: false
tls:
enabled: false
pulsar:
enabled: false
extraConfigFiles:
user.yaml: |+
etcd:
use:
embed: true
data:
dir: /var/lib/milvus/etcd
common:
storageType: local