ci: limit build jobs to 30min so that they can retry when they go wrong
Build jobs should never take more than 1-3 minutes. These jobs are never slow, either they finish within reasonable time or something has gone wrong and the job will never terminate, so we should instead timeout and retry. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24995>
This commit is contained in:

committed by
Marge Bot

parent
33ca3a999c
commit
2009b9b5e2
@@ -3,6 +3,14 @@
|
||||
extends: .build-rules
|
||||
# Cancel job if a newer commit is pushed to the same branch
|
||||
interruptible: true
|
||||
# Build jobs don't take more than 1-3 minutes. 5-8 min max on a fresh runner
|
||||
# without a populated ccache.
|
||||
# These jobs are never slow, either they finish within reasonable time or
|
||||
# something has gone wrong and the job will never terminate, so we should
|
||||
# instead timeout so that the retry mechanism can kick in.
|
||||
# A few exception are made, see `timeout:` overrides in the rest of this
|
||||
# file.
|
||||
timeout: 30m
|
||||
artifacts:
|
||||
name: "mesa_${CI_JOB_NAME}"
|
||||
when: always
|
||||
|
Reference in New Issue
Block a user