CI: Introduce 5 minute timeout

This commit is contained in:
Jonas Tobias Hopusch 2021-08-24 11:56:19 +02:00
parent c963c76d68
commit c9b68d138d
Failed to generate hash of commit

View file

@ -4,6 +4,7 @@ variables:
pages: pages:
image: archlinux:latest image: archlinux:latest
interruptible: true interruptible: true
timeout: 5m
rules: rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH'
when: always when: always
@ -21,6 +22,7 @@ pages:
basic-zola-test: basic-zola-test:
image: archlinux:latest image: archlinux:latest
interruptible: true interruptible: true
timeout: 5m
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: always when: always