mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Prevent nightly CI pipelines from being auto-cancelled
libeigen/eigen!2390 Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
This commit is contained in:
@@ -8,9 +8,21 @@
|
|||||||
# with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
default:
|
default:
|
||||||
# automatically cancels a job when a new pipeline for the same branch is triggered
|
|
||||||
interruptible: true
|
interruptible: true
|
||||||
|
|
||||||
|
# For MR pipelines, auto-cancel running jobs when new commits are pushed.
|
||||||
|
# For scheduled (nightly) pipelines, never auto-cancel so all jobs run to
|
||||||
|
# completion and all failures are visible for debugging.
|
||||||
|
workflow:
|
||||||
|
auto_cancel:
|
||||||
|
on_new_commit: interruptible
|
||||||
|
on_job_failure: none
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||||
|
auto_cancel:
|
||||||
|
on_new_commit: none
|
||||||
|
- when: always
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- checkformat
|
- checkformat
|
||||||
- build
|
- build
|
||||||
|
|||||||
Reference in New Issue
Block a user