ci: Elaborate causes for job retries
authorDaniel Stone <daniels@collabora.com>
Thu, 18 May 2023 14:32:35 +0000 (15:32 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 14 Jun 2023 17:39:29 +0000 (17:39 +0000)
commit47991a094ed19d91c2bdef5a1a060623ab9ea95d
tree938ae7d77147b4402252f484c781bd6ca1691e2b
parent5ef4e1c4c05ed4dc4a7499aee6ed5e573434e228
ci: Elaborate causes for job retries

Rather than always retrying, only retry jobs on a limited set of causes.
This notably excludes retries when a job is stuck due to lack of runners
to schedule it; if we can't get a slot on a runner in time, there's no
reason to try again, since our window of opportunity has gone.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23108>
.gitlab-ci.yml