mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
[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:
parent
001567640e
commit
632e124247
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user