-
Notifications
You must be signed in to change notification settings - Fork 255
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
fix taskrun getting deleted of running pipelinerun #1736
fix taskrun getting deleted of running pipelinerun #1736
Conversation
c6c6489
to
6d8371a
Compare
7ef1cb6
to
00010bb
Compare
This ignores all the taskruns attached to pipelinerun which are still running. Behaviour with keep, keep-since, all by default ignores taskruns attached to running pipelinerun. Behaviour if user gives taskrun name to delete will reassure before deleting , if user also specify -f flag then it deletes with a warning msg for each taskrun. this also adds ignore-running-pipelinerun flag. This will help user if they want to delete a taskrun in any case Signed-off-by: Pradeep Kumar <[email protected]>
00010bb
to
71497ac
Compare
Thanks for the PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/meow
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vinamra28 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 |
fix taskrun getting deleted of running pipelinerun tektoncd#1736 Fix incomplete TaskRuns being deleted when --ignore-running=true tektoncd#1708 Signed-off-by: Pradeep Kumar <[email protected]>
fix taskrun getting deleted of running pipelinerun #1736 Fix incomplete TaskRuns being deleted when --ignore-running=true #1708 Signed-off-by: Pradeep Kumar <[email protected]>
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make check
make generated
See the contribution guide
for more details.
Release Notes
With this fix tkn ignores to delete all the taskrun(s) attached to pipelinerun which are
still running(without a completion time).
Behaviour with keep, keep-since, all by default ignores taskruns attached to running
pipelinerun.
Behaviour if user gives taskrun name to delete will reassure before deleting, if user
also specify -f flag then it deletes with a warning message for each taskrun.
This also adds ignore-running-pipelinerun flag will helps user to delete a taskrun
attached to a running pipelienrun.