-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
area/roadmapIssues that are part of the project (or organization) roadmap (usually an epic)Issues that are part of the project (or organization) roadmap (usually an epic)kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.Categorizes issue or PR as related to cleaning up code, process, or technical debt.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.
Milestone
Description
With the implementation of Conditions Beta, specifically WhenExpressions, we want to deprecate the Conditions CRD because:
- Efficiency:
Conditionshave to spin up newPodsfor every check, even simple ones.WhenExpressionsenable guardingTaskswith simple checks without spinning up newPods. Read more. - Simplicity:
Conditionsactually manifested themselves asTasks. In more complex use cases, we can useTasksthemselves to produceResultsthat can be used to specifyWhenExpressionsin subsequentTasks. Read more. - Flexibility: When
Conditionsevaluated to False and the associatedTaskwas skipped, the subsequentTaskswere skipped as well.Tasksguarded byWhenExpressionssupport passing in a field -continueAfterSkip- that enables ordering-dependentTasksto execute when it is set to True. Read more. - Status: It is difficult to distinguish
Conditionscausing aTaskto be skipped or theTaskfailing for other reasons. WhenWhenExpressionsevaluate to false, the associatedTaskis listed in aSkipped Taskssection of the status alongside the resolvedWhenExpressions. If they evaluate to True, the resolvedWhenExpressionsare listed alongside theTaskRunstatus. Read more.
Conditions CRD has been listed in the deprecations table since the release of v0.16.0.
This is a milestone for release of Pipelines v1beta2.
cc @bobcatfish
jlpettersson and Hokwang
Metadata
Metadata
Labels
area/roadmapIssues that are part of the project (or organization) roadmap (usually an epic)Issues that are part of the project (or organization) roadmap (usually an epic)kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.Categorizes issue or PR as related to cleaning up code, process, or technical debt.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.
Type
Projects
Status
Done