From 11682fb0ab80c084b995b3de3f0597a1e5bd6b06 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 3 Aug 2022 09:49:36 +0200 Subject: [PATCH] gitlab-ci.yml: set timeout for build to 10h (MR 3337) A common issue is that building kernels takes longer than the default of 1h, and then MR authors need to adjust the timeout in their pmaports fork and run it again. By setting this option this is hopefully no longer the case. I set it to 10h because that's what we currently have set in the postmarketOS gitlab configuration and it would allow building MRs for service packs with multiple kernels. pmbootstrap has logic built in to detect stale builds - by default it will stop a build if there was no output for 15 minutes. So having a large timeout shouldn't be a problem. --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b473db11..4b564adaa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -145,6 +145,7 @@ mr-settings: expire_in: 1 week paths: - packages/ + timeout: 10 h build-x86_64: extends: .build