diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-04-15 22:43:37 +0200 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2021-04-20 11:38:58 +0000 |
commit | 700ede50eff22bef5639e08ff3bee04373f11e21 (patch) | |
tree | d69b7d99f1a6985ab432a9c22e9774984b897d4f | |
parent | 640682115ec32a3964362cc87ce660fe67de35cb (diff) | |
download | weston-700ede50eff22bef5639e08ff3bee04373f11e21.tar.gz |
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>
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 4 insertions, 0 deletions
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: |