Add auto_cancel_on_new_commit to ci_pipeline_metadata and remove a const
What does this MR do and why?
This is the first step of #412473 (closed).
- <--HERE-->
- Add new syntax of workflow:auto_cancel:on_new_c... (!137892 - merged)
- Add `interruptible` to trigger jobs (!138508 - merged)
- Add auto_cancel:on_new_commit to canceling redu... (!139358 - merged)
- workflow:rules:auto_cancel (#436467 - closed)
In this change, we are;
- removing the
NOT NULL
constraint of thename
column because now aci_pipeline_metadata
row can be created without a name. - adding a new column
auto_cancel_on_new_commit
to theci_pipeline_metadata
table.
In the next step, we'll accept workflow:auto_cancel:on_new_commit
from the CI config and use it in Ci::CancelPipelineService
.
You may see this POC: !133328 (closed).
workflow:
auto_cancel:
on_new_commit: conservative # (default), other options: "interruptible", "disabled"
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.
Edited by Furkan Ayhan