Skip to content

Add `interruptible` to trigger jobs

Furkan Ayhan requested to merge 412473-3-trigger-jobs-interruptible into master

What does this MR do and why?


This is the third step of #412473 (closed).

  1. Add auto_cancel_on_new_commit to ci_pipeline_me... (!137520 - merged)
  2. Add new syntax of workflow:auto_cancel:on_new_c... (!137892 - merged)
  3. <--HERE-->
  4. Add auto_cancel:on_new_commit to canceling redu... (!139358 - merged)
  5. workflow:rules:auto_cancel (#436467 - closed)

When implementing new auto-cancel strategies, we realized that trigger jobs don't accept interruptible and they have no effect on pipeline auto-cancellation.

In this change, we are copying the interruptible keyword from builds to triggers. Also, we are adding test cases for pipeline auto-cancellation to show that trigger jobs do not affect auto-cancellation.

Our main goal is that when we implement the "interruptible" auto-cancel strategy, users can also set trigger jobs interruptible or not.

CI Schema and the Documentation for all the new syntax will be added in the last MR. (#412473 (closed))

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Furkan Ayhan

Merge request reports