.gitlab-ci.yml: specify explicit job timeouts
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Dec 2020 15:40:43 +0000 (16:40 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 13 Apr 2021 08:23:35 +0000 (08:23 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
.gitlab-ci.yml

index 92a49c63fcbc2b15ecc35a8f853b6382301ed58a..8aea3766ba913a8b848f7bacfdaac53a052316ac 100644 (file)
@@ -64,6 +64,7 @@ include:
   # All Samba jobs are interruptible, this avoids burning CPU when a
   # newer branch is pushed.
   interruptible: true
+  timeout: 2h
 
   variables:
     AUTOBUILD_JOB_NAME: $CI_JOB_NAME
@@ -145,6 +146,7 @@ others:
 .shared_template_build_only:
   extends: .shared_template
   stage: build_first
+  timeout: 45m
   artifacts:
     expire_in: 1 week
     paths: