mirror of https://github.com/milvus-io/milvus.git
enhance: [ci]get log from loki instead of api-server (#38158)
Signed-off-by: Yellow Shine <sammy.huang@zilliz.com>pull/38112/head
parent
5768dbbb5d
commit
34d71289e5
|
@ -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 pod = libraryResource 'io/milvus/pod/tekton-4am.yaml'
|
||||||
|
|
||||||
|
@ -25,6 +25,10 @@ pipeline {
|
||||||
yaml pod
|
yaml pod
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
environment {
|
||||||
|
LOKI_ADDR = 'http://loki-1-loki-distributed-gateway.loki.svc.cluster.local'
|
||||||
|
LOKI_CLIENT_RETRIES = 3
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('meta') {
|
stage('meta') {
|
||||||
steps {
|
steps {
|
||||||
|
|
|
@ -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 pod = libraryResource 'io/milvus/pod/tekton-4am.yaml'
|
||||||
def milvus_helm_chart_version = '4.2.8'
|
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 {
|
agent {
|
||||||
kubernetes {
|
kubernetes {
|
||||||
cloud '4am'
|
cloud '4am'
|
||||||
|
@ -50,7 +56,7 @@ pipeline {
|
||||||
gitBaseRef: gitBaseRef,
|
gitBaseRef: gitBaseRef,
|
||||||
pullRequestNumber: "$env.CHANGE_ID",
|
pullRequestNumber: "$env.CHANGE_ID",
|
||||||
suppress_suffix_of_image_tag: true,
|
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"]'
|
images: '["milvus","pytest","helm"]'
|
||||||
|
|
||||||
milvus_image_tag = tekton.query_result job_name, 'milvus-image-tag'
|
milvus_image_tag = tekton.query_result job_name, 'milvus-image-tag'
|
||||||
|
|
|
@ -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 pod = libraryResource 'io/milvus/pod/tekton-4am.yaml'
|
||||||
def milvus_helm_chart_version = '4.2.8'
|
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 {
|
agent {
|
||||||
kubernetes {
|
kubernetes {
|
||||||
cloud '4am'
|
cloud '4am'
|
||||||
|
|
Loading…
Reference in New Issue