未验证 提交 c37f5f11 编写于 作者: W wt 提交者: GitHub

[skip ci] Add new func of benchmark (#11094)

Signed-off-by: Nwangting0128 <ting.wang@zilliz.com>
上级 99677d3c
......@@ -41,6 +41,19 @@ def get_tags(url, token):
return []
def get_master_tags(tags_list):
_list = []
if not isinstance(tags_list, list):
print("tags_list is not a list.")
return _list
for tag in tags_list:
if "master" in tag and tag != "master-latest":
_list.append(tag)
return _list
def parse_server_tag(server_tag):
""" paser server tag from server config"""
# tag format: "8c"/"8c16m"/"8c16m1g"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册