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
This commit is contained in:
Jordan Petridis 2019-11-28 14:59:30 +02:00 committed by Jordan Petridis
parent be6d2b4cf2
commit ae90b9a042

View file

@ -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}