chore: increase builder timeout to 90 minutes and pipeline timeout to 240 minutes

This commit is contained in:
freeleaps-gitops-bot 2025-09-25 11:16:26 +00:00 committed by Nicolas
parent 026340be92
commit c3b9243c8e
3 changed files with 4 additions and 4 deletions

View File

@ -117,8 +117,8 @@ class ImageBuilder {
steps.log.info("ImageBuilder", "Files in build context: ${filesInContext}") steps.log.info("ImageBuilder", "Files in build context: ${filesInContext}")
steps.log.info("ImageBuilder", "Set builder log level to plain...") steps.log.info("ImageBuilder", "Set builder log level to plain...")
steps.env.BUILDKIT_PROGRESS = "plain" steps.env.BUILDKIT_PROGRESS = "plain"
steps.log.info("ImageBuilder", "Set builder timeout to 10min...") steps.log.info("ImageBuilder", "Set builder timeout to 90min...")
steps.env.BUILDKIT_TIMEOUT = "1800s" 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.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_REGISTRY = "${registry}"
steps.env.BUILD_IMAGE_REPO = "${repository}" steps.env.BUILD_IMAGE_REPO = "${repository}"

View File

@ -640,7 +640,7 @@ def call(Closure closure) {
agent any agent any
options { options {
buildDiscarder(logRotator(numToKeepStr: '25')) buildDiscarder(logRotator(numToKeepStr: '25'))
timeout(time: 120, unit: 'MINUTES') timeout(time: 240, unit: 'MINUTES')
parallelsAlwaysFailFast() parallelsAlwaysFailFast()
} }

View File

@ -15,7 +15,7 @@ content:
registry: docker.io registry: docker.io
repository: null repository: null
name: content name: content
tag: snapshot-2a517fa tag: snapshot-11c52d6
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- name: http - name: http