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: Scope when expressions to Task only #4580

Merged
merged 1 commit into from
Feb 16, 2022

Commits on Feb 15, 2022

  1. [TEP-0059] Scope when expressions to Task only

    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`. In this change, we
    flip the flag to `true` to guard the `Task` only by default.
    
    [tep-0007]: https:/tektoncd/community/blob/main/teps/0007-conditions-beta.md
    [tep-0059]: https:/tektoncd/community/blob/main/teps/0059-skipping-strategies.md
    [policy]: https:/tektoncd/pipeline/blob/main/api_compatibility_policy.md
    jerop committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    361b9ae View commit details
    Browse the repository at this point in the history