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

Doc: How to replay a task #897

Closed
cmoulliard opened this issue May 23, 2019 · 2 comments
Closed

Doc: How to replay a task #897

cmoulliard opened this issue May 23, 2019 · 2 comments
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/documentation Categorizes issue or PR as related to documentation.

Comments

@cmoulliard
Copy link

Doc feature - How to start/cancel/stop or replay a task/pipeline

The existing doc only explains how to cancel a TaskRun or PipelineRun but not how to remove a task or replay it.

So I propose to enhance the doc and to explain how to run/stop or cancel a taskRun/PipelineRun like also how to replay it

According to @hrishin, this is possible to replay a TaskRun using a generatedName but this feature is not documented at all (I think so)

@vdemeester
Copy link
Member

@cmouillard, thanks for the issue. The Run CRD (pipelinerun and taskrun) are not replayable, they are, in a sense, immutable. The only mutation you can do afterwards is cancellation.

This is a bit related to this issue : #685.

GenerateName is a kubernetes feature that allows you to apply your object (yaml, ..) with only a prefix for the name, letting the controller(s) generate a unique name with this prefix. This is something that should work with any CRDs in k8s. Documenting its usage in tekton pipeline is something we need to do indeed 😇

@bobcatfish bobcatfish added help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/documentation Categorizes issue or PR as related to documentation. labels May 30, 2019
@bobcatfish
Copy link
Collaborator

I'm closing this as a duplicate of #685 (also updated the title of #685 to make it a bit more clear that these are the same).

Re-open if I've missed something!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/documentation Categorizes issue or PR as related to documentation.
Projects
None yet
Development

No branches or pull requests

3 participants