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