CNTRLPLANE-3352: force HTTPS for GHA plugin dependency clones - #8815
Conversation
The openshift-developer bundle's transitive dependencies (gopls-lsp, prodsec-skills) are now bundled in the ai-helpers marketplace, so the extra marketplace add commands are no longer needed. Additionally, the plugin install step attempts SSH clones for source repos which fails on GHA runners that lack SSH keys. Add GIT_CONFIG env vars to force HTTPS clones instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@bryan-cox: This pull request references CNTRLPLANE-3352 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
📝 WalkthroughWalkthroughIn Suggested Reviewers
Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error)
✅ Passed checks (10 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/area ai |
|
/lgtm |
|
/verified later @bryan-cox |
|
@bryan-cox: This PR has been marked to be verified later by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Pipeline controller notification No second-stage tests were triggered for this PR. This can happen when:
Use |
|
@bryan-cox: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
What this PR does / why we need it:
The
claude plugin install openshift-developer@ai-helpersstep in thereusable GHA workflow fails because plugin dependencies with external
source repos (
prodsec-skills,gopls-lsp) are cloned via SSH. TheGHA runners don't have SSH keys for GitHub, so the clone fails with
Host key verification failed.This adds
GIT_CONFIGenv vars to redirect allgit@github.com:URLsto
https://github.com/, which is the standard pattern for CIenvironments without SSH access.
Evidence of failure: https://github.com/openshift/hypershift/actions/runs/28036121179/job/82989822214
Which issue(s) this PR fixes:
Fixes CNTRLPLANE-3352
Special notes for your reviewer:
The external plugin dependencies (
gopls-lsp,prodsec-skills) werebundled into the ai-helpers marketplace in openshift-eng/ai-helpers#565,
so only the
ai-helpersmarketplace needs to be added. But the sourcerepos still need to be cloned during install, which is what this SSH→HTTPS
redirect fixes.
Checklist: