Skip to content

TEP-0114: Custom Tasks Beta - Retries#862

Merged
tekton-robot merged 1 commit intotektoncd:mainfrom
jerop:retries-custom-runs
Oct 21, 2022
Merged

TEP-0114: Custom Tasks Beta - Retries#862
tekton-robot merged 1 commit intotektoncd:mainfrom
jerop:retries-custom-runs

Conversation

@jerop
Copy link
Copy Markdown
Member

@jerop jerop commented Oct 20, 2022

In TEP-0121, we are redesigining Retries in TaskRuns and CustomRuns.

In this change, we propose excluding retries and retriesStatus in the initial release of CustomRuns.

We will figure out a way forward in TEP-0121, which could be reintroducing the fields implementing replacement fields.

This allows us to unblock release of Custom Tasks Beta and Tekton Pipelines V1.

/kind tep

cc @abayer @lbernick @XinruZhang

@tekton-robot tekton-robot added the kind/tep Categorizes issue or PR as related to a TEP (or needs a TEP). label Oct 20, 2022
@tekton-robot tekton-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 20, 2022
@jerop jerop force-pushed the retries-custom-runs branch 2 times, most recently from 09313b9 to 39df178 Compare October 20, 2022 18:41
@tekton-robot tekton-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 20, 2022
In [TEP-0121][tep-0121], we are redesigining `Retries` in `TaskRuns`
and `CustomRuns`.

In this change, we propose excluding `retries` and `retriesStatus`
in the initial release of `CustomRuns`.

We will figure out a way forward in [TEP-0121][tep-0121], which could
be reintroducing the fields implementing replacement fields.

This allows us to unblock release of Custom Tasks Beta and Tekton
Pipelines V1.

/kind tep

[tep-0121]: tektoncd#816
@jerop jerop force-pushed the retries-custom-runs branch from 39df178 to 10a46d4 Compare October 20, 2022 19:05
@abayer
Copy link
Copy Markdown
Contributor

abayer commented Oct 20, 2022

/approve
👍 from me.

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 20, 2022
@tekton-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abayer, lbernick

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@XinruZhang
Copy link
Copy Markdown
Member

Look good to me. Thanks for updating the TEP!

abayer added a commit to abayer/tektoncd-pipeline that referenced this pull request Oct 21, 2022
Will be squashed once tektoncd/community#862 is merged

Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
@lbernick
Copy link
Copy Markdown
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 21, 2022
@tekton-robot tekton-robot merged commit 900d06f into tektoncd:main Oct 21, 2022
@lbernick
Copy link
Copy Markdown
Member

@jerop @XinruZhang Thinking about this a bit more, migration from v1alpha1.Run to v1beta1.CustomRun is going to be really challenging if we remove v1alpha1.Run before resolving this problem. Users would have to introduce a custom retries field into their customRun spec, and then end up having to update again once/if we reintroduce retries into the spec. Maybe we should at least update the TEP to specify that we won't remove Runs or encourage people to migrate to CustomRuns until this is resolved?

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: UnAssigned

Development

Successfully merging this pull request may close these issues.

5 participants