enhance: [2.4][ci] get log from loki instead of api-server (#38197)

https://github.com/milvus-io/milvus/pull/38158

---------

Signed-off-by: Yellow Shine <sammy.huang@zilliz.com>
pull/38266/head
yellow-shine 2024-12-06 09:56:40 +08:00 committed by GitHub
parent 1f8299f3b2
commit 075b62e6e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 2 deletions

View File

@ -1,4 +1,4 @@
@Library('jenkins-shared-library@v0.67.0') _
@Library('jenkins-shared-library@tekton') _
def pod = libraryResource 'io/milvus/pod/tekton-4am.yaml'
@ -29,6 +29,12 @@ pipeline {
yaml pod
}
}
environment {
LOKI_ADDR = 'http://loki-1-loki-distributed-gateway.loki.svc.cluster.local'
LOKI_CLIENT_RETRIES = 3
}
stages {
stage('meta') {
steps {

View File

@ -1,4 +1,4 @@
@Library('jenkins-shared-library@v0.70.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'