chore: increase builder timeout to 90 minutes and pipeline timeout to 240 minutes
This commit is contained in:
parent
026340be92
commit
c3b9243c8e
@ -117,8 +117,8 @@ class ImageBuilder {
|
||||
steps.log.info("ImageBuilder", "Files in build context: ${filesInContext}")
|
||||
steps.log.info("ImageBuilder", "Set builder log level to plain...")
|
||||
steps.env.BUILDKIT_PROGRESS = "plain"
|
||||
steps.log.info("ImageBuilder", "Set builder timeout to 10min...")
|
||||
steps.env.BUILDKIT_TIMEOUT = "1800s"
|
||||
steps.log.info("ImageBuilder", "Set builder timeout to 90min...")
|
||||
steps.env.BUILDKIT_TIMEOUT = "5400s"
|
||||
steps.sh "docker buildx build --builder ${buildxBuilderName} --no-cache --platform ${architectures.join(",")} -t ${registry}/${repository}/${name}:${version} -f ${dockerfile} --push ${contextRoot}"
|
||||
steps.env.BUILD_IMAGE_REGISTRY = "${registry}"
|
||||
steps.env.BUILD_IMAGE_REPO = "${repository}"
|
||||
|
||||
@ -640,7 +640,7 @@ def call(Closure closure) {
|
||||
agent any
|
||||
options {
|
||||
buildDiscarder(logRotator(numToKeepStr: '25'))
|
||||
timeout(time: 120, unit: 'MINUTES')
|
||||
timeout(time: 240, unit: 'MINUTES')
|
||||
parallelsAlwaysFailFast()
|
||||
}
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ content:
|
||||
registry: docker.io
|
||||
repository: null
|
||||
name: content
|
||||
tag: snapshot-2a517fa
|
||||
tag: snapshot-11c52d6
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
|
||||
Loading…
Reference in New Issue
Block a user