Skip to content

Commit

Permalink
enhance: enable intergration test in idc
Browse files Browse the repository at this point in the history
Signed-off-by: Yellow Shine <[email protected]>
  • Loading branch information
yellow-shine committed Nov 11, 2024
1 parent ed23ff2 commit beb5236
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions ci/jenkins/Intergration-Test.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
@Library('[email protected]') _

def pod = libraryResource 'io/milvus/pod/tekton-4am.yaml'
def milvus_helm_chart_version = '4.2.8'

pipeline {
options {
skipDefaultCheckout true
parallelsAlwaysFailFast()
buildDiscarder logRotator(artifactDaysToKeepStr: '30')
preserveStashes(buildCount: 5)
disableConcurrentBuilds(abortPrevious: true)
}
agent {
kubernetes {
cloud '4am'
yaml pod
}
}
stages {
stage('meta') {
steps {
container('jnlp') {
script {
isPr = env.CHANGE_ID != null
gitMode = isPr ? 'merge' : 'fetch'
gitBaseRef = isPr ? "$env.CHANGE_TARGET" : "$env.BRANCH_NAME"
}
}
}
}
stage('build') {
steps {
container('tkn') {
script {
def job_name = tekton.ut arch: 'amd64',
isPr: isPr,
gitMode: gitMode ,
gitBaseRef: gitBaseRef,
pullRequestNumber: "$env.CHANGE_ID",
make_cmd: "make clean && make build-cpp-with-coverage",
test_entrypoint: "make integration-test",
codecov_report_name: "integration-test",
codecov_files: "./it_coverage.txt",
tekton_log_timeout: '30m',
tekton_pipeline_timeout: '2h'

}
}
}
post {
always {
container('tkn') {
script {
tekton.sure_stop()
}
}
}
}
}
}
}

0 comments on commit beb5236

Please sign in to comment.