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: Skipping Strategies - Migration Plan #481

Merged
merged 1 commit into from
Aug 11, 2021

Conversation

jerop
Copy link
Member

@jerop jerop commented Jul 20, 2021

This change is a clarification and update to the migration and upgrade
plan for skipping strategies.

The implementable proposal is to change the scope of when expressions
to guard the Task. This is a backwards-incompatible change. To make the
transition smooth, we plan to:

  • provide a feature flag, scope-when-expressions-to-task, which:
    • will default to scope-when-expressions-to-task : "false" to guard
      a Task and its dependent Tasks
    • can be set to scope-when-expressions-to-task : "true" to guard a
      Task only
  • after 9 months, per the Tekton API compatibility policy,
    we'll flip the feature flag and default to scope-when-expressions-to-task : "true" [February 2022]
  • in the next release, we'll remove the feature flag and when expressions
    will be scoped to guard a Task only going forward [March 2022]
  • when we do v1 release
    (projected for early 2022), we will have when expressions guarding a
    Task only both in beta and v1

We also plan to over-communicate during the migration in Slack, email
and working group meetings.

/cc @tektoncd/core-maintainers
/kind tep

@tekton-robot tekton-robot added kind/tep Categorizes issue or PR as related to a TEP (or needs a TEP). size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 20, 2021
@bobcatfish
Copy link
Contributor

/assign

@bobcatfish
Copy link
Contributor

I assigned myself but didn't get a chance to review and now I'll be out for 2 weeks so taking my name off.

@bobcatfish bobcatfish removed their assignment Jul 23, 2021
@afrittoli
Copy link
Member

/assign @pritidesai
/assign @sbwsg
/assign @afrittoli

@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sbwsg

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 26, 2021
@ghost
Copy link

ghost commented Jul 26, 2021

tiny nit: suggest changing the last-updated field at the top of the TEP to reflect this edit.

This change is a clarification and update to the migration and upgrade
plan for skipping strategies.

The implementable proposal is to change the scope of `when` expressions
to guard the `Task`. This is a backwards-incompatible change. To make the
transition smooth, we plan to:
- provide a feature flag, `scope-when-expressions-to-task`, which:
  - will default to `scope-when-expressions-to-task` : "false" to guard
  a `Task` and its dependent `Tasks`
  - can be set to `scope-when-expressions-to-task` : "true" to guard a
  `Task` only
- after 9 months, per the [Tekton API compatibility policy](https://github.com/tektoncd/pipeline/blob/main/api_compatibility_policy.md#alpha-beta-and-ga),
  we'll flip the feature flag and default to `
  scope-when-expressions-to-task` : "true" [February 2022]
- in the next release, we'll remove the feature flag and `when` expressions
 will be scoped to guard a `Task` only going forward [March 2022]
- when we do [v1 release](tektoncd/pipeline#3548)
(projected for early 2022), we will have `when` expressions guarding a
`Task` only both in _beta_ and _v1_

We also plan to over-communicate during the migration in Slack, email
and working group meetings.
@pritidesai
Copy link
Member

thanks @jerop
/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 11, 2021
@tekton-robot tekton-robot merged commit fe11a91 into tektoncd:main Aug 11, 2021
@jerop jerop deleted the tep-0059-migration branch January 6, 2022 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/tep Categorizes issue or PR as related to a TEP (or needs a TEP). lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
Status: Implemented
Development

Successfully merging this pull request may close these issues.

5 participants