-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clustertask start command with --last flag
`tkn clustertask start` command with `--last` flag was checking for the label `tekton.dev/task=name` in the created taskruns since any taskrun created from clustertask had the labels `tekton.dev/clusterTask=name` and `tekton.dev/task=name`. Since pipelines 0.22 release the label `tekton.dev/task=name` has been removed from the taskruns which were created from clustertasks. See: tektoncd/pipeline#3764 Fixing this in pkg/task/tasklastrun.go and adding corresponding tests. Signed-off-by: vinamra28 <vinjain@redhat.com>
- Loading branch information
1 parent
554f68d
commit d5c3255
Showing
3 changed files
with
203 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters