-
Notifications
You must be signed in to change notification settings - Fork 249
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
issue with keep and keep-since in taskrun and in pipelinerun #1990
Comments
This was referenced Apr 13, 2023
/assign |
@pratap0007 have you started working on this issue? if not shall I take this one? |
pratap0007
added a commit
to pratap0007/cli
that referenced
this issue
May 3, 2023
This patch fix the tkn pr delete command for --keep and --keep-since now both flags are working together and --keep-since has the higher priority fixes : tektoncd#1990 Signed-off-by: Shiv Verma <[email protected]>
pratap0007
added a commit
to pratap0007/cli
that referenced
this issue
May 3, 2023
This patch fix the tkn pr delete command for --keep and --keep-since now both flags are working together and --keep-since has the higher priority fixes : tektoncd#1990 Signed-off-by: Shiv Verma <[email protected]>
4 tasks
pratap0007
added a commit
to pratap0007/cli
that referenced
this issue
May 5, 2023
This patch fix the tkn pr delete command for --keep and --keep-since now both flags are working together and --keep-since has the higher priority and also does unit test refactor for pipelinerun delete command fixes : tektoncd#1990 Signed-off-by: Shiv Verma <[email protected]>
pratap0007
added a commit
to pratap0007/cli
that referenced
this issue
May 6, 2023
This patch fix the tkn pr delete command for --keep and --keep-since now both flags are working together and --keep-since has the higher priority and also does unit test refactor for pipelinerun delete command fixes : tektoncd#1990 Signed-off-by: Shiv Verma <[email protected]>
pratap0007
added a commit
to pratap0007/cli
that referenced
this issue
May 8, 2023
This patch fix the tkn pr delete command for --keep and --keep-since now both flags are working together and --keep-since has the higher priority and also does unit test refactor for pipelinerun delete command fixes : tektoncd#1990 Signed-off-by: Shiv Verma <[email protected]>
pratap0007
added a commit
to pratap0007/cli
that referenced
this issue
May 11, 2023
This patch fix the tkn pr delete command for --keep and --keep-since now both flags are working together and --keep-since has the higher priority and also does unit test refactor for pipelinerun delete command fixes : tektoncd#1990 Signed-off-by: Shiv Verma <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tkn version: 0.30.1
keep
andkeep-since
support is introduced in #1533though, when we supply
keep
andkeep-since
simultaneouslythe out come always equivalent to
keep
,keep-since
ignoredPipelinerun:
cli/pkg/cmd/pipelinerun/delete.go
Lines 329 to 338 in f4d092c
taskrun:
cli/pkg/cmd/taskrun/delete.go
Lines 379 to 388 in f4d092c
Expected behavior
tkn taskrun delete --keep=5 --keep-since=30
taskruns
will be ascount <= 5
andstart-time <= 30 minutes
pipelineruns
tooThe text was updated successfully, but these errors were encountered: