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-0007: Conditions Beta Skipping - WhenSkipped #246

Merged
merged 1 commit into from
Nov 3, 2020

Commits on Nov 2, 2020

  1. TEP 0007: Conditions Beta Skipping

    Previously, we'd proposed to adding `continueAfterSkip` field which
    defaults to false and can be set to true to execute ordering-dependent
    tasks
    
    We want to update that proposal because:
    - using string aliases instead of booleans is preferable because,
    as described in the Kubernetes API policy, "Think twice about bool
    fields. Many ideas start as boolean but eventually trend towards a
    small set of mutually exclusive options. Plan for future expansions by
    describing the policy options explicitly as a string type alias"
    - that naming was misleading
    
    So, we propose using a `whenSkipped` field which defaults to `skipBranch`
    and users can set to `runBranch` to execute its branch that's made up of
    ordering-dependent tasks only
    
    Further discussed in tektoncd/pipeline#3176
    jerop committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    1822047 View commit details
    Browse the repository at this point in the history