From 324f58171dbf47a8e5373980742d93a860cfefc2 Mon Sep 17 00:00:00 2001
From: "P.-A. Loizeau" <p.-a.loizeau@gsi.de>
Date: Fri, 8 Nov 2024 12:09:45 +0100
Subject: [PATCH] [CI] Add job timeout specific to build stage jobs, set to
 1h30 for now

---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 72857c99f7..02dcaa5461 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -206,6 +206,7 @@ FileLicenceCheck:
 # job template
 #
 .build_and_test: &build_and_test
+  timeout: 1h 30m # Possible since Gitlab 15.7, job-level timeout can exceed project timeout but not Runner timeout
   before_script:
     - if [ "$CI_MERGE_REQUEST_PROJECT_PATH" != "computing/cbmroot" ]; then
     -   if [ "$CI_PROJECT_PATH" != "computing/cbmroot" ]; then
-- 
GitLab