From b48f531e63041de8c9400ae82e35c2a237124985 Mon Sep 17 00:00:00 2001 From: yellow-shine Date: Fri, 22 Nov 2024 14:14:38 +0800 Subject: [PATCH] enhance: [pipeline] limit compute resource (#37888) Signed-off-by: Yellow Shine --- ci/jenkins/PR-for-go-sdk.groovy | 4 ++-- ci/jenkins/PR.groovy | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/jenkins/PR-for-go-sdk.groovy b/ci/jenkins/PR-for-go-sdk.groovy index 704d16056e..ff47e0ef78 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.67.0') _ +@Library('jenkins-shared-library@v0.70.0') _ def pod = libraryResource 'io/milvus/pod/tekton-4am.yaml' @@ -11,7 +11,7 @@ pipeline { buildDiscarder logRotator(artifactDaysToKeepStr: '30') preserveStashes(buildCount: 5) disableConcurrentBuilds(abortPrevious: true) - timeout(time: 6, unit: 'HOURS') + timeout(time: 2, unit: 'HOURS') throttleJobProperty( categories: ['go-sdk'], throttleEnabled: true, diff --git a/ci/jenkins/PR.groovy b/ci/jenkins/PR.groovy index 4bf934081b..dd6b46a49b 100644 --- a/ci/jenkins/PR.groovy +++ b/ci/jenkins/PR.groovy @@ -1,4 +1,4 @@ -@Library('jenkins-shared-library@v0.67.0') _ +@Library('jenkins-shared-library@v0.70.0') _ def pod = libraryResource 'io/milvus/pod/tekton-4am.yaml' def milvus_helm_chart_version = '4.2.8' @@ -10,7 +10,7 @@ pipeline { buildDiscarder logRotator(artifactDaysToKeepStr: '30') preserveStashes(buildCount: 5) disableConcurrentBuilds(abortPrevious: true) - timeout(time: 6, unit: 'HOURS') + timeout(time: 3, unit: 'HOURS') throttleJobProperty( categories: ['cpu-e2e'], throttleEnabled: true,