インフラ系SEの技術メモ

雑なエンジニアが低信頼性のメモを書いています。参考程度にとどめてください。

(Tekton)git関連でエラーがでた

Error

謎エラー。

$ kubectl -n default logs application-pipeline-run-build-image-from-source-75xnj-po-87q96 -c step-git-source-git-source-ll7f9
{"level":"error","ts":1625825681.5981252,"caller":"git/git.go:54","msg":"Error running git [fetch --recurse-submodules=yes --depth=1 origin --update-head-ok --force master]: exit status 128\nremote: Not Found\nfatal: repository 'https://github.com/XXX/hoge/xxx -on-kubernetes/' not 

色々ググってみましたが、今回gitのパスを
account/rrepo ではなく account/repo/subrepo と深く指定しすぎたことが原因でした。Tektonのエラーハンドリングは情報がないので難しい..