commit-status-tracker: git-clone task compatibility
chlunde opened this issue · 2 comments
Feature request
commit-status-tracker
currently supports PipelineResource
Using git-clone
as a Task
is another way to set up a git resource, but this does not work with commit-status-tracker
at the moment.
https://github.com/tektoncd/catalog/blob/master/task/git-clone/0.2/README.md
Use case
Get build status in github when using git-clone
as a Task
One option would be to add two annotations, one for repo and another for commit id. There is a increased risk that this would not be the same repo the is used for the actual build.
I think this is a risk with the current implementation (you can create a git resource for any repo that you don't have access to, and create a failed build for that repo, if commit-status-tracker
has access to that repo).