chore(tekton): use hub resolver for git-clone stepaction#2758
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates several Tekton pipeline configurations to use the hub resolver instead of the http resolver for the git-clone stepaction, referencing version 0.2 from the tektoncd catalog. It also removes a local git-clone stepaction definition file and improves error handling in bootstrap.go by wrapping the error with %w instead of formatting it as a string with %s. There are no review comments, so I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2758 +/- ##
=======================================
Coverage 59.67% 59.67%
=======================================
Files 210 210
Lines 21007 21007
=======================================
Hits 12536 12536
Misses 7685 7685
Partials 786 786 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
9985225 to
308be5a
Compare
Replace the vendored git-clone StepAction with a reference to the upstream tektoncd catalog via the http resolver. The local copy was a verbatim duplicate of catalog version 0.2. Co-Authored-By: Claude <noreply@anthropic.com>
Preserves the error chain for errors.Is/errors.As callers. Co-Authored-By: Claude <noreply@anthropic.com>
308be5a to
f99e80e
Compare
📝 Description of the Change
Replace the vendored
git-cloneStepAction (.tekton/stepactions/git-clone.yaml) with a reference to the upstreamtektoncdcatalog via thehubresolver. The local copy was a verbatim duplicate of catalog version 0.2 — no reason to carry it.Also fixes error wrapping in
DetectPacInstallation(%s+.Error()→%w) to preserve the error chain forerrors.Is/errors.As.🔗 Linked GitHub Issue
Fixes #
🧪 Testing Strategy
🤖 AI Assistance
✅ Submitter Checklist
fix:,feat:) matches the "Type of Change" I selected above.make testandmake lintlocally to check for and fix any issues. For an efficient workflow, I have considered installing pre-commit and runningpre-commit installto automate these checks.