[skip e2e]Add build centos milvus docker image into jenkins job (#15795)

Signed-off-by: Jenny Li <jing.li@zilliz.com>
This commit is contained in:
Jenny Li 2022-03-01 15:37:55 +08:00 committed by GitHub
parent 001567640e
commit 632e124247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,8 @@ pipeline {
}
stages {
stage('Publish Milvus Images & Build Centos Milvus'){
parallel {
stage('Publish Milvus Images') {
steps {
container('main') {
@ -65,6 +67,29 @@ pipeline {
}
}
}
stage('Build Centos Milvus Image'){
agent {
kubernetes {
label "milvus-centos-image"
defaultContainer 'main'
yamlFile "build/ci/jenkins/pod/rte.yaml"
customWorkspace '/home/jenkins/agent/workspace'
}
}
steps {
container('main') {
script {
sh './build/set_docker_mirror.sh'
sh "OS_NAME=centos7 build/builder.sh /bin/bash -c \"make install\""
sh "OS_NAME=centos7 build/build_image.sh "
}
}
}
}
}
}
}
post {
unsuccessful {