Skip to content
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

TEP-0059: Remove scope-when-expressions-to-task feature flag #4715

Merged
merged 1 commit into from
Mar 29, 2022

Commits on Mar 29, 2022

  1. TEP-0059: Remove scope-when-expressions-to-task feature flag

    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 tektoncd#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 tektoncd#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 tektoncd#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
    jerop committed Mar 29, 2022
    Configuration menu
    Copy the full SHA
    8acdfe4 View commit details
    Browse the repository at this point in the history