Skip to content

Commit

Permalink
TEP-0059: Skipping Strategies
Browse files Browse the repository at this point in the history
In #388, we added the problem
statement for [TEP-0059: Skipping Strategies](https://github.com/tektoncd/community/blob/main/teps/0059-skip-guarded-task-only.md)
that addresses skipping strategies to give users the flexibility to skip
a single guarded `Task` only and unblock execution of its dependent
`Tasks`.

In this change, we add the proposal and discuss alternatives for solving
that problem.

Today, `WhenExpressions` are specified within `Tasks`, but they guard
the `Task` and its dependent `Tasks`.

To provide flexible skipping strategies, we propose changing the scope
of `WhenExpressions` from guarding a `Task` and its dependent `Tasks`
to guarding the `Task` only.

If a user wants to guard a `Task` and its dependent `Tasks`, they can:
1. cascade the `WhenExpressions` to the dependent `Tasks`
2. compose the `Task` and its dependent `Tasks` as a sub-`Pipeline`
that's guarded and executed together using `Pipelines` in `Pipelines`

```
  • Loading branch information
jerop authored and tekton-robot committed May 19, 2021
1 parent 72083cc commit 2ca4120
Show file tree
Hide file tree
Showing 3 changed files with 899 additions and 276 deletions.
275 changes: 0 additions & 275 deletions teps/0059-skip-guarded-task-only.md

This file was deleted.

Loading

0 comments on commit 2ca4120

Please sign in to comment.