-
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
support --keep and --keep-since together #1471
Comments
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
/remove-lifecycle stale |
/assign |
- `keep` and `keep-since` can be defined simultaneously in the pruning configuration. - the required functionality is already present in the tekton CLI - Refer: tektoncd/cli#1471 tektoncd/cli#1533 - Fixes tektoncd#974 Signed-off-by: Avinal Kumar <[email protected]>
- `keep` and `keep-since` can be defined simultaneously in the pruning configuration. - the required functionality is already present in the tekton CLI - Refer: tektoncd/cli#1471 tektoncd/cli#1533 - Fixes tektoncd#974 Signed-off-by: Avinal Kumar <[email protected]>
- `keep` and `keep-since` can be defined simultaneously in the pruning configuration. - the required functionality is already present in the tekton CLI - Refer: tektoncd/cli#1471 tektoncd/cli#1533 - Fixes tektoncd#974 Signed-off-by: Avinal Kumar <[email protected]>
- `keep` and `keep-since` can be defined simultaneously in the pruning configuration. - the required functionality is already present in the tekton CLI - add simultaneous annotation to the pruning configuration - Refer: tektoncd/cli#1471 tektoncd/cli#1533 - Fixes tektoncd#974 Signed-off-by: Avinal Kumar <[email protected]>
- `keep` and `keep-since` can be defined simultaneously in the pruning configuration. - the required functionality is already present in the tekton CLI - add simultaneous annotation to the pruning configuration - Refer: tektoncd/cli#1471 tektoncd/cli#1533 - Fixes tektoncd#974, tektoncd/website#419 Signed-off-by: Avinal Kumar <[email protected]>
- `keep` and `keep-since` can be defined simultaneously in the pruning configuration. - the required functionality is already present in the tekton CLI - add simultaneous annotation to the pruning configuration - Refer: tektoncd/cli#1471 tektoncd/cli#1533 - Fixes tektoncd#974, tektoncd/website#419 Signed-off-by: Avinal Kumar <[email protected]>
- `keep` and `keep-since` can be defined simultaneously in the pruning configuration. - the required functionality is already present in the tekton CLI - add simultaneous annotation to the pruning configuration - Refer: tektoncd/cli#1471 tektoncd/cli#1533 - Fixes #974, tektoncd/website#419 Signed-off-by: Avinal Kumar <[email protected]>
Feature request
tkn to support
--keep
and--keep-since
flags together while deleting apipelinerun
or ataskrun
.Use case
--keep=x
is used to delete alltaskrun/pipelinerun
except for thex
latest.where as
--keep-since=x
is used to delete thetaskrun/pipelinerun
olderx
minutes.There are scenarios when user would like to delete all the
taskrun/pipelinerun
olderx
minutes keepingy
max.e.g.
I have 1000 pipelineruns that are older than 5mins and 100 younger than it, I would like to delete all the pipelieruns which are older than 5mins but also want to keep maximum 10 pipelineruns
UI Example
tkn pr delete --keep=10 --keep-since=5
The text was updated successfully, but these errors were encountered: