From 700ede50eff22bef5639e08ff3bee04373f11e21 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Thu, 15 Apr 2021 22:43:37 +0200 Subject: 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 --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c52dca96..b2f4ddd1 100644 --- a/.gitlab-ci.yml +++ b/.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: -- cgit v1.2.1