mirror of https://github.com/milvus-io/milvus.git
Add mysql to nightly (#21195)
Signed-off-by: nico <cheng.yuan@zilliz.com> Signed-off-by: nico <cheng.yuan@zilliz.com>pull/21218/head
parent
18d546e6a6
commit
b0bc36545d
|
@ -103,13 +103,17 @@ pipeline {
|
|||
script {
|
||||
sh 'printenv'
|
||||
def clusterEnabled = "false"
|
||||
def mysqlEnabled = "false"
|
||||
// def setMemoryResourceLimitArgs="--set standalone.resources.limits.memory=4Gi"
|
||||
def mqMode='pulsar' // default using is pulsar
|
||||
def mysql_architecture = "standalone"
|
||||
if ("${MILVUS_SERVER_TYPE}" == "distributed-pulsar") {
|
||||
clusterEnabled = "true"
|
||||
} else if ("${MILVUS_SERVER_TYPE}" == "distributed-kafka") {
|
||||
clusterEnabled = "true"
|
||||
mysqlEnabled = "true"
|
||||
mqMode='kafka'
|
||||
mysql_architecture = "replication"
|
||||
}
|
||||
if ("${MILVUS_CLIENT}" == "pymilvus") {
|
||||
if ("${imageTag}"==''){
|
||||
|
@ -141,6 +145,8 @@ pipeline {
|
|||
--set queryNode.replicas=2 \
|
||||
--set indexNode.replicas=2 \
|
||||
--set dataNode.replicas=2 \
|
||||
--set mysql.enabled=${mysqlEnabled} \
|
||||
--set mysql.architecture=${mysql_architecture} \
|
||||
--set dataCoordinator.gc.missingTolerance=86400 \
|
||||
--set dataCoordinator.gc.dropTolerance=86400 \
|
||||
--set indexCoordinator.gc.interval=1 \
|
||||
|
@ -156,6 +162,7 @@ pipeline {
|
|||
--set standalone.disk.enabled=true \
|
||||
--version ${chart_version} \
|
||||
-f values/${mqMode}.yaml \
|
||||
-f values/mysql.yaml \
|
||||
-f values/ci/nightly.yaml "
|
||||
"""
|
||||
}
|
||||
|
|
|
@ -174,7 +174,7 @@ mysql:
|
|||
index_build_id BIGINT,
|
||||
enable_index BOOL NOT NULL,
|
||||
create_time bigint unsigned,
|
||||
index_file_paths VARCHAR(4096),
|
||||
index_file_keys VARCHAR(4096),
|
||||
index_size BIGINT UNSIGNED,
|
||||
`version` INT UNSIGNED,
|
||||
is_deleted BOOL DEFAULT FALSE COMMENT 'as mark_deleted',
|
||||
|
|
Loading…
Reference in New Issue