Make pipelines auto-interruptible by default

Fixes: KartKrew/Kart#1405
This commit is contained in:
Eidolon 2024-05-17 16:16:01 -05:00
parent f36f2fa07d
commit 01aa8cb0b4

View file

@ -2,6 +2,10 @@ include:
- '.gitlab/ci/templates/*.yml' - '.gitlab/ci/templates/*.yml'
- '.gitlab/ci/jobs/*.yml' - '.gitlab/ci/jobs/*.yml'
workflow:
auto_cancel:
on_new_commit: interruptible
variables: variables:
GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_CONCURRENT_ID/$CI_PROJECT_PATH GIT_CLONE_PATH: $CI_BUILDS_DIR/$CI_CONCURRENT_ID/$CI_PROJECT_PATH
GIT_DEPTH: 20 GIT_DEPTH: 20
@ -10,5 +14,6 @@ stages:
- build - build
default: default:
interruptible: true
artifacts: artifacts:
expire_in: 1 day expire_in: 1 day