Skip to content

Commit

Permalink
enhance: [2.4][ci] get log from loki instead of api-server (#38197)
Browse files Browse the repository at this point in the history
#38158

---------

Signed-off-by: Yellow Shine <[email protected]>
  • Loading branch information
yellow-shine authored Dec 6, 2024
1 parent 1f8299f commit 075b62e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion ci/jenkins/Nightly2.groovy
Original file line number Diff line number Diff line change
@@ -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'

Expand Down Expand Up @@ -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 {
Expand Down
8 changes: 7 additions & 1 deletion ci/jenkins/PR.groovy
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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'
Expand Down

0 comments on commit 075b62e

Please sign in to comment.