enhance: [pipeline] limit compute resource (#37888)

Signed-off-by: Yellow Shine <sammy.huang@zilliz.com>
This commit is contained in:
yellow-shine 2024-11-22 14:14:38 +08:00 committed by GitHub
parent 700a448a54
commit b48f531e63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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,