Skip to content

Commit

Permalink
ci: increase Jenkinsfile timeout for 1.10 branch
Browse files Browse the repository at this point in the history
This is a hack to work around 1.10 Jenkins jobs timing out in backport
testing due to having to download non-cached Vagrant boxes.

Full context:

We use a custom Vagrant cache to accelerate setting up Jenkins runners,
but we only cache the latest 3 stable branches and `master` because
testing is only conducted against those (or branches based off those).

There is an edge case for the overlap time where the newest stable
branch (here 1.13) exists but has not been released yet, so the oldest
stable (here 1.10) is still officially supported.

Caching an additional stable branch would increase the already long time
it takes for runners to come up, and would not be much useful given the
low volume of pipelines running against a soon-to-be deprecated branch.

Instead, we elect to allow a greater timeout on the 1.10 branch to
compensate for the additional Vagrant box download time.

Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
  • Loading branch information
nbusseneau authored and pchaigno committed Feb 3, 2023
1 parent 7e3db8e commit e76cad0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jenkinsfiles/ginkgo-gke.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pipeline {
}

options {
timeout(time: 300, unit: 'MINUTES')
timeout(time: 360, unit: 'MINUTES')
timestamps()
ansiColor('xterm')
}
Expand Down
2 changes: 1 addition & 1 deletion jenkinsfiles/ginkgo-kernel.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pipeline {
}

options {
timeout(time: 300, unit: 'MINUTES')
timeout(time: 360, unit: 'MINUTES')
timestamps()
ansiColor('xterm')
}
Expand Down
2 changes: 1 addition & 1 deletion jenkinsfiles/ginkgo-runtime-kernel.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pipeline {
}

options {
timeout(time: 300, unit: 'MINUTES')
timeout(time: 360, unit: 'MINUTES')
timestamps()
ansiColor('xterm')
}
Expand Down
2 changes: 1 addition & 1 deletion jenkinsfiles/kubernetes-upstream.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pipeline {
}

options {
timeout(time: 300, unit: 'MINUTES')
timeout(time: 360, unit: 'MINUTES')
timestamps()
ansiColor('xterm')
}
Expand Down

0 comments on commit e76cad0

Please sign in to comment.