Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
milvus
提交
c79e5a1f
milvus
项目概览
BaiXuePrincess
/
milvus
与 Fork 源项目一致
从无法访问的项目Fork
通知
7
Star
4
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
milvus
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c79e5a1f
编写于
5月 08, 2020
作者:
Z
zw
浏览文件
操作
浏览文件
下载
差异文件
filter id:-1
Signed-off-by:
N
zw
<
zw@milvus.io
>
上级
98e1d2e6
d6471e9c
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
20 addition
and
13 deletion
+20
-13
ci/jenkins/step/shardsDevNightlyTest.groovy
ci/jenkins/step/shardsDevNightlyTest.groovy
+4
-3
ci/jenkins/step/singleDevNightlyTest.groovy
ci/jenkins/step/singleDevNightlyTest.groovy
+8
-6
ci/jenkins/step/singleDevTest.groovy
ci/jenkins/step/singleDevTest.groovy
+4
-3
core/src/CMakeLists.txt
core/src/CMakeLists.txt
+4
-1
未找到文件。
ci/jenkins/step/shardsDevNightlyTest.groovy
浏览文件 @
c79e5a1f
...
@@ -8,9 +8,10 @@ timeout(time: 180, unit: 'MINUTES') {
...
@@ -8,9 +8,10 @@ timeout(time: 180, unit: 'MINUTES') {
try
{
try
{
sh
"helm install --wait --timeout 300s --set mishards.enabled=true --set persistence.enabled=true --set image.repository=registry.zilliz.com/milvus/engine --set image.tag=${DOCKER_VERSION} --set image.pullPolicy=Always --set service.type=ClusterIP -f ci/db_backend/mysql_${BINARY_VERSION}_values.yaml --namespace milvus ${env.SHARDS_HELM_RELEASE_NAME} ."
sh
"helm install --wait --timeout 300s --set mishards.enabled=true --set persistence.enabled=true --set image.repository=registry.zilliz.com/milvus/engine --set image.tag=${DOCKER_VERSION} --set image.pullPolicy=Always --set service.type=ClusterIP -f ci/db_backend/mysql_${BINARY_VERSION}_values.yaml --namespace milvus ${env.SHARDS_HELM_RELEASE_NAME} ."
}
catch
(
exc
)
{
}
catch
(
exc
)
{
sh
"helm get manifest --namespace milvus ${env.SHARDS_HELM_RELEASE_NAME} | kubectl describe -n milvus -f - && \
def
helmStatusCMD
=
"helm get manifest --namespace milvus ${env.SHARDS_HELM_RELEASE_NAME} | kubectl describe -n milvus -f - && \
kubectl logs --namespace milvus -l \"app=milvus,release=${env.SHARDS_HELM_RELEASE_NAME}\" -c milvus"
kubectl logs --namespace milvus -l \"app=milvus,release=${env.SHARDS_HELM_RELEASE_NAME}\" -c milvus && \
def
helmResult
=
sh
script:
"helm status -n milvus ${env.SHARDS_HELM_RELEASE_NAME}"
,
returnStatus:
true
helm status -n milvus ${env.SHARDS_HELM_RELEASE_NAME}"
def
helmResult
=
sh
script:
helmStatusCMD
,
returnStatus:
true
if
(!
helmResult
)
{
if
(!
helmResult
)
{
sh
"helm uninstall -n milvus ${env.SHARDS_HELM_RELEASE_NAME} || sleep 1m"
sh
"helm uninstall -n milvus ${env.SHARDS_HELM_RELEASE_NAME} || sleep 1m"
}
}
...
...
ci/jenkins/step/singleDevNightlyTest.groovy
浏览文件 @
c79e5a1f
...
@@ -8,9 +8,10 @@ timeout(time: 180, unit: 'MINUTES') {
...
@@ -8,9 +8,10 @@ timeout(time: 180, unit: 'MINUTES') {
try
{
try
{
sh
"helm install --wait --timeout 300s --set image.repository=registry.zilliz.com/milvus/engine --set image.tag=${DOCKER_VERSION} --set image.pullPolicy=Always --set service.type=ClusterIP -f ci/db_backend/mysql_${BINARY_VERSION}_values.yaml -f ci/filebeat/values.yaml --namespace milvus ${env.HELM_RELEASE_NAME} ."
sh
"helm install --wait --timeout 300s --set image.repository=registry.zilliz.com/milvus/engine --set image.tag=${DOCKER_VERSION} --set image.pullPolicy=Always --set service.type=ClusterIP -f ci/db_backend/mysql_${BINARY_VERSION}_values.yaml -f ci/filebeat/values.yaml --namespace milvus ${env.HELM_RELEASE_NAME} ."
}
catch
(
exc
)
{
}
catch
(
exc
)
{
sh
"helm get manifest --namespace milvus ${env.HELM_RELEASE_NAME} | kubectl describe -n milvus -f - && \
def
helmStatusCMD
=
"helm get manifest --namespace milvus ${env.HELM_RELEASE_NAME} | kubectl describe -n milvus -f - && \
kubectl logs --namespace milvus -l \"app=milvus,release=${env.HELM_RELEASE_NAME}\" -c milvus"
kubectl logs --namespace milvus -l \"app=milvus,release=${env.HELM_RELEASE_NAME}\" -c milvus && \
def
helmResult
=
sh
script:
"helm status -n milvus ${env.HELM_RELEASE_NAME}"
,
returnStatus:
true
helm status -n milvus ${env.HELM_RELEASE_NAME}"
def
helmResult
=
sh
script:
helmStatusCMD
,
returnStatus:
true
if
(!
helmResult
)
{
if
(!
helmResult
)
{
sh
"helm uninstall -n milvus ${env.HELM_RELEASE_NAME} || sleep 1m"
sh
"helm uninstall -n milvus ${env.HELM_RELEASE_NAME} || sleep 1m"
}
}
...
@@ -37,9 +38,10 @@ timeout(time: 180, unit: 'MINUTES') {
...
@@ -37,9 +38,10 @@ timeout(time: 180, unit: 'MINUTES') {
try
{
try
{
sh
"helm install --wait --timeout 300s --set image.repository=registry.zilliz.com/milvus/engine --set image.tag=${DOCKER_VERSION} --set image.pullPolicy=Always --set service.type=ClusterIP -f ci/db_backend/sqlite_${BINARY_VERSION}_values.yaml -f ci/filebeat/values.yaml --namespace milvus ${env.HELM_RELEASE_NAME} ."
sh
"helm install --wait --timeout 300s --set image.repository=registry.zilliz.com/milvus/engine --set image.tag=${DOCKER_VERSION} --set image.pullPolicy=Always --set service.type=ClusterIP -f ci/db_backend/sqlite_${BINARY_VERSION}_values.yaml -f ci/filebeat/values.yaml --namespace milvus ${env.HELM_RELEASE_NAME} ."
}
catch
(
exc
)
{
}
catch
(
exc
)
{
sh
"helm get manifest --namespace milvus ${env.HELM_RELEASE_NAME} | kubectl describe -n milvus -f - && \
def
helmStatusCMD
=
"helm get manifest --namespace milvus ${env.HELM_RELEASE_NAME} | kubectl describe -n milvus -f - && \
kubectl logs --namespace milvus -l \"app=milvus,release=${env.HELM_RELEASE_NAME}\" -c milvus"
kubectl logs --namespace milvus -l \"app=milvus,release=${env.HELM_RELEASE_NAME}\" -c milvus && \
def
helmResult
=
sh
script:
"helm status -n milvus ${env.HELM_RELEASE_NAME}"
,
returnStatus:
true
helm status -n milvus ${env.HELM_RELEASE_NAME}"
def
helmResult
=
sh
script:
helmStatusCMD
,
returnStatus:
true
if
(!
helmResult
)
{
if
(!
helmResult
)
{
sh
"helm uninstall -n milvus ${env.HELM_RELEASE_NAME} || sleep 1m"
sh
"helm uninstall -n milvus ${env.HELM_RELEASE_NAME} || sleep 1m"
}
}
...
...
ci/jenkins/step/singleDevTest.groovy
浏览文件 @
c79e5a1f
...
@@ -8,9 +8,10 @@ timeout(time: 120, unit: 'MINUTES') {
...
@@ -8,9 +8,10 @@ timeout(time: 120, unit: 'MINUTES') {
try
{
try
{
sh
"helm install --wait --timeout 300s --set image.repository=registry.zilliz.com/milvus/engine --set image.tag=${DOCKER_VERSION} --set image.pullPolicy=Always --set service.type=ClusterIP -f ci/db_backend/mysql_${BINARY_VERSION}_values.yaml -f ci/filebeat/values.yaml --namespace milvus ${env.HELM_RELEASE_NAME} ."
sh
"helm install --wait --timeout 300s --set image.repository=registry.zilliz.com/milvus/engine --set image.tag=${DOCKER_VERSION} --set image.pullPolicy=Always --set service.type=ClusterIP -f ci/db_backend/mysql_${BINARY_VERSION}_values.yaml -f ci/filebeat/values.yaml --namespace milvus ${env.HELM_RELEASE_NAME} ."
}
catch
(
exc
)
{
}
catch
(
exc
)
{
sh
"helm get manifest --namespace milvus ${env.HELM_RELEASE_NAME} | kubectl describe -n milvus -f - && \
def
helmStatusCMD
=
"helm get manifest --namespace milvus ${env.HELM_RELEASE_NAME} | kubectl describe -n milvus -f - && \
kubectl logs --namespace milvus -l \"app=milvus,release=${env.HELM_RELEASE_NAME}\" -c milvus"
kubectl logs --namespace milvus -l \"app=milvus,release=${env.HELM_RELEASE_NAME}\" -c milvus && \
def
helmResult
=
sh
script:
"helm status -n milvus ${env.HELM_RELEASE_NAME}"
,
returnStatus:
true
helm status -n milvus ${env.HELM_RELEASE_NAME}"
def
helmResult
=
sh
script:
helmStatusCMD
,
returnStatus:
true
if
(!
helmResult
)
{
if
(!
helmResult
)
{
sh
"helm uninstall -n milvus ${env.HELM_RELEASE_NAME} || sleep 1m"
sh
"helm uninstall -n milvus ${env.HELM_RELEASE_NAME} || sleep 1m"
}
}
...
...
core/src/CMakeLists.txt
浏览文件 @
c79e5a1f
...
@@ -255,6 +255,7 @@ if (NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
...
@@ -255,6 +255,7 @@ if (NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
endif
()
endif
()
add_library
(
milvus_engine STATIC
${
engine_files
}
)
add_library
(
milvus_engine STATIC
${
engine_files
}
)
add_dependencies
(
milvus_engine fiu
)
target_link_libraries
(
milvus_engine
target_link_libraries
(
milvus_engine
knowhere
knowhere
${
third_party_libs
}
${
third_party_libs
}
...
@@ -266,6 +267,7 @@ if (MILVUS_WITH_PROMETHEUS)
...
@@ -266,6 +267,7 @@ if (MILVUS_WITH_PROMETHEUS)
else
()
else
()
add_library
(
metrics STATIC
${
metrics_files
}
)
add_library
(
metrics STATIC
${
metrics_files
}
)
endif
()
endif
()
add_dependencies
(
metrics fiu
)
set
(
metrics_lib
set
(
metrics_lib
yaml-cpp
yaml-cpp
...
@@ -280,6 +282,7 @@ endif ()
...
@@ -280,6 +282,7 @@ endif ()
target_link_libraries
(
metrics
${
metrics_lib
}
)
target_link_libraries
(
metrics
${
metrics_lib
}
)
add_library
(
tracing STATIC
${
tracing_files
}
${
thirdparty_files
}
)
add_library
(
tracing STATIC
${
tracing_files
}
${
thirdparty_files
}
)
add_dependencies
(
tracing fiu
)
set
(
tracing_lib
set
(
tracing_lib
opentracing
opentracing
opentracing_mocktracer
opentracing_mocktracer
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录