Add `interruptible` to trigger jobs
What does this MR do and why?
This is the third step of #412473 (closed).
- Add auto_cancel_on_new_commit to ci_pipeline_me... (!137520 - merged)
- Add new syntax of workflow:auto_cancel:on_new_c... (!137892 - merged)
- <--HERE-->
- Add auto_cancel:on_new_commit to canceling redu... (!139358 - merged)
- 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.
-
I have evaluated the MR acceptance checklist for this MR.