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

Update the TEP-2 to newly proposed timeout implementation. #433

Merged
merged 1 commit into from
Jun 21, 2021

Conversation

ScrapCodes
Copy link
Contributor

@ScrapCodes ScrapCodes commented May 26, 2021

Summary

Tekton-owned controller will not forcibly update the .status of a Run directly. This will be the responsibility of Custom Task controller. For a PipelineRun with either a pipeline level timeout configured and/or the custom task level timeout configuration, timeout is updated to the run with same policy as it is for task runs. On timeout, the running run's status is updated with "RunCancelled".

More details on the issue tektoncd/pipeline#3962

@tekton-robot tekton-robot requested review from dibyom and sm43 May 26, 2021 12:16
@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label May 26, 2021
@ScrapCodes
Copy link
Contributor Author

/cc @imjasonh

@imjasonh
Copy link
Member

/lgtm

Thanks for adding this!

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label May 27, 2021
@ScrapCodes
Copy link
Contributor Author

@imjasonh Hey thanks! for the quick look.

@jerop
Copy link
Member

jerop commented Jun 7, 2021

/kind tep

@tekton-robot tekton-robot added the kind/tep Categorizes issue or PR as related to a TEP (or needs a TEP). label Jun 7, 2021
@afrittoli
Copy link
Member

/assign @afrittoli

@ScrapCodes
Copy link
Contributor Author

Hi Andrea (@afrittoli) , can you please take a look ! 😄

@afrittoli
Copy link
Member

/approve

@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: afrittoli

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 Jun 21, 2021
@tekton-robot tekton-robot merged commit 19b0c79 into tektoncd:main Jun 21, 2021
jerop added a commit to jerop/pipeline that referenced this pull request Jan 13, 2022
We already designed and implemented support for 
`Timeouts` and `TaskSpec` in `Custom Tasks`. 

`Timeouts`:
- TEP: tektoncd/community#433
- PR: tektoncd#3976

`TaskSpec`:
- TEP: https://github.com/tektoncd/community/blob/main/teps/0061-allow-custom-task-to-be-embedded-in-pipeline.md
- PR: tektoncd#3901

This item cleans up the todo items in `RunSpec`.
tekton-robot pushed a commit to tektoncd/pipeline that referenced this pull request Jan 13, 2022
We already designed and implemented support for 
`Timeouts` and `TaskSpec` in `Custom Tasks`. 

`Timeouts`:
- TEP: tektoncd/community#433
- PR: #3976

`TaskSpec`:
- TEP: https://github.com/tektoncd/community/blob/main/teps/0061-allow-custom-task-to-be-embedded-in-pipeline.md
- PR: #3901

This item cleans up the todo items in `RunSpec`.
khrm pushed a commit to openshift/tektoncd-pipeline that referenced this pull request May 19, 2022
We already designed and implemented support for 
`Timeouts` and `TaskSpec` in `Custom Tasks`. 

`Timeouts`:
- TEP: tektoncd/community#433
- PR: tektoncd#3976

`TaskSpec`:
- TEP: https://github.com/tektoncd/community/blob/main/teps/0061-allow-custom-task-to-be-embedded-in-pipeline.md
- PR: tektoncd#3901

This item cleans up the todo items in `RunSpec`.
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
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants