ci: Set timeouts on various stages

Most of our stages take just a single minute to complete, while the standard
timeout on gitlab CI is 60 minutes.

Set a 5 minute timeout on quick stages, and a 30 minute timeout on the image
build step to ensure we fail fast and don't tie up CI resources.

Signed-off-by: Kenny Levinsen <kl@kl.wtf>
dev
Kenny Levinsen 4 years ago committed by Daniel Stone
parent 640682115e
commit 700ede50ef
  1. 4
      .gitlab-ci.yml

@ -27,6 +27,7 @@ container_prep:
extends:
- .debian
- .fdo.container-build@debian
timeout: 30m
stage: container_prep
@ -34,6 +35,7 @@ container_prep:
extends:
- .debian
- .fdo.distribution-image@debian
timeout: 5m
stage: build
before_script:
- git clone --depth=1 https://gitlab.freedesktop.org/wayland/wayland-protocols
@ -136,6 +138,7 @@ build-native-meson-no-gl-renderer:
docs-and-coverage:
stage: pages
timeout: 5m
script:
- mv prefix-weston-build-docs/share/doc/weston Documentation
- mv build-weston-build-native-meson-default-options/meson-logs/coveragereport Test_Coverage
@ -154,6 +157,7 @@ docs-and-coverage:
pages:
stage: pages
timeout: 5m
dependencies:
- build-docs
script:

Loading…
Cancel
Save