未验证 提交 f6b6bd19 编写于 作者: Z zhuwenxing 提交者: GitHub

[skip e2e]Update etcd image for deploy and chaos test (#17232)

Signed-off-by: Nzhuwenxing <wenxing.zhu@zilliz.com>
上级 f2a27e0e
...@@ -41,6 +41,21 @@ pipeline { ...@@ -41,6 +41,21 @@ pipeline {
name: 'image_tag', name: 'image_tag',
defaultValue: 'master-latest' defaultValue: 'master-latest'
) )
string(
description: 'Etcd Image Repository',
name: 'etcd_image_repository',
defaultValue: "milvusdb/etcd"
)
string(
description: 'Etcd Image Tag',
name: 'etcd_image_tag',
defaultValue: "3.5.0-debian-10-r117"
)
string(
description: 'Query Replic Nums',
name: 'querynode_replica_nums',
defaultValue: '3'
)
string( string(
description: 'Pod Nums', description: 'Pod Nums',
name: 'pod_nums', name: 'pod_nums',
...@@ -71,6 +86,24 @@ pipeline { ...@@ -71,6 +86,24 @@ pipeline {
} }
} }
} }
stage ('Modify Milvus chart values') {
steps {
container('main') {
dir ('tests/python_client/chaos') {
script {
sh """
yq -i '.queryNode.replicas = "${params.querynode_replica_nums}"' cluster-values.yaml
yq -i '.etcd.image.repository = "${params.etcd_image_repository}"' cluster-values.yaml
yq -i '.etcd.image.tag = "${params.etcd_image_tag}"' cluster-values.yaml
yq -i '.etcd.image.repository = "${params.etcd_image_repository}"' standalone-values.yaml
yq -i '.etcd.image.tag = "${params.etcd_image_tag}"' standalone-values.yaml
cat cluster-values.yaml
"""
}
}
}
}
}
stage ('Deploy Milvus') { stage ('Deploy Milvus') {
options { options {
timeout(time: 10, unit: 'MINUTES') // timeout on this stage timeout(time: 10, unit: 'MINUTES') // timeout on this stage
......
...@@ -48,6 +48,21 @@ pipeline { ...@@ -48,6 +48,21 @@ pipeline {
name: 'new_image_tag', name: 'new_image_tag',
defaultValue: 'master-latest' defaultValue: 'master-latest'
) )
string(
description: 'Etcd Image Repository',
name: 'etcd_image_repository',
defaultValue: "milvusdb/etcd"
)
string(
description: 'Etcd Image Tag',
name: 'etcd_image_tag',
defaultValue: "3.5.0-debian-10-r117"
)
string(
description: 'Query Replic Nums',
name: 'querynode_replica_nums',
defaultValue: '3'
)
string( string(
description: 'Data Size', description: 'Data Size',
name: 'data_size', name: 'data_size',
...@@ -84,6 +99,24 @@ pipeline { ...@@ -84,6 +99,24 @@ pipeline {
} }
} }
} }
stage ('Modify Milvus chart values') {
steps {
container('main') {
dir ('tests/python_client/deploy') {
script {
sh """
yq -i '.queryNode.replicas = "${params.querynode_replica_nums}"' cluster-values.yaml
yq -i '.etcd.image.repository = "${params.etcd_image_repository}"' cluster-values.yaml
yq -i '.etcd.image.tag = "${params.etcd_image_tag}"' cluster-values.yaml
yq -i '.etcd.image.repository = "${params.etcd_image_repository}"' standalone-values.yaml
yq -i '.etcd.image.tag = "${params.etcd_image_tag}"' standalone-values.yaml
cat cluster-values.yaml
"""
}
}
}
}
}
stage ('First Milvus Deployment') { stage ('First Milvus Deployment') {
options { options {
timeout(time: 10, unit: 'MINUTES') // timeout on this stage timeout(time: 10, unit: 'MINUTES') // timeout on this stage
......
...@@ -8,6 +8,10 @@ image: ...@@ -8,6 +8,10 @@ image:
etcd: etcd:
replicaCount: 3 replicaCount: 3
image:
repository: milvusdb/etcd
tag: 3.5.0-debian-10-r117
minio: minio:
resources: resources:
requests: requests:
......
...@@ -7,6 +7,9 @@ image: ...@@ -7,6 +7,9 @@ image:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
etcd: etcd:
replicaCount: 1 replicaCount: 1
image:
repository: milvusdb/etcd
tag: 3.5.0-debian-10-r117
minio: minio:
mode: standalone mode: standalone
pulsar: pulsar:
......
...@@ -8,6 +8,10 @@ image: ...@@ -8,6 +8,10 @@ image:
etcd: etcd:
replicaCount: 3 replicaCount: 3
image:
repository: milvusdb/etcd
tag: 3.5.0-debian-10-r117
minio: minio:
resources: resources:
requests: requests:
......
...@@ -7,6 +7,9 @@ image: ...@@ -7,6 +7,9 @@ image:
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
etcd: etcd:
replicaCount: 1 replicaCount: 1
image:
repository: milvusdb/etcd
tag: 3.5.0-debian-10-r117
minio: minio:
mode: standalone mode: standalone
pulsar: pulsar:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册