From ae90b9a0424a535cae9b256e84a03353287c7220 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Thu, 28 Nov 2019 14:59:30 +0200 Subject: [PATCH] ci_template: set per-job timeouts for builds In case a build gets stuck for whatever reason, happens from time to time on windows, try to baild out quickly. For cerbero builds, set the timeout to 3h which according to the docs should also be able to override the project defined timeout Fix #19 https://docs.gitlab.com/ce/ci/yaml/README.html#timeout --- gitlab/ci_template.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gitlab/ci_template.yml b/gitlab/ci_template.yml index 536066c..9b698e4 100644 --- a/gitlab/ci_template.yml +++ b/gitlab/ci_template.yml @@ -94,6 +94,8 @@ gst indent: - "manifest" dependencies: - "manifest" + # Taking into account the slowest shared runner + time needed to upload the binaries to artifacts + timeout: '30min' variables: CCACHE_COMPILERCHECK: "content" CCACHE_COMPRESS: "true" @@ -337,6 +339,7 @@ valgrind ges: - "manifest" dependencies: - "manifest" + timeout: '3h' variables: CCACHE_COMPILERCHECK: "content" CCACHE_COMPRESS: "true" @@ -413,6 +416,7 @@ valgrind ges: - 'docker' - 'windows' - '1607' + timeout: '10min' variables: MESON_ARGS: > ${DEFAULT_MESON_ARGS} -- 2.7.4