You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLI as of v0.6.0 supports the ability to delete a Pipeline and its associated PipelineRuns as well as the ability to delete a Task and its TaskRuns. We should also add the ability to delete TaskRuns associated with a PipelineRun as part of deleting a PipelineRun.
This was originally thought of as part of #585, which refactored resource deletion for all resources.
The text was updated successfully, but these errors were encountered:
I believe this happens automatically when deleting a PipelineRun thanks to the tekton pipeline reconciler, at least from my initial testing:
λ kubectl get pipelineruns
NAME SUCCEEDED REASON STARTTIME COMPLETIONTIME
demo-pipeline-run-1 Unknown Running 7s
λ kubectl get taskruns
NAME SUCCEEDED REASON STARTTIME COMPLETIONTIME
demo-pipeline-run-1-build-skaffold-app-588ps Unknown Pending 1s
demo-pipeline-run-1-build-skaffold-web-z8fx8 Unknown Pending 1s
demo-pipeline-run-1-skaffold-unit-tests-997cv True Succeeded 9s 1s
λ tkn pr delete demo-pipeline-run-1
Are you sure you want to delete pipelinerun "demo-pipeline-run-1" (y/n): y
PipelineRun deleted: demo-pipeline-run-1
λ kubectl get pipelineruns
No resources found in default namespace.
λ kubectl get taskruns
No resources found in default namespace.
The CLI as of
v0.6.0
supports the ability to delete a Pipeline and its associated PipelineRuns as well as the ability to delete a Task and its TaskRuns. We should also add the ability to delete TaskRuns associated with a PipelineRun as part of deleting a PipelineRun.This was originally thought of as part of #585, which refactored resource deletion for all resources.
The text was updated successfully, but these errors were encountered: