mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +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 {
|
stages {
|
||||||
|
stage('Publish Milvus Images & Build Centos Milvus'){
|
||||||
|
parallel {
|
||||||
stage('Publish Milvus Images') {
|
stage('Publish Milvus Images') {
|
||||||
steps {
|
steps {
|
||||||
container('main') {
|
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 {
|
post {
|
||||||
unsuccessful {
|
unsuccessful {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user