diff --git a/ci/jenkins/PR-for-go-sdk.groovy b/ci/jenkins/PR-for-go-sdk.groovy index 5a7e638517..cf3cc60484 100644 --- a/ci/jenkins/PR-for-go-sdk.groovy +++ b/ci/jenkins/PR-for-go-sdk.groovy @@ -1,4 +1,4 @@ -@Library('jenkins-shared-library@v0.71.0') _ +@Library('jenkins-shared-library@tekton') _ def pod = libraryResource 'io/milvus/pod/tekton-4am.yaml' @@ -25,6 +25,10 @@ pipeline { yaml pod } } + environment { + LOKI_ADDR = 'http://loki-1-loki-distributed-gateway.loki.svc.cluster.local' + LOKI_CLIENT_RETRIES = 3 + } stages { stage('meta') { steps { diff --git a/ci/jenkins/PR.groovy b/ci/jenkins/PR.groovy index 4cd91d7c0c..42a386dff5 100644 --- a/ci/jenkins/PR.groovy +++ b/ci/jenkins/PR.groovy @@ -1,4 +1,4 @@ -@Library('jenkins-shared-library@v0.71.0') _ +@Library('jenkins-shared-library@tekton') _ def pod = libraryResource 'io/milvus/pod/tekton-4am.yaml' def milvus_helm_chart_version = '4.2.8' @@ -18,6 +18,12 @@ pipeline { ) } + + environment { + LOKI_ADDR = 'http://loki-1-loki-distributed-gateway.loki.svc.cluster.local' + LOKI_CLIENT_RETRIES = 3 + } + agent { kubernetes { cloud '4am' @@ -50,7 +56,7 @@ pipeline { gitBaseRef: gitBaseRef, pullRequestNumber: "$env.CHANGE_ID", suppress_suffix_of_image_tag: true, - make_cmd: "make clean && make install USE_ASAN=ON use_disk_index=ON", + make_cmd: 'make clean && make install USE_ASAN=ON use_disk_index=ON', images: '["milvus","pytest","helm"]' milvus_image_tag = tekton.query_result job_name, 'milvus-image-tag' diff --git a/ci/jenkins/UT-CPP.groovy b/ci/jenkins/UT-CPP.groovy index c86e6109fd..c6ca9eb5b5 100644 --- a/ci/jenkins/UT-CPP.groovy +++ b/ci/jenkins/UT-CPP.groovy @@ -1,4 +1,4 @@ -@Library('jenkins-shared-library@v0.71.0') _ +@Library('jenkins-shared-library@tekton') _ def pod = libraryResource 'io/milvus/pod/tekton-4am.yaml' def milvus_helm_chart_version = '4.2.8' @@ -19,6 +19,12 @@ pipeline { ) } + + environment { + LOKI_ADDR = 'http://loki-1-loki-distributed-gateway.loki.svc.cluster.local' + LOKI_CLIENT_RETRIES = 3 + } + agent { kubernetes { cloud '4am'