提交 047f4bb4 编写于 作者: Q quicksilver

mark off faiss version

上级 1c7ac286
...@@ -50,7 +50,7 @@ pipeline { ...@@ -50,7 +50,7 @@ pipeline {
} }
stages { stages {
stage("Run GPU Version Build") { stage("Run Build") {
agent { agent {
kubernetes { kubernetes {
label "${BINRARY_VERSION}-build" label "${BINRARY_VERSION}-build"
...@@ -60,7 +60,7 @@ pipeline { ...@@ -60,7 +60,7 @@ pipeline {
} }
stages { stages {
stage('GPU Version Build') { stage('Build') {
steps { steps {
container('milvus-build-env') { container('milvus-build-env') {
script { script {
...@@ -69,7 +69,7 @@ pipeline { ...@@ -69,7 +69,7 @@ pipeline {
} }
} }
} }
stage('GPU Version Code Coverage') { stage('Code Coverage') {
steps { steps {
container('milvus-build-env') { container('milvus-build-env') {
script { script {
...@@ -78,7 +78,7 @@ pipeline { ...@@ -78,7 +78,7 @@ pipeline {
} }
} }
} }
stage('Upload GPU Version Package') { stage('Upload Package') {
steps { steps {
container('milvus-build-env') { container('milvus-build-env') {
script { script {
...@@ -90,7 +90,7 @@ pipeline { ...@@ -90,7 +90,7 @@ pipeline {
} }
} }
stage("Publish GPU Version docker images") { stage("Publish docker images") {
agent { agent {
kubernetes { kubernetes {
label "${BINRARY_VERSION}-publish" label "${BINRARY_VERSION}-publish"
...@@ -100,7 +100,7 @@ pipeline { ...@@ -100,7 +100,7 @@ pipeline {
} }
stages { stages {
stage('Publish GPU Version') { stage('Publish') {
steps { steps {
container('publish-images'){ container('publish-images'){
script { script {
...@@ -112,7 +112,7 @@ pipeline { ...@@ -112,7 +112,7 @@ pipeline {
} }
} }
stage("Deploy GPU Version to Development") { stage("Deploy to Development") {
agent { agent {
kubernetes { kubernetes {
label "${BINRARY_VERSION}-dev-test" label "${BINRARY_VERSION}-dev-test"
...@@ -122,7 +122,7 @@ pipeline { ...@@ -122,7 +122,7 @@ pipeline {
} }
stages { stages {
stage("Deploy GPU Version to Dev") { stage("Deploy to Dev") {
steps { steps {
container('milvus-test-env') { container('milvus-test-env') {
script { script {
...@@ -132,7 +132,7 @@ pipeline { ...@@ -132,7 +132,7 @@ pipeline {
} }
} }
stage("GPU Version Dev Test") { stage("Dev Test") {
steps { steps {
container('milvus-test-env') { container('milvus-test-env') {
script { script {
...@@ -147,7 +147,7 @@ pipeline { ...@@ -147,7 +147,7 @@ pipeline {
} }
} }
stage ("Cleanup GPU Version Dev") { stage ("Cleanup Dev") {
steps { steps {
container('milvus-test-env') { container('milvus-test-env') {
script { script {
...@@ -180,7 +180,7 @@ pipeline { ...@@ -180,7 +180,7 @@ pipeline {
} }
stages { stages {
stage("Run CPU Version Build") { stage("Run Build") {
agent { agent {
kubernetes { kubernetes {
label "${BINRARY_VERSION}-build" label "${BINRARY_VERSION}-build"
...@@ -190,7 +190,7 @@ pipeline { ...@@ -190,7 +190,7 @@ pipeline {
} }
stages { stages {
stage('Build CPU Version') { stage('Build') {
steps { steps {
container('milvus-build-env') { container('milvus-build-env') {
script { script {
...@@ -199,7 +199,7 @@ pipeline { ...@@ -199,7 +199,7 @@ pipeline {
} }
} }
} }
stage('CPU Version Code Coverage') { stage('Code Coverage') {
steps { steps {
container('milvus-build-env') { container('milvus-build-env') {
script { script {
...@@ -208,7 +208,7 @@ pipeline { ...@@ -208,7 +208,7 @@ pipeline {
} }
} }
} }
stage('Upload CPU Version Package') { stage('Upload Package') {
steps { steps {
container('milvus-build-env') { container('milvus-build-env') {
script { script {
...@@ -220,7 +220,7 @@ pipeline { ...@@ -220,7 +220,7 @@ pipeline {
} }
} }
stage("Publish CPU Version docker images") { stage("Publish docker images") {
agent { agent {
kubernetes { kubernetes {
label "${BINRARY_VERSION}-publish" label "${BINRARY_VERSION}-publish"
...@@ -230,7 +230,7 @@ pipeline { ...@@ -230,7 +230,7 @@ pipeline {
} }
stages { stages {
stage('Publish CPU Version') { stage('Publish') {
steps { steps {
container('publish-images'){ container('publish-images'){
script { script {
...@@ -242,7 +242,7 @@ pipeline { ...@@ -242,7 +242,7 @@ pipeline {
} }
} }
stage("Deploy CPU Version to Development") { stage("Deploy to Development") {
agent { agent {
kubernetes { kubernetes {
label "${BINRARY_VERSION}-dev-test" label "${BINRARY_VERSION}-dev-test"
...@@ -252,7 +252,7 @@ pipeline { ...@@ -252,7 +252,7 @@ pipeline {
} }
stages { stages {
stage("Deploy CPU Version to Dev") { stage("Deploy to Dev") {
steps { steps {
container('milvus-test-env') { container('milvus-test-env') {
script { script {
...@@ -262,7 +262,7 @@ pipeline { ...@@ -262,7 +262,7 @@ pipeline {
} }
} }
stage("CPU Version Dev Test") { stage("Dev Test") {
steps { steps {
container('milvus-test-env') { container('milvus-test-env') {
script { script {
...@@ -277,7 +277,7 @@ pipeline { ...@@ -277,7 +277,7 @@ pipeline {
} }
} }
stage ("Cleanup CPU Version Dev") { stage ("Cleanup Dev") {
steps { steps {
container('milvus-test-env') { container('milvus-test-env') {
script { script {
......
...@@ -733,7 +733,16 @@ macro(build_faiss) ...@@ -733,7 +733,16 @@ macro(build_faiss)
if (USE_JFROG_CACHE STREQUAL "ON") if (USE_JFROG_CACHE STREQUAL "ON")
string(MD5 FAISS_COMBINE_MD5 "${FAISS_MD5}${LAPACK_MD5}${OPENBLAS_MD5}") string(MD5 FAISS_COMBINE_MD5 "${FAISS_MD5}${LAPACK_MD5}${OPENBLAS_MD5}")
set(FAISS_CACHE_PACKAGE_NAME "faiss_${FAISS_COMBINE_MD5}.tar.gz") if (KNOWHERE_GPU_VERSION)
set(FAISS_COMPUTE_TYPE "gpu")
else ()
set(FAISS_COMPUTE_TYPE "cpu")
endif()
if (FAISS_WITH_MKL)
set(FAISS_CACHE_PACKAGE_NAME "faiss_${FAISS_COMPUTE_TYPE}_mkl_${FAISS_COMBINE_MD5}.tar.gz")
else ()
set(FAISS_CACHE_PACKAGE_NAME "faiss_${FAISS_COMPUTE_TYPE}_openblas_${FAISS_COMBINE_MD5}.tar.gz")
endif()
set(FAISS_CACHE_URL "${JFROG_ARTFACTORY_CACHE_URL}/${FAISS_CACHE_PACKAGE_NAME}") set(FAISS_CACHE_URL "${JFROG_ARTFACTORY_CACHE_URL}/${FAISS_CACHE_PACKAGE_NAME}")
set(FAISS_CACHE_PACKAGE_PATH "${THIRDPARTY_PACKAGE_CACHE}/${FAISS_CACHE_PACKAGE_NAME}") set(FAISS_CACHE_PACKAGE_PATH "${THIRDPARTY_PACKAGE_CACHE}/${FAISS_CACHE_PACKAGE_NAME}")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册