mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e]increase compatibility with different inputs (#24962)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
parent
46f7d903a3
commit
8d0c223726
@ -4,6 +4,8 @@ def get_chart_version(repo = "milvus/milvus", app_version="2.2.0"):
|
||||
"""
|
||||
Get helm chart version by app version
|
||||
"""
|
||||
if app_version.startswith("v"):
|
||||
app_version = app_version[1:]
|
||||
cmd = f"helm search repo {repo} -l -o json"
|
||||
result = subprocess.check_output(cmd, shell=True)
|
||||
result = json.loads(result)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user