-
Notifications
You must be signed in to change notification settings - Fork 1.8k
TEP-0059: Remove scope-when-expressions-to-task feature flag
#4715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The following is the coverage report on the affected files.
|
|
The following is the coverage report on the affected files.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
In [TEP-0007: Conditions Beta][tep-0007], we introduced `when` expressions to guard execution of `Tasks` in `Pipelines`. To align with `Conditions`, we set scope of `when` expressions to the guarded `Task` and its dependent `Tasks`. In [TEP-0059: Skipping Strategies][tep-0059], we proposed changing the scope of `when` expressions to the guarded `Task` only. This was implemented in #4085. We provided a feature flag, `scope-when-expressions-to-task`, to support migration. It defaulted to `false` for 9 months per our [Beta API compatibility policy][policy], meaning that we continued to guard the `Task` and its dependent `Tasks`. Then in #4580, we flipped the flag to `true` to guard the `Task` only by default. In this change, we remove the `scope-when-expressions-to-task` flag and complete the migration. Closes #4461. [tep-0007]: https://github.com/tektoncd/community/blob/main/teps/0007-conditions-beta.md [tep-0059]: https://github.com/tektoncd/community/blob/main/teps/0059-skipping-strategies.md [policy]: https://github.com/tektoncd/pipeline/blob/main/api_compatibility_policy.md
|
The following is the coverage report on the affected files.
|
|
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice cleanup!
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dibyom The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test pull-tekton-pipeline-integration-tests |
This feature flag has been completely removed in v0.35. Ref: tektoncd/pipeline#4715
This feature flag has been completely removed in v0.35. Ref: tektoncd/pipeline#4715
This feature flag has been completely removed in v0.35. Ref: tektoncd#4715
This feature flag has been completely removed in v0.35. Ref: tektoncd#4715
This feature flag has been completely removed in v0.35. Ref: tektoncd/pipeline#4715
This feature flag has been completely removed in v0.35. Ref: tektoncd/pipeline#4715
This feature flag has been completely removed in v0.35. Ref: #4715
Changes
In TEP-0007: Conditions Beta, we introduced
whenexpressions to guard execution ofTasksinPipelines. To align withConditions, we set scope ofwhenexpressions to the guardedTaskand its dependentTasks.In TEP-0059: Skipping Strategies, we proposed changing the scope of
whenexpressions to the guardedTaskonly. This was implemented in #4085. We provided a feature flag,scope-when-expressions-to-task, to support migration. It defaulted tofalsefor 9 months per our Beta API compatibility policy, meaning that we continued to guard theTaskand its dependentTasks. Then in #4580, we flipped the flag totrueto guard theTaskonly by default.In this change, we remove the
scope-when-expressions-to-taskflag and complete the migration.Closes #4461.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
Release Notes